@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,700;1,400&display=swap');

/* O fundo épico igual ao Menu Principal */
body {
    margin: 0;
    padding: 0;
    font-family: 'Cormorant Garamond', serif;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('/img/ui/login_background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    user-select: none;
}

/* O alinhamento das caixas */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* A caixa principal (O "Cartão" de Login) */
.auth-box {
    background: rgba(20, 29, 38, 0.90);
    border: 2px solid #f1c40f;
    border-radius: 8px;
    padding: 40px;
    width: 350px;
    text-align: center;
    box-shadow: 0 0 30px rgba(241, 196, 15, 0.2);
}

/* O texto "WELCOME TO" ou "JOIN US ON" */
.auth-subtitle {
    font-family: 'Cinzel', serif;
    color: #bdc3c7;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
}

/* A Imagem do Logótipo */
.auth-logo {
    width: 90%;
    max-width: 250px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}

/* Estilo das Caixas de Texto (Inputs) */
input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #7f8c8d;
    background: #111;
    color: #ecf0f1;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #f1c40f;
    background: rgba(241, 196, 15, 0.1);
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.4);
}

/* O Botão Principal de Submissão */
.auth-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    color: #f1c40f;
    border: 2px solid #f1c40f;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #f1c40f;
    color: black;
    box-shadow: 0 0 20px #f1c40f;
}

/* O Botão Verde (Sucesso ao Registar) */
.success-btn {
    border-color: #2ecc71;
    color: #2ecc71;
}

.success-btn:hover {
    background: #2ecc71;
    color: black;
    box-shadow: 0 0 20px #2ecc71;
}

/* Mensagens de Erro e Sucesso */
.erro {
    color: #e74c3c;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px black;
}

.sucesso {
    color: #2ecc71;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

/* O Rodapé (Link para a outra página) */
.auth-footer {
    margin-top: 30px;
    border-top: 1px solid #34495e;
    padding-top: 20px;
}

.auth-footer a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: white;
}