/* ═══════════════════════════════════════════════════════════
   AUDITHOR — Telas de acesso (login e recuperação de senha)
   Painel de marca com os módulos do sistema + formulário amplo.
   Carregado depois do <style> de cada tela, por isso prevalece.
═══════════════════════════════════════════════════════════ */
body { min-height: 100vh; background: #F1F5F9; }
@supports (height: 100dvh) { body { min-height: 100dvh; } }

/* ── Painel de marca ───────────────────────────────────── */
.auth-brand {
    position: relative; overflow: hidden; width: 50%; flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 44px;
    padding: 56px clamp(40px, 5vw, 88px); color: #fff;
    background:
        radial-gradient(700px 420px at 100% 0%, rgba(58,111,212,.26), transparent 65%),
        radial-gradient(600px 380px at 0% 100%, rgba(58,111,212,.16), transparent 65%),
        linear-gradient(160deg, #1B2D4F 0%, #243B63 55%, #162440 100%);
}
.auth-brand::before {
    content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.05); bottom: -220px; right: -180px; pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand-top { display: flex; align-items: center; gap: 14px; }
.auth-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.auth-brand-top span { font-size: 26px; font-weight: 800; letter-spacing: .5px; }

.auth-headline { font-size: clamp(28px, 2.8vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -.6px; max-width: 560px; }
.auth-sub { margin-top: 14px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.7); max-width: 500px; }

.auth-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 600px; }
.auth-module {
    display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
}
.auth-module i {
    width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    background: rgba(255,255,255,.1); color: #fff;
}
.auth-module b { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.auth-module small { display: block; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.62); }

.auth-brand-foot { font-size: 12px; color: rgba(255,255,255,.4); }

/* ── Painel do formulário ──────────────────────────────── */
.form-panel { background: #F1F5F9; padding: 48px clamp(24px, 4vw, 64px); }
.form-card {
    max-width: 480px; background: #fff; border: 1px solid #E2E8F0; border-radius: 20px;
    padding: 48px 44px; box-shadow: 0 12px 44px -14px rgba(27,45,79,.2), 0 2px 6px rgba(27,45,79,.05);
}
.form-header { margin-bottom: 34px; }
.form-header h1 { font-size: 30px; letter-spacing: -.4px; margin-bottom: 8px; }
.form-header p { font-size: 15px; }
.field-label { font-size: 12.5px; margin-bottom: 8px; }
.field-group { margin-bottom: 22px; }
.input-wrap input { padding: 15px 46px; font-size: 15px; border-radius: 12px; }
.input-icon-left, .input-icon-right { font-size: 15px; }
.btn-login { padding: 16px; font-size: 15.5px; border-radius: 12px; }
.forgot-row { margin-bottom: 30px; }
.forgot-row a { font-size: 13.5px; }

/* ── Responsivo ────────────────────────────────────────── */
@media (max-width: 1280px) {
    .auth-brand { width: 48%; gap: 36px; }
    .auth-module { padding: 14px; gap: 12px; }
    .auth-module small { display: none; }
    .auth-module i { width: 36px; height: 36px; }
}
@media (max-width: 1000px) {
    .auth-modules { grid-template-columns: 1fr; }
    .auth-sub { font-size: 15px; }
}
@media (max-width: 860px) {
    body { flex-direction: column; }
    .auth-brand { width: 100%; padding: 16px 20px; flex-direction: row; align-items: center; gap: 0; }
    .auth-logo { width: 34px; height: 34px; }
    .auth-brand-top span { font-size: 19px; }
    .auth-brand-main, .auth-modules, .auth-brand-foot, .auth-brand::before { display: none; }
    .form-panel { padding: 24px 16px 32px; align-items: flex-start; }
    .form-card { padding: 30px 22px; border-radius: 16px; }
    .form-header h1 { font-size: 26px; }
}
