body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: var(--branco);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(13,27,42,.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
}

.logo {
    display: block;
    height: 105px;
    width: auto;
    margin: 0 auto 2rem;
}

.erro {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .8rem;
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--escuro);
    margin-bottom: .35rem;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid var(--borda);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    color: var(--escuro);
    outline: none;
    transition: border-color .2s;
    margin-bottom: 1.1rem;
}

input:focus { border-color: var(--azul); }

button[type="submit"] {
    width: 100%;
    padding: .8rem;
    background: var(--azul);
    color: var(--branco);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}

button[type="submit"]:hover { opacity: .88; }

/* ── Links dentro do card de auth ──────────────────────────────────────────── */
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: .8rem;
}

.auth-links a { color: var(--azul); }

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

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .85rem;
    color: var(--cinza);
    border-top: 1px solid var(--borda);
    padding-top: 1.25rem;
}

.auth-footer a {
    color: var(--azul);
    font-weight: 600;
}

.ok {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .8rem;
    margin-bottom: 1.25rem;
}

/* ── Inputs de texto (cadastro) ────────────────────────────────────────────── */
input[type="text"] {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid var(--borda);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    color: var(--escuro);
    outline: none;
    transition: border-color .2s;
    margin-bottom: 1.1rem;
}
