/* Telas de acesso HotWeb (login, "Esqueci a senha", "Redefinir senha"): marca HotWeb, etapa 2. Mesmas classes de
   antes, visual novo: cartão translúcido central sobre o fundo azulado da marca. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(../fonts/inter/Inter-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(../fonts/inter/Inter-Medium.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(../fonts/inter/Inter-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(../fonts/inter/Inter-Bold.woff2) format('woff2'); }

:root {
    --hw-texto: #0F172A; --hw-texto-2: #475569; --hw-texto-3: #64748B; --hw-borda: #E2E8F0; --hw-borda-forte: #CBD5E1;
    --hw-azul: #2563EB; --hw-azul-escuro: #1D4ED8; --hw-azul-claro: #60A5FA;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--hw-texto);
    -webkit-font-smoothing: antialiased;
    background: radial-gradient(900px 520px at 85% -5%, rgba(96, 165, 250, .35), transparent 60%),
        radial-gradient(800px 480px at -5% 100%, rgba(191, 219, 254, .55), transparent 60%),
        linear-gradient(180deg, #F8FAFF 0%, #EEF4FF 100%);
    background-attachment: fixed;
}
#login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.login-image { display: none; }
.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 60px rgba(37, 99, 235, .12);
    padding: 36px 32px 20px;
}
.login-card-header { text-align: center; margin-bottom: 24px; }
.login-card-header img { height: 44px; width: auto; max-width: 100%; }
.login-card-header .display-md { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.login-card-header h5, .text-muted { margin: 10px 0 0; font-weight: 500; font-size: .95rem; color: var(--hw-texto-3); }
.text-secundary { color: var(--hw-texto-2); font-size: .9rem; line-height: 1.55; }
.login-card-form { display: flex; flex-direction: column; }
.input-group { position: relative; margin-bottom: 12px; }
.input-group input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font: inherit;
    font-size: .95rem;
    color: var(--hw-texto);
    background: #fff;
    border: 1px solid var(--hw-borda-forte);
    border-radius: 14px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.input-group input:focus { border-color: var(--hw-azul-claro); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.show-hide-pass {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--hw-texto-3); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.show-hide-pass:hover { background: #F1F5F9; color: var(--hw-texto); }
.show-hide-pass svg { width: 20px; height: 20px; }
.btn-group { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 20px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .95rem;
    text-decoration: none; cursor: pointer; border: 0;
}
.btn-primary { background: var(--hw-azul); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--hw-azul-escuro); }
.btn-primary.disabled, .btn-primary:disabled { opacity: .7; cursor: default; }
.btn-flat { background: transparent; color: var(--hw-azul); height: 40px; font-weight: 500; }
.btn-flat:hover { text-decoration: underline; }
.login-card-footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hw-borda); text-align: center; }
.login-card-footer .btn-flat { font-size: .82rem; color: var(--hw-texto-3); }
.login-erro, .message.danger { color: #B91C1C; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .9rem; }
.message.success { color: #1E40AF; background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .9rem; }
.cf-turnstile { margin-bottom: 12px; }
@media (max-width: 480px) { .login-card { padding: 28px 20px 16px; border-radius: 20px; } }
