/* 4Duck — telas de entrar / criar conta (carregado por último, sobrepõe login.css) */
:root {
    --bg: #101630; --surface: rgba(255,255,255,0.06); --surface-raised: rgba(255,255,255,0.10); --line: rgba(255,255,255,0.12);
    --ink: #ffffff; --ink-muted: #a3aac4; --brand-red: #ff4e45; --red-deep: #d42a21; --red-text: #ff6a62;
    --primary-pill: #ffffff; --primary-pill-hover: #e4e7f2; --on-primary: #101630; --focus: #ffffff;
    --cor-fundo: var(--bg); --cor-fundo-secundario: var(--surface); --cor-texto: var(--ink); --cor-texto-secundario: var(--ink-muted); --cor-borda: var(--line);
    color-scheme: dark;
}
:root[data-theme="light"] {
    --bg: #f3f4f8; --surface: #ffffff; --surface-raised: #eceef5; --line: #dde1ec; --ink: #101630; --ink-muted: #4a5272; --red-text: #c8231b;
    --primary-pill: #101630; --primary-pill-hover: #1f2853; --on-primary: #ffffff; --focus: #101630; color-scheme: light;
}
html body, html body.tema-claro, html body.tema-escuro { font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif !important; background: var(--bg) !important; color: var(--ink) !important; font-weight: 300; }
.login-container, .cadastro-container { background: var(--bg) !important; }
html body .login-side, html body.tema-claro .login-side, html body.tema-escuro .login-side { background: transparent !important; }
@media (max-width: 899px) { html body, .login-container { background: var(--bg) !important; } }
@media (min-width: 900px) {
    html body .login-hero {
        background: var(--bg) !important; overflow: hidden; position: relative;
    }
    html body .login-hero::before {
        content: ""; position: absolute; width: 720px; height: 720px; left: -160px; bottom: -260px; right: auto; top: auto;
        background: radial-gradient(circle, rgba(255,78,69,0.55) 0%, rgba(212,42,33,0.25) 40%, transparent 70%) !important; filter: blur(10px);
    }
}
.hero-content { color: var(--ink) !important; gap: 24px !important; }
.hero-logo { width: 88px !important; height: 88px !important; border-radius: 24px !important; background: #fff !important; box-shadow: none !important; }
.hero-logo img, .brand-logo img { image-rendering: pixelated; height: auto; }
.hero-logo img { width: 60px; }
.hero-title .peak { font-weight: 500 !important; font-size: 40px !important; letter-spacing: -0.01em; color: var(--ink); }
.hero-title .sub { font-weight: 300 !important; font-size: 16px !important; color: var(--ink-muted) !important; }
.hero-desc { font-weight: 300 !important; font-size: 20px !important; line-height: 1.5; color: var(--ink) !important; max-width: 420px; }
.hero-pontos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-muted); font-size: 15px; }
.hero-pontos li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--brand-red); margin-right: 10px; vertical-align: middle; }
html body .login-card, html body.tema-claro .login-card, html body.tema-escuro .login-card, .cadastro-card {
    background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--line) !important;
    border-radius: 28px !important; box-shadow: none !important; padding: 32px !important;
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.brand-logo { width: 48px !important; height: 48px !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; }
.brand-logo img { width: 32px; }
.brand-title { font-weight: 500 !important; font-size: 20px !important; color: var(--ink) !important; }
.brand-sub { font-weight: 300 !important; color: var(--ink-muted) !important; font-size: 13px !important; }
label, .form-group label { color: var(--ink) !important; font-weight: 400 !important; font-size: 13px !important; }
html body .form-group input, html body.tema-claro .form-group input, html body.tema-escuro .form-group input, .modal input {
    background: var(--surface-raised) !important; color: var(--ink) !important; border: 1px solid var(--line) !important;
    border-radius: 16px !important; font-family: inherit !important; font-weight: 300 !important;
}
.form-group input:focus { border-color: var(--focus) !important; box-shadow: 0 0 0 3px rgba(255,255,255,0.12) !important; outline: none !important; }
.input-icon, .toggle-senha { color: var(--ink-muted) !important; background: transparent !important; border: 0 !important; }
.btn-login, .btn-cadastro, button[type="submit"]:not(.toggle-senha) {
    background: var(--primary-pill) !important; color: var(--on-primary) !important; border: 0 !important; border-radius: 999px !important;
    min-height: 48px; font-weight: 500 !important; font-family: inherit !important; box-shadow: none !important;
}
.btn-login:hover, .btn-cadastro:hover { background: var(--primary-pill-hover) !important; transform: none !important; }
a, .link-esqueci, .link-auth { color: var(--red-text) !important; font-weight: 500 !important; }
.check, .row-opcoes { color: var(--ink-muted) !important; }
input[type="checkbox"] { accent-color: var(--brand-red); }
.alert-error, .alert-erro { background: rgba(255,78,69,0.16) !important; color: var(--red-text) !important; border: 0 !important; border-radius: 16px !important; }
.alert-success, .alert-sucesso { background: rgba(61,220,132,0.14) !important; color: #3ddc84 !important; border: 0 !important; border-radius: 16px !important; }
:root[data-theme="light"] .alert-success { color: #137a3f !important; }
.modal-conteudo { background: #1c2240 !important; color: var(--ink) !important; border: 1px solid var(--line); border-radius: 28px !important; }
:root[data-theme="light"] .modal-conteudo { background: #fff !important; }
.btn-primario { background: var(--primary-pill) !important; color: var(--on-primary) !important; border-radius: 999px !important; border: 0 !important; }
.btn-secundario { background: var(--surface-raised) !important; color: var(--ink) !important; border-radius: 999px !important; border: 1px solid var(--line) !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.login-side { padding: 16px; } .hero-content { padding: 48px !important; }
