/* Content Area */
        .content-wrapper {
            padding: 2.25rem;
        }

        .page-header {
            margin-bottom: 2.25rem;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--text-dark);
            margin-bottom: 0.625rem;
            letter-spacing: -1px;
        }

        .page-subtitle {
            color: var(--text);
            font-size: 1.05rem;
            font-weight: 400;
        }

        /* Design 62: Circle Progress Card (White Theme - Standardized) */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card-design-g {
            background: white;
            border-radius: 20px;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.3s ease;
        }

        .stat-card-design-g:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
            border-color: var(--primary);
        }

        .design-g-ring {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            position: relative;
            flex-shrink: 0;
            background: rgba(255, 255, 255, 0.5);
        }

        .design-g-ring::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 3px solid rgba(0, 0, 0, 0.05);
        }

        .design-g-ring::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 3px solid currentColor;
            border-left-color: transparent;
            transform: rotate(-45deg);
        }

        .design-g-content {
            flex-grow: 1;
        }

        .design-g-value {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.25rem;
            color: var(--text-dark);
            line-height: 1.2;
        }

        .design-g-label {
            font-size: 0.875rem;
            color: var(--text);
            font-weight: 500;
        }

        /* Color Variants for Design G */
        .stat-card-design-g .design-g-ring.primary {
            color: var(--primary);
            background: rgba(220, 38, 38, 0.05);
        }

        .stat-card-design-g .design-g-ring.success {
            color: #10b981;
            background: rgba(16, 185, 129, 0.05);
        }

        .stat-card-design-g .design-g-ring.warning {
            color: #f59e0b;
            background: rgba(245, 158, 11, 0.05);
        }

        .stat-card-design-g .design-g-ring.danger {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.05);
        }

        /* Charts Section */
        .charts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.75rem;
            margin-bottom: 2.25rem;
        }

        .chart-card {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            border: 2px solid var(--border);
        }

        .chart-card canvas {
            touch-action: pan-y;
            display: block;
        }

        .chart-container {
            position: relative;
            width: 100%;
            height: 300px;
            overflow: hidden;
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.75rem;
            padding-bottom: 1.25rem;
            border-bottom: 2px solid var(--border);
        }

        .chart-title {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--text-dark);
        }

        /* Filters Section */
        .filters-section {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            border: 2px solid var(--border);
            margin-bottom: 2.25rem;
        }

        .filters-section .search-box {
            position: relative;
        }

        .filters-section .search-box i {
            position: absolute;
            left: 1.125rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text);
            pointer-events: none;
            z-index: 1;
        }

        .filters-section .search-box input {
            width: 100%;
            padding: 0.875rem 1rem 0.875rem 3rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            background: var(--light);
        }

        .filters-section .search-box input:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
        }

        /* Custom Dropdown Styles */
        .filter-box {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .filter-box:has(.custom-dropdown.active) {
            z-index: 10001;
        }

        .filter-label {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 0.95rem;
            margin: 0;
        }

        .custom-dropdown {
            position: relative;
            width: 100%;
            z-index: 1;
        }

        .custom-dropdown.active {
            z-index: 10001 !important;
            position: relative;
        }

        .custom-dropdown.active .custom-dropdown-menu {
            z-index: 10001 !important;
        }

        .custom-dropdown-btn {
            width: 100%;
            border: 2px solid var(--border);
            border-radius: 12px;
            padding: 0.75rem 1rem;
            font-size: 0.9rem;
            background: white;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            color: var(--text-dark);
            font-weight: 500;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
        }

        .custom-dropdown-btn:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
        }

        .custom-dropdown-btn:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
            background: white;
        }

        .custom-dropdown-btn:disabled {
            background: var(--light);
            color: var(--text);
            cursor: not-allowed;
            opacity: 0.7;
        }

        .custom-dropdown-btn i {
            font-size: 0.75rem;
            transition: transform 0.3s ease;
            color: var(--text);
        }

        .custom-dropdown.active .custom-dropdown-btn i {
            transform: rotate(180deg);
        }

        .custom-dropdown-menu {
            position: absolute;
            top: calc(100% + 5px);
            left: 0;
            right: 0;
            background: white !important;
            border: 2px solid var(--border);
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
            z-index: 10001 !important;
            max-height: 300px;
            overflow-y: auto;
            overflow-x: hidden;
            display: none;
        }

        .custom-dropdown.active .custom-dropdown-menu {
            display: block;
        }

        .custom-dropdown-items {
            max-height: 300px;
            overflow-y: auto;
            background: white !important;
        }

        .custom-dropdown-item {
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid var(--border);
            color: var(--text-dark);
            font-weight: 500;
            background: white !important;
        }

        .custom-dropdown-item:last-child {
            border-bottom: none;
        }

        .custom-dropdown-item:hover {
            background: var(--light) !important;
            color: var(--primary);
        }

        .custom-dropdown-item.selected {
            color: var(--primary);
            font-weight: 600;
            background: rgba(220, 38, 38, 0.08) !important;
        }

        /* Table Section */
        .table-section {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            border: 2px solid var(--border);
        }

        .table-section .table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.75rem;
            padding-bottom: 1.25rem;
            border-bottom: 2px solid var(--border);
        }

        .table-section h3 {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--text-dark);
            margin: 0;
        }

        .table {
            margin-bottom: 0;
        }

        .table thead th {
            background: var(--light);
            border-bottom: 2px solid var(--border);
            font-weight: 600;
            color: var(--text-dark);
            padding: 1rem;
        }

        .table tbody td {
            padding: 1rem;
            vertical-align: middle;
        }

        .table tbody tr:hover {
            background: var(--light);
        }

        .badge {
            padding: 0.35em 0.65em;
            font-size: 0.75em;
            font-weight: 700;
            border-radius: 0.25rem;
            display: inline-block;
        }

        .badge-success {
            background-color: var(--success);
            color: white;
        }

        .badge-danger {
            background-color: var(--danger);
            color: white;
        }

        .badge-info {
            background-color: var(--info);
            color: white;
        }

        .badge-primary {
            background-color: var(--primary);
            color: white;
        }

        .badge-warning {
            background-color: var(--warning);
            color: #000;
        }

        .loading-spinner {
            padding: 2rem;
            text-align: center;
        }

        .empty-state {
            padding: 3rem;
            text-align: center;
            color: var(--text);
        }

        .empty-state i {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--text);
        }

        .expand-btn {
            background: none;
            border: none;
            color: var(--primary);
            cursor: pointer;
            padding: 0.25rem 0.5rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .expand-btn:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        .alerts-detail {
            margin-top: 1rem;
            padding: 1rem;
            background: var(--light);
            border-radius: 8px;
            display: none;
        }

        .alerts-detail.show {
            display: block;
        }

        /* Sidebar Toggle States */
        .sidebar.hidden {
            transform: translateX(-100%);
            left: -100%;
        }

        .main-content.sidebar-hidden {
            margin-left: 0;
        }

        /* Desktop toggle support */
        @media (min-width: 1025px) {
            .sidebar.hidden {
                transform: translateX(-100%);
                left: -100%;
            }

            .main-content.sidebar-hidden {
                margin-left: 0;
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .sidebar {
                left: -100%;
            }

            .sidebar.active {
                left: 0;
            }

            .main-content {
                margin-left: 0;
            }

            .menu-toggle {
                display: block;
            }

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

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .content-wrapper {
                padding: 1.5rem;
            }
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .sidebar-overlay.active {
            display: block;
            opacity: 1;
        }