/* ============================================================
   Rodentia — login-light.css
   Tema claro da tela de login, combinando com
   static/images/logo.png (fundo branco, texto cinza-escuro,
   azul suave de destaque). Aplicado só via body.theme-login-light
   — não afeta o tema escuro usado pelas demais páginas.
   ============================================================ */

body.theme-login-light {
    --bg:        #f5f7fa;
    --card-bg:   #ffffff;
    --card-bd:   #e4e7ec;
    --text:      #262626;
    --muted:     #7a7f87;
    --accent:    #06AED4;

    --fail:      #dc2626;
    --fail-bg:   #fef2f2;
    --track:     #f3f4f6;

    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

body.theme-login-light .login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

body.theme-login-light .login-box {
    width: 100%;
    max-width: 400px;
}

body.theme-login-light .login-logo {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
    margin: 0 auto 28px;
}

body.theme-login-light .card {
    background: var(--card-bg);
    border: 1px solid var(--card-bd);
    border-radius: 14px;
    padding: 32px 30px;
    box-shadow: 0 10px 30px rgba(20, 30, 50, 0.08);
    margin-bottom: 0;
}

body.theme-login-light h2 {
    color: var(--text);
    font-family: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-bottom: none;
    padding-bottom: 0;
    margin: 0 0 22px;
    font-size: 1.4em;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.01em;
}

body.theme-login-light .field { margin-bottom: 16px; }

body.theme-login-light .field span.label {
    display: block;
    color: var(--muted);
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

body.theme-login-light input[type=text],
body.theme-login-light input[type=password] {
    width: 100%;
    background: #fbfcfe;
    border: 1px solid var(--card-bd);
    color: var(--text);
    border-radius: 8px;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 0.95rem;
}

body.theme-login-light input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 174, 212, 0.18);
}

body.theme-login-light button[type=submit] {
    width: 100%;
    margin-top: 6px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: filter .15s ease;
}

body.theme-login-light button[type=submit]:hover:not(:disabled) {
    filter: brightness(1.07);
}

body.theme-login-light button[type=submit]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.theme-login-light .form-error {
    color: var(--fail);
    font-size: 0.88em;
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
    min-height: 1.2em;
}

body.theme-login-light .form-success {
    color: #15803d;
    font-size: 0.88em;
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
    min-height: 1.2em;
}

body.theme-login-light .form-links {
    text-align: right;
    margin: -8px 0 16px;
}

body.theme-login-light .forgot-link,
body.theme-login-light .back-link {
    color: var(--accent);
    font-size: 0.85em;
    text-decoration: none;
}

body.theme-login-light .forgot-link:hover,
body.theme-login-light .back-link:hover {
    text-decoration: underline;
}

body.theme-login-light .back-link {
    display: block;
    text-align: center;
    margin-top: 16px;
}
