        /* ===== MOPH THEME ===== */
        :root {
            --moph-blue: #0D6EFD;
            --deep-navy: #0A3D91;
            --sky-blue: #EAF4FF;
            --success-green: #198754;
            --warning-orange: #FD7E14;
            --danger-red: #DC3545;
            --white: #FFFFFF;
            --sidebar-width: 260px;
            --header-height: 70px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Kanit', sans-serif;
            /*background: #f4f7fc;*/
            color: #2c3e50;
            overflow-x: hidden;
        }

        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: #e8f0fe;
        }

        ::-webkit-scrollbar-thumb {
            background: #a0c4ff;
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #7aadff;
        }

        /* ===== SIDEBAR ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: linear-gradient(180deg, var(--deep-navy) 0%, #072a6e 100%);
            color: white;
            z-index: 1000;
            transition: all 0.3s ease;
            overflow-y: auto;
            box-shadow: 2px 0 20px rgba(10, 61, 145, 0.2);
        }

        .sidebar-logo {
            padding: 20px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
        }

        .sidebar-logo .logo-text {
            font-size: 14px;
            font-weight: 600;
            color: #93c5fd;
            line-height: 1.3;
        }

        .sidebar-logo .logo-text-main {
            font-size: 16px;
            font-weight: 700;
            color: white;
            margin-top: 4px;
            line-height: 1.3;
        }

        .sidebar-logo .logo-icons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 8px;
        }

        .sidebar-logo .logo-image-wrap {
            margin-bottom: 8px;
        }

        .sidebar-logo .logo-image-wrap .sidebar-logo-img {
            max-width: 180px;
            max-height: 80px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .sidebar-logo .logo-icons .logo-circle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: #93c5fd;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .sidebar-menu {
            padding: 12px 0;
        }

        .sidebar-menu .menu-section {
            padding: 8px 20px 4px;
            font-size: 11px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.35);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .sidebar-menu .menu-item {
            display: flex;
            align-items: center;
            padding: 10px 20px;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 14px;
            font-weight: 400;
            transition: all 0.3s;
            cursor: pointer;
            border-left: 3px solid transparent;
            gap: 12px;
        }

        .sidebar-menu .menu-item:hover {
            background: rgba(255, 255, 255, 0.08);
            color: white;
        }

        .sidebar-menu .menu-item.active {
            background: rgba(255, 255, 255, 0.12);
            color: white;
            border-left-color: var(--moph-blue);
            font-weight: 500;
        }

        .sidebar-menu .menu-item i {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }

        .sidebar-menu .menu-item .menu-badge {
            margin-left: auto;
            background: rgba(255, 255, 255, 0.12);
            padding: 1px 8px;
            border-radius: 10px;
            font-size: 10px;
        }

        .sidebar-menu .sub-menu {
            padding-left: 42px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .sidebar-menu .sub-menu.open {
            max-height: 400px;
        }

        .sidebar-menu .sub-menu .menu-item {
            font-size: 13px;
            padding: 7px 16px;
            border-left: none;
            position: relative;
        }

        .sidebar-menu .sub-menu .menu-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
        }

        .sidebar-menu .sub-menu .menu-item:hover::before,
        .sidebar-menu .sub-menu .menu-item.active::before {
            background: var(--moph-blue);
        }

        /* ===== MAIN CONTENT ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            padding: 0;
            min-height: 100vh;
            transition: all 0.3s ease;
        }

        /* ===== HEADER ===== */
        .top-header {
            background: linear-gradient(135deg, #b8d4fe 0%, #d6e8ff 50%, #ecf3ff 100%);
            padding: 16px 28px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.5);
            position: sticky;
            top: 0;
            z-index: 100;
            min-height: var(--header-height);
        }

        .top-header .header-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .top-header .header-left .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 22px;
            color: var(--deep-navy);
            cursor: pointer;
        }

        .top-header .header-title h1 {
            font-size: 18px;
            font-weight: 700;
            color: var(--deep-navy);
            line-height: 1.3;
            margin: 0;
        }

        .top-header .header-title .subtitle-full,
        .top-header .header-title span {
            font-size: 22px;
            color: #5b7db5;
        }

        /* Desktop: show full title, full subtitle; hide short versions */
        .title-full,
        .subtitle-full {
            display: inline;
        }
        .title-short,
        .subtitle-short {
            display: none;
        }

        .top-header .header-right {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .top-header .header-date {
            background: rgba(255, 255, 255, 0.7);
            padding: 8px 16px;
            border-radius: 12px;
            font-size: 13px;
            color: var(--deep-navy);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        .top-header .btn-refresh {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            border: none;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            color: var(--deep-navy);
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .top-header .btn-refresh:hover {
            background: white;
            color: var(--moph-blue);
            transform: rotate(30deg);
        }

        /* ===== PAGE CONTENT ===== */
        .page-content {
            padding: 20px 24px;
        }

        /* ===== SECTION PAGES ===== */
        .section-page {
            display: none;
            animation: fadeIn 0.4s ease;
        }

        .section-page.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(12px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== BREADCRUMB ===== */
        .breadcrumb-custom {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #64748b;
            margin-bottom: 16px;
        }

        .breadcrumb-custom i {
            color: var(--moph-blue);
            font-size: 12px;
        }

        .breadcrumb-custom .current {
            color: var(--deep-navy);
            font-weight: 500;
        }

        /* ===== STATS CARDS ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }

        .stat-card {
            background: white;
            border-radius: 16px;
            padding: 20px 22px;
            box-shadow: 0 2px 12px rgba(96, 165, 250, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.6);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(96, 165, 250, 0.15);
        }

        .stat-card .stat-bg-icon {
            position: absolute;
            right: -8px;
            bottom: -8px;
            font-size: 70px;
            opacity: 0.06;
            color: currentColor;
        }

        .stat-card .stat-icon-wrap {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 10px;
        }

        .stat-card .stat-icon-wrap.blue {
            background: #dbeafe;
            color: var(--moph-blue);
        }

        .stat-card .stat-icon-wrap.navy {
            background: #cfe2ff;
            color: var(--deep-navy);
        }

        .stat-card .stat-icon-wrap.red {
            background: #fce4e4;
            color: var(--danger-red);
        }

        .stat-card .stat-icon-wrap.green {
            background: #dcfce7;
            color: var(--success-green);
        }

        .stat-card .stat-icon-wrap.orange {
            background: #fef3c7;
            color: var(--warning-orange);
        }

        .stat-card .stat-icon-wrap.purple {
            background: #ede9fe;
            color: #8b5cf6;
        }

        .stat-card .stat-icon-wrap.teal {
            background: #ccfbf1;
            color: #14b8a6;
        }

        .stat-card .stat-icon-wrap.pink {
            background: #fce7f3;
            color: #ec4899;
        }

        .stat-card .stat-label {
            font-size: 13px;
            color: #64748b;
            font-weight: 400;
        }

        .stat-card .stat-value {
            font-size: 28px;
            font-weight: 700;
            color: #1e293b;
            line-height: 1.2;
        }

        .stat-card .stat-sub {
            font-size: 12px;
            color: #94a3b8;
            margin-top: 4px;
        }

        .stat-card .stat-change {
            font-size: 11px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 10px;
            border-radius: 20px;
            margin-top: 6px;
            font-weight: 500;
        }

        .stat-change.up {
            background: #dcfce7;
            color: #16a34a;
        }

        .stat-change.down {
            background: #fee2e2;
            color: #dc2626;
        }

        .stat-change.neutral {
            background: #f0f5fe;
            color: var(--moph-blue);
        }

        /* ===== CARDS ===== */
        .card-custom {
            background: white;
            border-radius: 16px;
            padding: 20px 22px;
            box-shadow: 0 2px 12px rgba(96, 165, 250, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.6);
            transition: all 0.3s;
            margin-bottom: 20px;
        }

        .card-custom:hover {
            box-shadow: 0 4px 20px rgba(96, 165, 250, 0.12);
        }

        .card-custom .card-header-custom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .card-custom .card-title-custom {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .card-custom .card-title-custom i {
            color: var(--moph-blue);
        }

        .card-custom .card-badge {
            font-size: 11px;
            background: var(--sky-blue);
            color: var(--moph-blue);
            padding: 4px 14px;
            border-radius: 20px;
            font-weight: 500;
        }

        /* ===== CHART CONTAINERS ===== */
        .chart-container {
            position: relative;
            height: 280px;
            width: 100%;
        }

        .chart-container-sm {
            position: relative;
            height: 200px;
            width: 100%;
        }

        /* ===== PROVINCE GRID ===== */
        .province-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 12px;
        }

        .province-card {
            background: #f8faff;
            border-radius: 14px;
            padding: 16px;
            border: 1px solid #e8f0fe;
            transition: all 0.3s;
            text-align: center;
            cursor: pointer;
        }

        .province-card:hover {
            background: #dbeafe;
            border-color: #93c5fd;
            transform: translateY(-2px);
        }

        .province-card .province-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--deep-navy);
            margin-bottom: 4px;
        }

        .province-card .province-stat {
            font-size: 11px;
            color: #64748b;
        }

        .province-card .province-stat strong {
            color: var(--moph-blue);
            font-size: 16px;
        }

        .province-card .province-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 4px;
        }

        .province-indicator.green {
            background: var(--success-green);
        }

        .province-indicator.yellow {
            background: var(--warning-orange);
        }

        .province-indicator.red {
            background: var(--danger-red);
        }

        /* ===== BADGES ===== */
        .badge-custom {
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 500;
            display: inline-block;
        }

        .badge-custom.success {
            background: #dcfce7;
            color: #16a34a;
        }

        .badge-custom.warning {
            background: #fef3c7;
            color: #d97706;
        }

        .badge-custom.danger {
            background: #fee2e2;
            color: #dc2626;
        }

        .badge-custom.info {
            background: #dbeafe;
            color: #2563eb;
        }

        .badge-custom.secondary {
            background: #f1f5f9;
            color: #64748b;
        }

        .badge-custom.primary {
            background: #cfe2ff;
            color: var(--deep-navy);
        }

        /* ===== TABLE ===== */
        .table-wrapper {
            overflow-x: auto;
        }
        
        .table-responsive-custom {
            overflow-x: auto;
            width: 100%;
            -webkit-overflow-scrolling: touch;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
        }

        table thead th {
            background: #f0f5fe;
            color: #475569;
            font-weight: 600;
            padding: 10px 12px;
            text-align: left;
            border-bottom: 2px solid #dbeafe;
            white-space: nowrap;
        }

        table tbody td {
            padding: 10px 12px;
            border-bottom: 1px solid #f1f5f9;
            color: #334155;
            white-space: nowrap;
        }

        table tbody tr:hover {
            background: #f8faff;
        }

        /* ===== PROGRESS BAR ===== */
        .progress-item {
            margin-bottom: 14px;
        }

        .progress-item .progress-header {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            margin-bottom: 4px;
        }

        .progress-item .progress-name {
            color: #334155;
            font-weight: 500;
        }

        .progress-item .progress-percent {
            color: var(--moph-blue);
            font-weight: 600;
        }

        .progress-bar-bg {
            width: 100%;
            height: 8px;
            background: #e8f0fe;
            border-radius: 10px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            border-radius: 10px;
            background: linear-gradient(90deg, #60a5fa, var(--moph-blue));
            transition: width 1s ease;
            width: 0%;
        }

        .progress-bar-fill.green {
            background: linear-gradient(90deg, #4ade80, var(--success-green));
        }

        .progress-bar-fill.orange {
            background: linear-gradient(90deg, #fbbf24, var(--warning-orange));
        }

        .progress-bar-fill.purple {
            background: linear-gradient(90deg, #c084fc, #8b5cf6);
        }

        .progress-bar-fill.red {
            background: linear-gradient(90deg, #f87171, var(--danger-red));
        }

        .progress-bar-fill.teal {
            background: linear-gradient(90deg, #2dd4bf, #14b8a6);
        }

        /* ===== FUNNEL ===== */
        .funnel-step {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
        }

        .funnel-step .funnel-bar {
            flex: 1;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 13px;
            position: relative;
        }

        .funnel-step .funnel-bar::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 10%;
            width: 80%;
            height: 2px;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid #e8f0fe;
        }

        .funnel-step:last-child .funnel-bar::after {
            display: none;
        }

        .funnel-step .funnel-label {
            min-width: 80px;
            font-size: 12px;
            color: #64748b;
            text-align: right;
        }

        .funnel-step .funnel-count {
            min-width: 50px;
            font-size: 14px;
            font-weight: 700;
            color: #1e293b;
        }

        /* ===== MINI CHARTS GRID ===== */
        .mini-chart-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 12px;
        }

        .mini-chart-card {
            background: #f8faff;
            border-radius: 14px;
            padding: 16px;
            border: 1px solid #e8f0fe;
            text-align: center;
            transition: all 0.3s;
        }

        .mini-chart-card:hover {
            background: #dbeafe;
            border-color: #93c5fd;
            transform: translateY(-2px);
        }

        .mini-chart-card .mini-icon {
            font-size: 22px;
            margin-bottom: 6px;
        }

        .mini-chart-card .mini-value {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
        }

        .mini-chart-card .mini-label {
            font-size: 12px;
            color: #64748b;
            margin-top: 2px;
        }

        /* ===== QUICK ACCESS LINKS ===== */
        .quick-links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 14px;
        }

        .quick-link-card {
            background: white;
            border-radius: 14px;
            padding: 20px 16px;
            text-align: center;
            border: 1px solid #e8f0fe;
            transition: all 0.3s;
            cursor: pointer;
            text-decoration: none;
            display: block;
        }

        .quick-link-card:hover {
            background: var(--sky-blue);
            border-color: var(--moph-blue);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(13, 110, 253, 0.12);
        }

        .quick-link-card .ql-icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--sky-blue) 0%, #cfe2ff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-size: 22px;
            color: var(--moph-blue);
        }

        .quick-link-card .ql-name {
            font-size: 13px;
            font-weight: 600;
            color: var(--deep-navy);
        }

        .quick-link-card .ql-desc {
            font-size: 11px;
            color: #94a3b8;
            margin-top: 2px;
        }

        /* ===== FILTER BAR ===== */
        .filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 16px;
        }

        .filter-bar .filter-btn {
            padding: 6px 18px;
            border-radius: 20px;
            border: 1px solid #dbeafe;
            background: white;
            color: #475569;
            font-size: 13px;
            font-family: 'Kanit', sans-serif;
            cursor: pointer;
            transition: all 0.3s;
        }

        .filter-bar .filter-btn:hover,
        .filter-bar .filter-btn.active {
            background: var(--moph-blue);
            color: white;
            border-color: var(--moph-blue);
        }

        /* ===== TWO COLUMN GRID ===== */
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 20px;
        }

        .grid-2-1 {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
        }

        .grid-1-2 {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 20px;
        }

        @media (max-width: 1024px) {

            .grid-2,
            .grid-3,
            .grid-2-1,
            .grid-1-2 {
                grid-template-columns: 1fr;
            }
        }

        /* ===== SECTION DIVIDER ===== */
        .section-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--deep-navy);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            color: var(--moph-blue);
        }

        .section-title .title-line {
            flex: 1;
            height: 2px;
            background: linear-gradient(90deg, #dbeafe, transparent);
            margin-left: 8px;
        }

        .sub-section-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--deep-navy);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .sub-section-title i {
            color: var(--moph-blue);
            font-size: 14px;
        }

        /* ===== TEMPLATE CARD (for sections without detailed data) ===== */
        .placeholder-chart {
            height: 200px;
            background: linear-gradient(135deg, #f8faff, #e8f0fe);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            font-size: 14px;
            border: 2px dashed #dbeafe;
        }

        /* ===== RESPONSIVE ===== */
        /* Tablet: adjust header text */
        @media (max-width: 1024px) {
            .top-header {
                padding: 12px 18px;
            }

            .top-header .header-title h1 {
                font-size: 16px;
            }

            .top-header .header-title .subtitle-full,
            .top-header .header-title span {
                font-size: 16px;
            }

            .top-header .header-right {
                gap: 8px;
            }

            .top-header .header-date {
                font-size: 12px;
                padding: 6px 12px;
            }

            .top-header .btn-refresh {
                width: 36px;
                height: 36px;
                font-size: 14px;
            }

            /* Tablet: show full title, short subtitle */
            .title-full {
                display: inline;
            }
            .title-short {
                display: none;
            }
            .subtitle-full {
                display: none;
            }
            .subtitle-short {
                display: inline;
            }
        }

        /* Mobile: compact header */
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
            }

            .top-header {
                padding: 10px 14px;
                min-height: 56px;
            }

            .top-header .header-left {
                gap: 10px;
            }

            .top-header .header-left .hamburger {
                display: block;
            }

            .top-header .header-title h1 {
                font-size: 14px;
            }

            .top-header .header-date {
                font-size: 11px;
                padding: 6px 10px;
            }

            .top-header .btn-refresh {
                width: 32px;
                height: 32px;
                font-size: 13px;
            }

            /* Mobile: show short title, short subtitle */
            .title-full {
                display: none;
            }
            .title-short {
                display: inline;
            }
            .subtitle-full {
                display: none;
            }
            .subtitle-short {
                display: inline;
            }

            .page-content {
                padding: 14px 16px;
            }

            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 12px;
            }

            .stat-card .stat-value {
                font-size: 22px;
            }
        }

        /* Small mobile: further compact */
        @media (max-width: 480px) {
            .top-header {
                padding: 8px 10px;
                min-height: 50px;
                flex-wrap: nowrap;
            }

            .top-header .header-left {
                gap: 8px;
                flex: 1;
                min-width: 0;
            }

            .top-header .header-title {
                flex: 1;
                min-width: 0;
            }

            .top-header .header-title h1 {
                font-size: 12px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .top-header .header-title .subtitle-short {
                font-size: 10px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                display: block;
            }

            .top-header .header-right {
                gap: 6px;
                flex-shrink: 0;
            }

            .top-header .header-date {
                font-size: 10px;
                padding: 5px 8px;
            }

            .top-header .header-date span {
                display: none;
            }

            .top-header .btn-refresh {
                width: 30px;
                height: 30px;
                font-size: 12px;
            }
        }

        /* ===== LOADING ANIMATION ===== */
        .animate-in {
            animation: fadeIn 0.6s ease forwards;
        }

        .delay-1 {
            animation-delay: 0.1s;
        }

        .delay-2 {
            animation-delay: 0.2s;
        }

        .delay-3 {
            animation-delay: 0.3s;
        }

        .delay-4 {
            animation-delay: 0.4s;
        }

        .delay-5 {
            animation-delay: 0.5s;
        }

        .delay-6 {
            animation-delay: 0.6s;
        }

        /* ===== COUNTER ANIMATION ===== */
        .counter-value {
            display: inline-block;
        }

        /* ===== SIDEBAR OVERLAY (mobile) ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 999;
        }

        .sidebar-overlay.show {
            display: block;
        }

        /* Loading spinner animation */
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Funnel color steps */
        .funnel-step-1 .funnel-bar {
            background: var(--moph-blue);
            width: 100%;
        }

        .funnel-step-2 .funnel-bar {
            background: #3b82f6;
            width: 80%;
        }

        .funnel-step-3 .funnel-bar {
            background: #6366f1;
            width: 60%;
        }

        .funnel-step-4 .funnel-bar {
            background: #8b5cf6;
            width: 45%;
        }

        .funnel-step-5 .funnel-bar {
            background: #14b8a6;
            }

/* ===== PRINT STYLES ===== */
@media print {
    .sidebar {
        display: none !important;
    }
    .top-header {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    .btn, button {
        display: none !important;
    }
    .table-responsive-custom, .table-wrapper {
        overflow: visible !important;
    }
    body {
        background: white !important;
    }
    @page {
        size: landscape;
        margin: 1cm;
    }
}