* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--bg: #060816;
--bg-2: #0b1020;
--panel: rgba(14, 19, 36, 0.82);
--panel-soft: rgba(255, 255, 255, 0.04);
--stroke: rgba(255, 255, 255, 0.08);
--text: #f8fafc;
--muted: #94a3b8;
--primary: #3b82f6;
--primary-2: #2563eb;
--cyan: #22d3ee;
--success: #22c55e;
--danger: #ef4444;
--shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
--radius-xl: 28px;
--radius-lg: 20px;
--radius-md: 16px;
}

body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
color: var(--text);
background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.10), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.10), transparent 30%),
    linear-gradient(180deg, #03050f 0%, #060816 45%, #050713 100%);
overflow: hidden;
position: relative;
}

body::before {
content: "";
position: fixed;
inset: 0;
background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
background-size: 48px 48px;
mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
pointer-events: none;
opacity: 0.35;
}

.brand-top {
position: absolute;
top: 28px;
left: 36px;
display: flex;
align-items: center;
gap: 12px;
z-index: 3;
}

.brand-logo {
height: 46px;
width: auto;
max-width: 200px;
object-fit: contain;
display: block;
filter: brightness(1.05) drop-shadow(0 4px 12px rgba(37,99,235,0.35));
}

.brand-tagline {
font-size: 9.5px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
color: transparent;
background: linear-gradient(90deg, #60a5fa, #22d3ee);
-webkit-background-clip: text;
background-clip: text;
margin-top: 5px;
display: block;
opacity: 0.85;
}

.page {
min-height: 100vh;
display: grid;
grid-template-columns: 0.82fr 1.18fr;
align-items: center;
gap: 48px;
padding: 32px 42px;
position: relative;
z-index: 1;
}

.left {
display: flex;
justify-content: center;
align-items: center;
order: 1;
}

.right {
padding-top: 70px;
padding-left: 8px;
max-width: 860px;
order: 2;
}

.badge {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 16px;
border: 1px solid rgba(59, 130, 246, 0.24);
background: rgba(37, 99, 235, 0.10);
border-radius: 999px;
color: #cbd5e1;
font-size: 12px;
margin-bottom: 26px;
backdrop-filter: blur(12px);
font-weight: 600;
}

.badge .status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
animation: pulseDot 1.8s infinite;
flex-shrink: 0;
}

@keyframes pulseDot {
0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
}
70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
}
100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
}
}

.headline {
font-size: clamp(46px, 6vw, 82px);
font-weight: 900;
line-height: 0.95;
letter-spacing: -0.06em;
max-width: 760px;
}

.headline .accent {
background: linear-gradient(90deg, #60a5fa, #22d3ee);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.subtext {
margin-top: 24px;
max-width: 620px;
font-size: 17px;
line-height: 1.8;
color: #93a4bc;
}

.stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin-top: 34px;
max-width: 900px;
}

.stat-card {
position: relative;
padding: 22px 20px 20px;
border-radius: var(--radius-lg);
border: 1px solid rgba(255,255,255,0.07);
background: linear-gradient(145deg, #0e1630 0%, #0a1022 100%);
backdrop-filter: blur(16px);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
cursor: default;
}

/* Linha de cor no topo */
.stat-card::before {
content: "";
position: absolute;
top: 0; left: 24px; right: 24px;
height: 2px;
border-radius: 0 0 4px 4px;
transition: left 0.3s ease, right 0.3s ease;
}
.stat-card:hover::before { left: 0; right: 0; }

/* Glow ao hover */
.stat-card::after {
content: "";
position: absolute;
inset: 0;
border-radius: var(--radius-lg);
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}
.stat-card:hover::after { opacity: 1; }

.stat-card:hover { transform: translateY(-4px); }

/* Cores por card */
.stat-card:nth-child(1)::before { background: linear-gradient(90deg, transparent, #63b3ed, transparent); }
.stat-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, #68d391, transparent); }
.stat-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, #f6ad55, transparent); }
.stat-card:nth-child(4)::before { background: linear-gradient(90deg, transparent, #b794f6, transparent); }

.stat-card:nth-child(1)::after { background: radial-gradient(circle at 30% 30%, rgba(99,179,237,0.15) 0%, transparent 65%); }
.stat-card:nth-child(2)::after { background: radial-gradient(circle at 30% 30%, rgba(104,211,145,0.15) 0%, transparent 65%); }
.stat-card:nth-child(3)::after { background: radial-gradient(circle at 30% 30%, rgba(246,173,85,0.15) 0%, transparent 65%); }
.stat-card:nth-child(4)::after { background: radial-gradient(circle at 30% 30%, rgba(183,148,246,0.15) 0%, transparent 65%); }

.stat-card:nth-child(1):hover { box-shadow: 0 12px 36px rgba(99,179,237,0.18);  border-color: rgba(99,179,237,0.30); }
.stat-card:nth-child(2):hover { box-shadow: 0 12px 36px rgba(104,211,145,0.18); border-color: rgba(104,211,145,0.30); }
.stat-card:nth-child(3):hover { box-shadow: 0 12px 36px rgba(246,173,85,0.18);  border-color: rgba(246,173,85,0.30); }
.stat-card:nth-child(4):hover { box-shadow: 0 12px 36px rgba(183,148,246,0.18); border-color: rgba(183,148,246,0.30); }

/* Ícone */
.stat-icon {
width: 42px; height: 42px;
border-radius: 11px;
display: flex; align-items: center; justify-content: center;
margin-bottom: 16px;
position: relative; z-index: 1;
transition: transform 0.3s ease;
}
.stat-card:hover .stat-icon { transform: scale(1.1) rotate(-3deg); }

.stat-card:nth-child(1) .stat-icon { background: rgba(99,179,237,0.12);  border: 1px solid rgba(99,179,237,0.22); }
.stat-card:nth-child(2) .stat-icon { background: rgba(104,211,145,0.12); border: 1px solid rgba(104,211,145,0.22); }
.stat-card:nth-child(3) .stat-icon { background: rgba(246,173,85,0.12);  border: 1px solid rgba(246,173,85,0.22); }
.stat-card:nth-child(4) .stat-icon { background: rgba(183,148,246,0.12); border: 1px solid rgba(183,148,246,0.22); }

.stat-icon svg { width: 20px; height: 20px; }

/* Badge */
.stat-badge {
position: absolute;
top: 14px; right: 14px;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.5px;
padding: 3px 7px;
border-radius: 20px;
z-index: 1;
}
.stat-card:nth-child(1) .stat-badge { background: rgba(99,179,237,0.13);  color: #90cdf4; border: 1px solid rgba(99,179,237,0.2); }
.stat-card:nth-child(2) .stat-badge { background: rgba(104,211,145,0.13); color: #9ae6b4; border: 1px solid rgba(104,211,145,0.2); }
.stat-card:nth-child(3) .stat-badge { background: rgba(246,173,85,0.13);  color: #fbd38d; border: 1px solid rgba(246,173,85,0.2); }
.stat-card:nth-child(4) .stat-badge { background: rgba(183,148,246,0.13); color: #d6bcfa; border: 1px solid rgba(183,148,246,0.2); }

.stat-card strong {
display: block;
font-size: 14px;
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 6px;
position: relative; z-index: 1;
color: #f0f4ff;
}

.stat-card span {
font-size: 11.5px;
color: rgba(160,180,220,0.70);
position: relative; z-index: 1;
line-height: 1.5;
}

.dashboard-preview {
margin-top: 34px;
width: 100%;
max-width: 740px;
border-radius: 26px;
border: 1px solid rgba(255,255,255,0.08);
background: linear-gradient(180deg, rgba(17,24,39,0.76), rgba(8,12,26,0.88));
box-shadow: var(--shadow);
overflow: hidden;
backdrop-filter: blur(18px);
}

.preview-topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 18px;
border-bottom: 1px solid rgba(255,255,255,0.06);
background: rgba(255,255,255,0.02);
}

.preview-dots {
display: flex;
gap: 8px;
}

.preview-dots span {
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255,255,255,0.18);
}

.preview-title {
font-size: 13px;
color: #cbd5e1;
font-weight: 600;
}

.preview-content {
display: grid;
grid-template-columns: 220px 1fr;
min-height: 250px;
}

.preview-sidebar {
border-right: 1px solid rgba(255,255,255,0.06);
padding: 18px;
background: rgba(255,255,255,0.02);
}

.menu-item {
height: 42px;
border-radius: 14px;
background: rgba(255,255,255,0.04);
margin-bottom: 12px;
position: relative;
overflow: hidden;
}

.menu-item.active {
background: linear-gradient(90deg, rgba(59,130,246,0.18), rgba(34,211,238,0.10));
border: 1px solid rgba(59,130,246,0.18);
}

.preview-main {
padding: 18px;
display: grid;
gap: 16px;
grid-template-rows: auto auto 1fr;
}

.preview-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
}

.mini-box {
height: 72px;
border-radius: 18px;
background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
border: 1px solid rgba(255,255,255,0.05);
}

.chart-box {
border-radius: 22px;
border: 1px solid rgba(255,255,255,0.05);
background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
padding: 18px;
position: relative;
overflow: hidden;
}

.chart-lines {
position: absolute;
inset: 0;
background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
background-size: 100% 36px, 52px 100%;
opacity: 0.35;
}

.chart-wave {
position: absolute;
left: 18px;
right: 18px;
bottom: 26px;
height: 90px;
border-bottom: 3px solid rgba(34,211,238,0.9);
border-radius: 0 0 18px 18px;
clip-path: polygon(0% 82%, 12% 74%, 22% 78%, 32% 54%, 45% 60%, 56% 28%, 69% 40%, 82% 18%, 100% 0%, 100% 100%, 0% 100%);
background: linear-gradient(180deg, rgba(34,211,238,0.22), rgba(34,211,238,0.02));
}

.login-card {
width: 100%;
max-width: 470px;
padding: 34px;
border-radius: 30px;
border: 1px solid rgba(255,255,255,0.08);
background: linear-gradient(180deg, rgba(15, 20, 37, 0.92), rgba(7, 11, 24, 0.95));
backdrop-filter: blur(22px);
box-shadow: 0 35px 90px rgba(0,0,0,0.45);
position: relative;
overflow: hidden;
}

.login-card::before {
content: "";
position: absolute;
width: 220px;
height: 220px;
background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
top: -80px;
right: -50px;
pointer-events: none;
}

.login-card::after {
content: "";
position: absolute;
width: 180px;
height: 180px;
background: radial-gradient(circle, rgba(34,211,238,0.10), transparent 70%);
bottom: -80px;
left: -60px;
pointer-events: none;
}

.login-header {
position: relative;
z-index: 1;
margin-bottom: 26px;
}

.login-header .small {
font-size: 12px;
color: #7dd3fc;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
margin-bottom: 10px;
display: block;
}

.login-header h2 {
font-size: 38px;
line-height: 1;
letter-spacing: -0.05em;
margin-bottom: 12px;
font-weight: 900;
}

.login-header p {
color: #94a3b8;
font-size: 14px;
line-height: 1.7;
max-width: 360px;
}

.error-message {
position: relative;
z-index: 1;
display: flex;
align-items: center;
gap: 10px;
background: rgba(239, 68, 68, 0.12);
color: #fecaca;
padding: 14px 16px;
border-radius: 14px;
margin-bottom: 20px;
border: 1px solid rgba(239, 68, 68, 0.25);
font-size: 0.92rem;
animation: shake 0.5s ease-in-out;
}

@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-5px); }
75% { transform: translateX(5px); }
}

.form-group {
margin-bottom: 18px;
position: relative;
z-index: 1;
}

.form-group label {
display: block;
font-size: 12px;
font-weight: 700;
color: #cbd5e1;
margin-bottom: 9px;
letter-spacing: 0.08em;
text-transform: uppercase;
}

.input-wrap {
position: relative;
}

.input-wrap i.field-icon {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
opacity: 0.55;
font-size: 15px;
color: #cbd5e1;
}

.input-wrap input {
width: 100%;
height: 58px;
border-radius: 16px;
border: 1px solid rgba(255,255,255,0.08);
background: rgba(255,255,255,0.04);
color: #fff;
padding: 0 46px 0 44px;
outline: none;
font-size: 15px;
transition: 0.25s ease;
}

.input-wrap input::placeholder {
color: #64748b;
}

.input-wrap input:focus {
border-color: rgba(59,130,246,0.55);
box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
background: rgba(255,255,255,0.05);
}

.toggle-pass {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
color: #64748b;
font-size: 13px;
background: none;
border: none;
cursor: pointer;
width: 28px;
height: 28px;
border-radius: 8px;
transition: color 0.2s ease, background 0.2s ease;
}

.toggle-pass:hover {
color: #cbd5e1;
background: rgba(255,255,255,0.06);
}

.form-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 14px;
margin-top: 4px;
margin-bottom: 22px;
position: relative;
z-index: 1;
}

.remember {
display: inline-flex;
align-items: center;
gap: 10px;
color: #cbd5e1;
font-size: 13px;
cursor: pointer;
user-select: none;
}

.remember input {
position: absolute;
opacity: 0;
pointer-events: none;
}

.checkbox-custom {
width: 18px;
height: 18px;
border-radius: 6px;
border: 1px solid rgba(255,255,255,0.16);
background: rgba(255,255,255,0.03);
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
flex-shrink: 0;
}

.checkbox-custom i {
font-size: 10px;
color: #ffffff;
opacity: 0;
transform: scale(0.6);
transition: all 0.2s ease;
}

.remember input:checked + .checkbox-custom {
background: linear-gradient(135deg, #2563eb, #3b82f6);
border-color: rgba(96, 165, 250, 0.9);
box-shadow: 0 0 0 4px rgba(59,130,246,0.10);
}

.remember input:checked + .checkbox-custom i {
opacity: 1;
transform: scale(1);
}

.forgot {
color: #60a5fa;
text-decoration: none;
font-size: 13px;
font-weight: 600;
}

.forgot:hover {
color: #93c5fd;
}

.btn-login {
width: 100%;
height: 58px;
border: none;
border-radius: 16px;
color: white;
font-size: 15px;
font-weight: 800;
letter-spacing: 0.01em;
cursor: pointer;
background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
box-shadow: 0 18px 34px rgba(37, 99, 235, 0.30);
transition: 0.25s ease;
position: relative;
z-index: 1;
}

.btn-login:hover {
transform: translateY(-1px);
box-shadow: 0 22px 38px rgba(37, 99, 235, 0.40);
}

.btn-login:disabled {
opacity: 0.8;
cursor: not-allowed;
transform: none;
}

.security-list {
margin-top: 18px;
display: grid;
gap: 10px;
position: relative;
z-index: 1;
}

.security-item {
display: flex;
align-items: center;
gap: 10px;
min-height: 44px;
padding: 10px 14px;
border-radius: 14px;
border: 1px solid rgba(255,255,255,0.06);
background: rgba(255,255,255,0.03);
color: #94a3b8;
font-size: 12px;
}

.security-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--success);
box-shadow: 0 0 0 0 rgba(34,197,94,0.55);
flex-shrink: 0;
animation: pulseDot 1.8s infinite;
}

.login-footer {
margin-top: 20px;
font-size: 12px;
color: #64748b;
text-align: center;
position: relative;
z-index: 1;
}

/* ===== LOGIN OVERLAY ===== */
#loginOverlay {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
background: rgba(3, 5, 15, 0.92);
backdrop-filter: blur(18px);
opacity: 0;
pointer-events: none;
transition: opacity 0.4s ease;
}
#loginOverlay.active {
opacity: 1;
pointer-events: all;
}

.overlay-card {
position: relative;
width: 320px;
padding: 44px 36px 40px;
border-radius: 28px;
border: 1px solid rgba(59,130,246,0.20);
background: linear-gradient(160deg, #0d1428 0%, #080d1c 100%);
box-shadow: 0 0 80px rgba(37,99,235,0.15), 0 40px 80px rgba(0,0,0,0.5);
text-align: center;
overflow: hidden;
}

/* Partículas de fundo */
.overlay-card::before {
content: '';
position: absolute;
inset: 0;
background-image: radial-gradient(circle, rgba(59,130,246,0.12) 1px, transparent 1px);
background-size: 28px 28px;
animation: particlesDrift 6s linear infinite;
pointer-events: none;
}
@keyframes particlesDrift {
0%   { background-position: 0 0; }
100% { background-position: 28px 28px; }
}

/* Shield container */
.shield-wrap {
position: relative;
width: 100px;
height: 100px;
margin: 0 auto 28px;
}

/* Anel externo girando */
.shield-ring {
position: absolute;
inset: 0;
border-radius: 50%;
border: 2px solid transparent;
border-top-color: #3b82f6;
border-right-color: rgba(59,130,246,0.3);
animation: spinRing 1.2s linear infinite;
}
.shield-ring-2 {
position: absolute;
inset: 8px;
border-radius: 50%;
border: 1.5px solid transparent;
border-bottom-color: #22d3ee;
border-left-color: rgba(34,211,238,0.3);
animation: spinRing 1.8s linear infinite reverse;
}
@keyframes spinRing {
to { transform: rotate(360deg); }
}

/* Shield central */
.shield-icon {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
}
.shield-icon svg {
width: 48px;
height: 48px;
filter: drop-shadow(0 0 14px rgba(59,130,246,0.7));
animation: shieldPulse 1.6s ease-in-out infinite;
}
@keyframes shieldPulse {
0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 14px rgba(59,130,246,0.7)); }
50%       { transform: scale(1.08); filter: drop-shadow(0 0 22px rgba(34,211,238,0.9)); }
}

/* Linha de scan */
.scan-line {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 56px;
height: 2px;
background: linear-gradient(90deg, transparent, #22d3ee, transparent);
border-radius: 2px;
top: 20px;
animation: scanMove 1.4s ease-in-out infinite;
box-shadow: 0 0 10px rgba(34,211,238,0.8);
}
@keyframes scanMove {
0%   { top: 20px; opacity: 0; }
15%  { opacity: 1; }
85%  { opacity: 1; }
100% { top: 76px; opacity: 0; }
}

/* Título overlay */
.overlay-title {
font-size: 17px;
font-weight: 800;
color: #f0f4ff;
letter-spacing: -0.02em;
margin-bottom: 6px;
position: relative; z-index: 1;
}
.overlay-sub {
font-size: 12px;
color: #64748b;
margin-bottom: 28px;
position: relative; z-index: 1;
}

/* Steps */
.overlay-steps {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 28px;
position: relative; z-index: 1;
}
.step-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
border-radius: 12px;
border: 1px solid rgba(255,255,255,0.05);
background: rgba(255,255,255,0.02);
font-size: 12.5px;
color: #475569;
transition: all 0.4s ease;
}
.step-item.active {
border-color: rgba(59,130,246,0.30);
background: rgba(59,130,246,0.08);
color: #cbd5e1;
}
.step-item.done {
border-color: rgba(34,197,94,0.25);
background: rgba(34,197,94,0.06);
color: #86efac;
}
.step-dot {
width: 22px; height: 22px;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
font-size: 10px;
border: 1.5px solid rgba(255,255,255,0.08);
background: rgba(255,255,255,0.03);
transition: all 0.4s ease;
}
.step-item.active .step-dot {
border-color: #3b82f6;
background: rgba(59,130,246,0.15);
animation: dotPulse 0.8s ease infinite;
}
.step-item.done .step-dot {
border-color: #22c55e;
background: rgba(34,197,94,0.15);
}
@keyframes dotPulse {
0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.5); }
50%      { box-shadow: 0 0 0 5px rgba(59,130,246,0); }
}

/* Barra de progresso */
.progress-bar-wrap {
height: 4px;
border-radius: 4px;
background: rgba(255,255,255,0.06);
overflow: hidden;
position: relative; z-index: 1;
}
.progress-bar-fill {
height: 100%;
width: 0%;
border-radius: 4px;
background: linear-gradient(90deg, #2563eb, #22d3ee);
box-shadow: 0 0 10px rgba(34,211,238,0.5);
transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* Estado de erro no overlay */
#loginOverlay.error .shield-icon svg {
filter: drop-shadow(0 0 14px rgba(239,68,68,0.8));
animation: none;
}
#loginOverlay.error .shield-ring {
border-top-color: #ef4444;
border-right-color: rgba(239,68,68,0.3);
animation: none;
}
#loginOverlay.error .shield-ring-2 {
border-bottom-color: #f87171;
border-left-color: rgba(248,113,113,0.3);
animation: none;
}
#loginOverlay.error .scan-line { display: none; }

.overlay-error-msg {
display: none;
align-items: center;
gap: 10px;
padding: 12px 16px;
border-radius: 12px;
background: rgba(239,68,68,0.10);
border: 1px solid rgba(239,68,68,0.25);
color: #fca5a5;
font-size: 13px;
font-weight: 600;
margin-bottom: 16px;
position: relative; z-index: 1;
animation: shake 0.45s ease;
}
.overlay-error-msg.show { display: flex; }

@media (max-width: 1180px) {
body {
    overflow: auto;
}

.page {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 90px;
}

.left, .right {
    max-width: 100%;
    padding-left: 0;
    padding-top: 0;
}

.left {
    justify-content: flex-start;
}

.dashboard-preview {
    max-width: 100%;
}

.login-card {
    max-width: 100%;
}
}

@media (max-width: 720px) {
.page {
    padding: 86px 18px 22px;
}

.brand-top {
    top: 18px;
    left: 18px;
}

.headline {
    font-size: 42px;
}

.subtext {
    font-size: 15px;
}

.stats {
    grid-template-columns: 1fr;
}

.dashboard-preview {
    display: none;
}

.login-card {
    padding: 24px;
    border-radius: 24px;
}

.login-header h2 {
    font-size: 30px;
}

.form-row {
    flex-direction: column;
    align-items: flex-start;
}
}
