/* ============================================================
   AUTENTICAÇÃO — login, registro, recuperação, acesso pendente
   Depende de base.css.
   ============================================================ */

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 20px;
    background:
        radial-gradient(circle at 12% 8%, rgba(83, 162, 146, 0.28), transparent 45%),
        radial-gradient(circle at 88% 92%, rgba(203, 165, 144, 0.2), transparent 42%),
        linear-gradient(165deg, var(--verde-profundo) 0%, var(--verde-noite) 100%);
}

.auth-container {
    width: 100%;
    max-width: 452px;
}

.auth-box {
    position: relative;
    padding: 2.4rem 2rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 30px 70px rgba(11, 33, 28, 0.32);
    overflow: hidden;
}

/* Eco do trilho de pilares: os 7 dias do protocolo na borda do card */
.auth-box::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        #205B4F 0 14.28%,
        #2A6B5C 14.28% 28.57%,
        #35796A 28.57% 42.85%,
        #418878 42.85% 57.14%,
        #4D9787 57.14% 71.42%,
        #53A292 71.42% 85.71%,
        #CBA590 85.71% 100%
    );
}

.auth-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.auth-logo {
    width: 68px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

.auth-header h1 {
    font-size: 1.55rem;
}

.auth-header p {
    margin-top: 0.4rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-form .btn-primary {
    width: 100%;
    margin-top: 0.3rem;
    padding: 1rem;
    font-size: 1rem;
}

.auth-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.6rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    text-align: center;
}

.auth-links a {
    color: var(--verde-profundo);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Assinatura do protocolo abaixo do card */
.auth-container::after {
    content: 'Protocolo NSQ-7 · Dra. Márcia Haag e Dra. Letícia Proença';
    display: block;
    margin-top: 1.35rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
}

@media (max-width: 600px) {
    .auth-box {
        padding: 2rem 1.4rem 1.6rem;
    }

    .auth-header h1 {
        font-size: 1.35rem;
    }
}
