/* =====================================================
   AUTH.CSS — Login e recuperação de senha
   ===================================================== */

/* Fundo em degradê azul com brilho (igual à imagem) */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

}



/* Card de login */
.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--sombra-card);
    width: 100%;
    max-width: 400px;
    padding: 40px 32px;
    animation: authSlideUp 0.5s ease;
    position: relative;
    z-index: 1;
}

@keyframes authSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.login-logo {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--cor-primaria);
}

.login-subtitle {
    font-size: 15px;
    margin-top: 4px;
    margin-bottom: 28px;
    font-family: sans-serif;
    font-weight: 600;
    color: #535353;
}

/* Alertas */
.alert-error,
.alert-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.4;
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--cor-erro);
}
.alert-success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid var(--cor-sucesso);
}

/* Formulário */
.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--cor-borda);
    border-radius: 8px;
    font-size: 15px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--cor-primaria);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Campo de senha com botão de visibilidade */
.password-wrapper { position: relative; }
.password-wrapper .form-input { padding-right: 48px; }

.btn-ver-senha {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.btn-ver-senha:hover {
    color: var(--cor-primaria);
    background: #f1f5f9;
}

/* Botão principal */
.btn-primary {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.3);
    transition: transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.4);
}
.btn-primary:active { transform: translateY(0); }

/* Link "Esqueci minha senha" */
.link-esqueci {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--cor-primaria);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.link-esqueci:hover { text-decoration: underline; }

/* ===== RESPONSIVIDADE (celulares pequenos) ===== */
@media (max-width: 480px) {
    .auth-page { padding: 16px; }
    .login-card { padding: 32px 20px; border-radius: 14px; }
    .login-logo { font-size: 28px; }
}

@media (max-width: 360px) {
    .login-card { padding: 28px 16px; }
    .form-input { font-size: 14px; }
}


/* =====================================================
   AUTH.CSS — Elementos específicos das páginas de senha
   (Esqueci / Redefinir)
   ===================================================== */

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}
.auth-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}
.auth-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--cor-texto);
}
.auth-logo-text span { color: var(--cor-primaria); }

.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--cor-texto);
    text-align: center;
    margin-bottom: 8px;
}
.auth-subtitle {
    text-align: center;
    color: var(--cor-texto-secundario);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px;
    margin-top: 20px;
    font-size: 12px;
    color: #1e40af;
    line-height: 1.5;
}
.info-box strong { color: #1e40af; }

.link-voltar {
    text-align: center;
    margin-top: 24px;
}
.link-voltar a {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.link-voltar a:hover { text-decoration: underline; }

/* Campo "Email atual" na redefinição */
.email-info-box {
    background: var(--cor-fundo);
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #374151;
    margin-bottom: 24px;
    font-weight: 600;
}
.email-info-box strong { color: var(--cor-primaria); }

/* Caixa de requisitos de senha */
.requisitos-box {
    background: #f9fafb;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    padding: 12px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--cor-texto-secundario);
    line-height: 1.5;
}
.requisitos-box strong {
    color: #374151;
    display: block;
    margin-bottom: 4px;
}