:root {
    --bg: #f1f5f9;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --success: #059669;
    --success-light: #d1fae5;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --warning: #d97706;
    --warning-light: #fef3c7;
    --info: #0891b2;
    --info-light: #cffafe;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-sm: 12px;
    --transition: all .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: none; }
:focus-visible { outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }

/* App Shell */
.app-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100dvh; }

/* Sidebar */
.sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.4px;
    padding-bottom: 8px;
}
.brand:hover { text-decoration: none; opacity: .9; }
.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.nav { display: grid; gap: 4px; }
.nav a {
    color: #94a3b8;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}
.nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
    transition: var(--transition);
}
.nav a:hover { color: #e2e8f0; background: rgba(255,255,255,.08); text-decoration: none; transform: translateX(2px); }
.nav a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(37,99,235,.25) 0%, rgba(124,58,237,.15) 100%);
    box-shadow: 0 4px 12px rgba(37,99,235,.2);
}
.nav a.active::before { height: 20px; }
.nav a .notif-badge { margin-left: auto; }
.logout-form { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }

/* Main */
.main { padding: 24px 32px 32px; min-width: 0; max-width: 1440px; margin: 0 auto; width: 100%; }

/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 16px;
    z-index: 50;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
    font-size: 26px; line-height: 1.25; margin-bottom: 0;
    font-weight: 800; letter-spacing: -0.6px;
    background: linear-gradient(135deg, var(--text) 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }

.user-pill {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 5px 14px 5px 5px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.user-pill:hover { box-shadow: var(--shadow-lg); }
.user-pill img, .user-avatar-fallback {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

/* Panels & Cards */
.panel, .stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.panel {
    padding: 24px;
    margin-bottom: 20px;
}
.panel:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.panel-head, .ticket-title, .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.panel-head h2 { margin: 0; }
.narrow { max-width: 860px; margin: 0 auto; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, #7c3aed 100%);
    opacity: 0;
    transition: var(--transition);
}
.stat:hover::before { opacity: 1; }
.stat:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.stat::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(37,99,235,.08), transparent 70%);
    pointer-events: none;
}
.stat span { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }
.stat strong { display: block; font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -1.5px; margin-top: 4px; }
.stat strong small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 3px; text-transform: lowercase; letter-spacing: 0; }
.stat.success strong { color: var(--success); }
.stat.danger strong { color: var(--danger); }
.stat.warning strong { color: var(--warning); }
.stat.info strong { color: var(--info); }
.stat-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 4px;
}
.stat-icon.blue { background: var(--primary-light); color: var(--primary); }
.stat-icon.red { background: var(--danger-light); color: var(--danger); }
.stat-icon.amber { background: var(--warning-light); color: var(--warning); }
.stat-icon.green { background: var(--success-light); color: var(--success); }
.stat-icon.cyan { background: var(--info-light); color: var(--info); }
.stat-icon.gray { background: #f3f4f6; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: middle; }
tbody tr { transition: var(--transition); }
tbody tr:hover { background: #f8fafc; }
tbody tr:nth-child(even) { background: #fafbfc; }
tbody tr:nth-child(even):hover { background: #f1f5f9; }
th {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: #f8fafc;
    border-bottom: 2px solid var(--line);
    position: sticky;
    top: 0;
}
td { border-bottom: 1px solid var(--line); font-size: 14px; }
tbody tr:last-child td { border-bottom: none; }

small, .muted, .hint { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 48px 24px; font-size: 15px; }
.empty::before {
    content: '📭';
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
    opacity: .5;
}

/* Chips & Badges */
.chip {
    --chip: #6b7280;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--chip);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--line);
}

/* Buttons */
.button {
    border: 0;
    border-radius: var(--radius-sm);
    min-height: 40px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.button:disabled, .button[aria-busy="true"] { opacity: .6; cursor: wait; }
.button.primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(37,99,235,.2); }
.button.primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.25); }
.button.secondary { background: var(--primary-light); color: var(--primary); }
.button.secondary:hover { background: #bfdbfe; }
.button.ghost { background: transparent; color: inherit; border: 1px solid var(--line); }
.main .button.ghost { border-color: var(--line); color: var(--text); }
.button.ghost:hover { background: #f9fafb; }
.button.small { min-height: 32px; padding: 6px 12px; font-size: 13px; }
.button.danger { background: var(--danger-light); color: var(--danger); }
.button.danger:hover { background: #fecaca; }

/* Forms */
.form { display: grid; gap: 16px; }
.grid-form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: #374151; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    min-height: 42px;
    font: inherit;
    font-size: 14px;
    background: #fff;
    color: var(--text);
    transition: var(--transition);
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    outline: none;
}
textarea { resize: vertical; min-height: 80px; }

/* Filters */
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto; gap: 12px; align-items: end; margin-bottom: 20px; }
.compact-search { grid-template-columns: minmax(240px, 1fr) auto auto; }
.bulk-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding: 14px;
    background: #f8f9fc;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* Alerts / Toasts */
.alert {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn .3s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.alert.success { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }
.alert.error { background: var(--danger-light); color: #991b1b; border: 1px solid #fecaca; }
.alert.warning { background: var(--warning-light); color: #92400e; border: 1px solid #fde68a; }
.alert.info { background: var(--info-light); color: #155e75; border: 1px solid #a5f3fc; }

/* Login */
.login-page { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 50%, #f5f3ff 100%); }
.login-panel { width: min(100%, 420px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.login-brand { color: var(--text); margin-bottom: 28px; }

/* Layout grids */
.detail-grid, .kb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.meta-grid, .data-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
dt { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
dd { margin: 4px 0 0; font-weight: 500; }

/* Timeline & Comments */
.timeline { display: grid; gap: 12px; margin: 16px 0; }
.comment { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: #fafafa; transition: var(--transition); }
.comment:hover { background: #f3f4f6; }
.comment.internal { border-color: #f59e0b; background: #fffbeb; }
.comment.internal:hover { background: #fef3c7; }
.comment time { color: var(--muted); margin-left: 8px; font-size: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.check input { width: auto; min-height: auto; }

/* Articles */
.article-list { display: grid; gap: 16px; }
.article { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.article:last-child { border-bottom: none; padding-bottom: 0; }
.edit-box { margin-top: 12px; }

/* Inline edit */
.inline-edit {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr)) auto;
    gap: 8px;
    align-items: center;
}
.inline-action {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

/* Master data inline rows (flex-wrap agar tidak terpotong di card sempit) */
.master-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}
.master-row input,
.master-row select,
.master-row textarea {
    flex: 1 1 140px;
    min-width: 0;
}
.master-row input[style*="width"] {
    flex: 0 0 auto;
}
.master-row .button {
    flex: 0 0 auto;
}
.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px 18px;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 20px 0;
}

/* Notification badge */
.notif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(220,38,38,.3);
}

/* Charts */
.charts-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 10px;
}
.chart-wrap {
    min-height: 280px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Menu toggle (mobile) */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 20px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.menu-toggle:hover { background: rgba(255,255,255,.15); }

/* Responsive */
@media (max-width: 1024px) {
    .inline-edit { grid-template-columns: repeat(3, minmax(140px, 1fr)) auto; }
}
@media (max-width: 900px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar { position: static; padding: 14px 16px; height: auto; }
    .main { padding: 18px 20px; }
    .stats-grid, .detail-grid, .kb-grid, .meta-grid, .data-columns, .grid-form, .filters, .inline-edit, .compact-search, .permission-grid { grid-template-columns: 1fr; }
    .topbar, .panel-head, .ticket-title { align-items: flex-start; flex-direction: column; gap: 10px; }
    .charts-row { grid-template-columns: 1fr; }
    .menu-toggle { display: inline-block; }
    .nav { display: none; flex-direction: column; margin-top: 10px; }
    .nav.open { display: flex; }
    .sidebar .brand { display: flex; align-items: center; justify-content: space-between; }
    .logout-form { margin-top: 8px; }
    .topbar .compact-search { display: none; }
    .sidebar .compact-search { display: flex; margin: 10px 0; }
    .sidebar .compact-search input { background: #1e293b; border-color: #334155; color: #fff; }
    h1 { font-size: 22px; }
}
@media (max-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat strong { font-size: 26px; }
    .panel { padding: 16px; }
}

/* ===== Login Modern Corporate ===== */
.login-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    background-size: 200% 200%;
    animation: loginGradient 15s ease infinite alternate;
}
@keyframes loginGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.login-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.12;
}
.login-bg-shape.shape-1 {
    width: 400px; height: 400px;
    background: #2563eb;
    top: -100px; right: -100px;
}
.login-bg-shape.shape-2 {
    width: 300px; height: 300px;
    background: #7c3aed;
    bottom: -80px; left: -80px;
}
.login-bg-shape.shape-3 {
    width: 250px; height: 250px;
    background: #0891b2;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
}
.login-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 860px);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
    animation: loginCardIn 0.6s ease-out;
}
@keyframes loginCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.login-brand-side {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    color: #fff;
    text-align: center;
}
.login-brand-content {
    max-width: 320px;
}
.login-logo-large {
    width: 72px; height: 72px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.login-logo-large svg { display: block; width: 48px; height: 48px; }
.login-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
    letter-spacing: -0.5px;
}
.login-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.login-desc {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0 0 28px;
    line-height: 1.6;
}
.login-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.login-features span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    color: #e2e8f0;
}
.login-form-side {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-form-header {
    margin-bottom: 28px;
}
.login-form-header h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #111827;
}
.login-form-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}
.login-form { display: grid; gap: 16px; }
.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.login-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.login-field input {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 44px;
    transition: all .2s ease;
}
.login-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    background: #fff;
    outline: none;
}
.login-btn {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
    margin-top: 4px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}
.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37,99,235,.35);
}
.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #e5e7eb;
}
.login-footer a {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.login-footer a:hover { text-decoration: underline; }
.login-footer .hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #9ca3af;
}
@media (max-width: 768px) {
    .login-card { grid-template-columns: 1fr; width: min(100%, 420px); }
    .login-brand-side { padding: 32px 24px; display: none; }
    .login-form-side { padding: 32px 24px; }
}

/* Fade in animation for panels & stats */
.panel, .stat {
    animation: fadeInUp 0.45s ease-out backwards;
}
.stats-grid .stat:nth-child(1) { animation-delay: 0.04s; }
.stats-grid .stat:nth-child(2) { animation-delay: 0.08s; }
.stats-grid .stat:nth-child(3) { animation-delay: 0.12s; }
.stats-grid .stat:nth-child(4) { animation-delay: 0.16s; }
.stats-grid .stat:nth-child(5) { animation-delay: 0.20s; }
.stats-grid .stat:nth-child(6) { animation-delay: 0.24s; }
.stats-grid .stat:nth-child(7) { animation-delay: 0.28s; }
.stats-grid .stat:nth-child(8) { animation-delay: 0.32s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth page transitions */
.main > * {
    animation: fadeInUp 0.35s ease-out backwards;
}
.main > section:nth-child(1) { animation-delay: 0.02s; }
.main > section:nth-child(2) { animation-delay: 0.06s; }
.main > section:nth-child(3) { animation-delay: 0.10s; }
.main > section:nth-child(4) { animation-delay: 0.14s; }
.main > section:nth-child(5) { animation-delay: 0.18s; }
