/* ==========================================================================
   SISTEM PEMBAYARAN MAHASISWA IAI YPBWI SURABAYA
   Theme: IFMS Modern Violet/Purple Financial Management Dashboard
   100% Offline-Friendly Native CSS (No CDN Dependencies)
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary: #6d28d9;
    --primary-hover: #5b21b6;
    --primary-light: #7c3aed;
    --primary-subtle: #ede9fe;
    --primary-border: #ddd6fe;

    /* Gradient Palettes */
    --sidebar-gradient: linear-gradient(180deg, #4f46e5 0%, #6366f1 22%, #7c3aed 58%, #8b5cf6 85%, #9333ea 100%);
    --hero-gradient: linear-gradient(135deg, #4338ca 0%, #6366f1 35%, #7c3aed 70%, #9333ea 100%);
    --amber-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --blue-gradient: linear-gradient(135deg, #3b82f6, #2563eb);
    --emerald-gradient: linear-gradient(135deg, #10b981, #059669);
    --rose-gradient: linear-gradient(135deg, #f43f5e, #e11d48);

    /* Backgrounds & Neutrals */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #4c1d95;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Status Accents */
    --success: #10b981;
    --success-bg: #d1fae5;
    --success-text: #065f46;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --warning-text: #92400e;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --danger-text: #991b1b;
    --info: #3b82f6;
    --info-bg: #dbeafe;
    --info-text: #1e40af;
    --purple: #8b5cf6;
    --purple-bg: #ede9fe;
    --purple-text: #5b21b6;
    --indigo: #6366f1;
    --indigo-bg: #e0e7ff;
    --indigo-text: #3730a3;

    /* Dimensions & Shadows */
    --sidebar-width: 260px;
    --topbar-height: 68px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-purple: 0 10px 25px -5px rgba(109, 40, 217, 0.3);

    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* ==========================================================================
   APP SHELL LAYOUT (Sidebar + Topbar + Main Content)
   ========================================================================== */

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- SIDEBAR --- */
.app-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-gradient);
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.08);
}

/* Sidebar Header / Brand */
.sidebar-brand {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
    letter-spacing: 0.2px;
}

/* Sidebar Nav */
.sidebar-nav {
    flex: 1;
    padding: 14px 12px;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
    padding: 12px 12px 6px 12px;
    margin-top: 6px;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 3px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateX(2px);
    text-decoration: none;
}

.sidebar-link.active {
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.sidebar-link .nav-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.sidebar-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
}

.sidebar-badge.amber {
    background: #f59e0b;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.4);
}

.sidebar-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

/* --- MAIN CONTAINER --- */
.app-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* --- TOPBAR --- */
.app-topbar {
    height: var(--topbar-height);
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
}

.topbar-user-profile {
    display: flex;
    flex-direction: column;
}

.topbar-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.topbar-user-role {
    font-size: 11.5px;
    color: var(--text-muted);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.topbar-notification {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    transition: background 0.15s ease;
    text-decoration: none;
}

.topbar-notification:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.notif-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: var(--radius-pill);
    border: 2px solid #ffffff;
}

.btn-topbar-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-topbar-logout:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

/* --- WORKSPACE CONTENT --- */
.app-content {
    flex: 1;
    padding: 28px 32px 48px 32px;
}

/* Breadcrumb / Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title-group h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.page-title-group p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ==========================================================================
   HERO BANNER & KPI CARDS (Matching IFMS Design)
   ========================================================================== */

/* Hero Banner */
.hero-banner {
    background: var(--hero-gradient);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    color: #ffffff;
    box-shadow: var(--shadow-purple);
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-header .hero-icon {
    width: 24px;
    height: 24px;
}

.hero-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.hero-subtitle {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    line-height: 1.5;
}

.hero-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
    text-decoration: none;
}

.hero-action-pill:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

.hero-action-pill .badge-count {
    background: #ffffff;
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}

/* --- KPI / Stat Cards Grid (4 Cards Row) --- */
.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.kpi-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 22px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.kpi-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.kpi-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.kpi-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 16px;
    min-height: 34px;
}

/* Card Themes */
.kpi-card.amber .kpi-icon-box { background: #fef3c7; color: #d97706; }
.kpi-card.amber .kpi-value { color: #d97706; }
.kpi-card.amber .kpi-btn { background: #f59e0b; color: #ffffff; }
.kpi-card.amber .kpi-btn:hover { background: #d97706; }

.kpi-card.blue .kpi-icon-box { background: #dbeafe; color: #2563eb; }
.kpi-card.blue .kpi-value { color: #2563eb; }
.kpi-card.blue .kpi-btn { background: #4f46e5; color: #ffffff; }
.kpi-card.blue .kpi-btn:hover { background: #4338ca; }

.kpi-card.emerald .kpi-icon-box { background: #d1fae5; color: #059669; }
.kpi-card.emerald .kpi-value { color: #059669; }
.kpi-card.emerald .kpi-btn { background: #059669; color: #ffffff; }
.kpi-card.emerald .kpi-btn:hover { background: #047857; }

.kpi-card.rose .kpi-icon-box { background: #ffe4e6; color: #e11d48; }
.kpi-card.rose .kpi-value { color: #e11d48; }
.kpi-card.rose .kpi-btn { background: #e11d48; color: #ffffff; }
.kpi-card.rose .kpi-btn:hover { background: #be123c; }

.kpi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}

.kpi-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.kpi-btn-sub {
    padding: 8px 10px;
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.15s ease;
}

.kpi-btn-sub:hover {
    background: #e2e8f0;
    color: var(--primary);
    text-decoration: none;
}

/* ==========================================================================
   CARDS, TABLES & PROGRESS BARS (Reference Content Integration)
   ========================================================================== */

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.card-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.card-title-bar h2, .card-title-bar h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Progress Bar */
.progress-bar {
    background: #e2e8f0;
    border-radius: var(--radius-pill);
    height: 7px;
    overflow: hidden;
    margin-top: 4px;
    width: 100%;
}

.progress-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: var(--radius-pill);
    transition: width 0.3s ease;
}

.progress-bar .fill.purple {
    background: linear-gradient(90deg, #8b5cf6, #6d28d9);
}

.progress-bar .fill.amber {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
    background: #ffffff;
}

.table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    color: var(--text-main);
}

.table tr:hover td {
    background: #faf5ff;
}

.table tfoot td {
    background: #f8fafc;
    font-weight: 700;
    border-top: 2px solid var(--border-color);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.badge-success { background: var(--success-bg); color: var(--success-text); }
.badge-warning { background: var(--warning-bg); color: var(--warning-text); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger-text); }
.badge-info    { background: var(--info-bg);    color: var(--info-text); }
.badge-purple  { background: var(--purple-bg);  color: var(--purple-text); }
.badge-indigo  { background: var(--indigo-bg);  color: var(--indigo-text); }
.badge-amber   { background: #fef3c7; color: #78350f; }

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar input, .filter-bar select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #ffffff;
    color: var(--text-main);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-bar input:focus, .filter-bar select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

/* Forms & Buttons */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    background: #ffffff;
    color: var(--text-main);
    transition: all 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-hover); color: #ffffff; }

.btn-success { background: var(--success); color: #ffffff; }
.btn-success:hover { background: #059669; color: #ffffff; }

.btn-danger { background: var(--danger); color: #ffffff; }
.btn-danger:hover { background: #dc2626; color: #ffffff; }

.btn-warning { background: var(--warning); color: #ffffff; }
.btn-warning:hover { background: #d97706; color: #ffffff; }

.btn-secondary { background: #64748b; color: #ffffff; }
.btn-secondary:hover { background: #475569; color: #ffffff; }

.btn-outline-danger {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}
.btn-outline-danger:hover { background: var(--danger); color: #ffffff; }

.btn-sm {
    padding: 5px 10px;
    font-size: 11.5px;
    border-radius: 6px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: var(--success-bg); color: var(--success-text); border-left: 4px solid var(--success); }
.alert-danger  { background: var(--danger-bg);  color: var(--danger-text);  border-left: 4px solid var(--danger); }
.alert-info    { background: var(--info-bg);    color: var(--info-text);    border-left: 4px solid var(--info); }
.alert-warning { background: var(--warning-bg); color: var(--warning-text); border-left: 4px solid var(--warning); }

/* Option Cards (Reference HTML style for Jenjang / Paket selection) */
.option-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.option-card {
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    border-color: var(--primary);
    background: var(--primary-subtle);
}

.option-card.selected {
    border-color: var(--primary);
    background: var(--primary-subtle);
    box-shadow: 0 0 0 2px var(--primary-border);
}

.option-card .label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.option-card .amount {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
}

.option-card .desc {
    font-size: 11px;
    color: var(--text-subtle);
    margin-top: 3px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active, .modal.show {
    display: flex;
}

.modal-content {
    background: #ffffff;
    padding: 28px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

/* Footer */
.app-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 18px 32px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Auth Layout */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background: var(--hero-gradient);
}

.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 38px 34px;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-brand {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}

.auth-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .app-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .app-sidebar.show {
        transform: translateX(0);
    }
    .app-main {
        margin-left: 0;
    }
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 640px) {
    .app-topbar {
        padding: 0 16px;
    }
    .app-content {
        padding: 20px 16px;
    }
    .stat-cards-grid {
        grid-template-columns: 1fr;
    }
    .kpi-btn-group {
        grid-template-columns: 1fr;
    }
}
