       /* Sidebar and Main Content Adjustments */
       @media (min-width: 769px) {
        main {
            margin-left: 280px;
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body.sidebar-collapsed main {
            margin-left: 70px;
        }

        [dir="rtl"] main {
            margin-right: 280px;
            margin-left: 0;
        }

        [dir="rtl"] body.sidebar-collapsed main {
            margin-right: 70px;
            margin-left: 0;
        }
    }

    /* Base Container Width Improvements - Use more available space */
    @media (min-width: 992px) {
        .container {
            max-width: 95%;
        }
    }

    @media (min-width: 1200px) {
        .container {
            max-width: 96%;
        }
    }

    @media (min-width: 1400px) {
        .container {
            max-width: 97%;
        }
    }

    /* Feature Announcement Banner */
    .feature-announcement-banner {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 16px;
        padding: 20px 24px;
        margin-bottom: 30px;
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
        animation: slideDown 0.5s ease-out;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideUp {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(-20px);
        }
    }

    .banner-content {
        display: flex;
        align-items: center;
        gap: 16px;
        position: relative;
    }

    .banner-icon {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        flex-shrink: 0;
        backdrop-filter: blur(10px);
    }

    .banner-text {
        flex: 1;
        color: white;
    }

    .banner-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0 0 6px 0;
        color: white;
    }

    .banner-message {
        font-size: 0.9rem;
        margin: 0;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.5;
    }

    .banner-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .banner-button {
        background: rgba(255, 255, 255, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        padding: 10px 20px;
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        white-space: nowrap;
    }

    .banner-button:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .banner-button i {
        font-size: 16px;
    }

    .banner-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 8px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
        backdrop-filter: blur(10px);
    }

    .banner-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .banner-close i {
        font-size: 16px;
    }

    /* Mobile Optimizations */
    @media (max-width: 768px) {
        .feature-announcement-banner {
            padding: 16px;
            margin-bottom: 20px;
            border-radius: 12px;
        }

        .banner-content {
            flex-wrap: wrap;
        }

        .banner-icon {
            width: 40px;
            height: 40px;
            font-size: 20px;
        }

        .banner-title {
            font-size: 1rem;
        }

        .banner-message {
            font-size: 0.85rem;
        }

        .banner-actions {
            width: 100%;
            justify-content: space-between;
            margin-top: 12px;
        }

        .banner-button {
            flex: 1;
            justify-content: center;
            padding: 8px 16px;
            font-size: 0.85rem;
        }
    }

    /* Mobile Container Optimizations */
    @media (max-width: 768px) {
        .container {
            padding-left: 12px;
            padding-right: 12px;
            max-width: 100%;
        }

        .container-fluid {
            padding-left: 12px;
            padding-right: 12px;
        }

        main {
            padding-top: 70px !important;
            padding-bottom: 20px;
        }

        /* Prevent horizontal scroll */
        body {
            overflow-x: hidden;
        }

        html, body {
            width: 100%;
            position: relative;
        }
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
        touch-action: none;
    }

    /* Mobile overlay for sidebar */
    @media (max-width: 768px) {
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }
    }

    /* Improve scrolling on mobile */
    @media (max-width: 768px) {
        * {
            -webkit-overflow-scrolling: touch;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Better text rendering on mobile */
        body {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }
    }

    /* Touch Target Optimizations */
    @media (max-width: 768px) {
        button, a, input, select, textarea {
            min-height: 44px;
            min-width: 44px;
        }

        .btn {
            padding: 10px 16px;
            font-size: 14px;
        }

        .btn-sm {
            padding: 8px 14px;
            font-size: 13px;
            min-height: 40px;
        }
    }

    /* Prevent Text Selection on Mobile (for better UX) */
    @media (max-width: 768px) {
        .modern-nav-link,
        .btn,
        .banner-button,
        .banner-close {
            -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
            -webkit-touch-callout: none;
            user-select: none;
        }
    }

    /* Safe Area Insets for Notched Devices */
    @supports (padding: max(0px)) {
        @media (max-width: 768px) {
            .modern-topbar {
                padding-left: max(12px, env(safe-area-inset-left));
                padding-right: max(12px, env(safe-area-inset-right));
            }

            .modern-sidebar {
                padding-bottom: max(0px, env(safe-area-inset-bottom));
            }

            main {
                padding-bottom: max(20px, env(safe-area-inset-bottom));
            }
        }
    }

    /* ============================================
       RESPONSIVE STYLES FOR SMALL COMPUTER SCREENS
       ============================================ */

    /* Small Laptops/Desktops (1024px - 1280px) */
    @media (max-width: 1280px) and (min-width: 769px) {
        /* Container adjustments - use more width */
        .container {
            max-width: 95%;
            padding-left: 16px;
            padding-right: 16px;
        }

        .container-fluid {
            padding-left: 16px;
            padding-right: 16px;
        }

        /* Reduce font sizes */
        h1 {
            font-size: 1.75rem !important;
        }

        h2 {
            font-size: 1.5rem !important;
        }

        h3 {
            font-size: 1.25rem !important;
        }

        h4 {
            font-size: 1.1rem !important;
        }

        /* Header adjustments */
        .modern-subscriptions-header,
        .modern-packages-header,
        .modern-dashboard-header {
            padding: 20px 24px !important;
        }

        .subscription-title,
        .header-title,
        .packages-title {
            font-size: 1.5rem !important;
        }

        .subscription-subtitle,
        .header-subtitle,
        .packages-subtitle {
            font-size: 0.875rem !important;
        }

        /* Card padding reduction */
        .modern-card,
        .modern-table-card,
        .modern-package-form-card,
        .modern-filter-section {
            padding: 16px 20px !important;
        }

        /* Table adjustments */
        table thead th,
        table tbody td {
            padding: 12px 14px !important;
            font-size: 0.85rem !important;
        }

        /* Button sizes */
        .btn {
            padding: 8px 16px !important;
            font-size: 0.875rem !important;
        }

        .btn-sm {
            padding: 6px 12px !important;
            font-size: 0.8rem !important;
        }

        /* Badge adjustments */
        .badge {
            padding: 4px 10px !important;
            font-size: 0.75rem !important;
        }

        /* Form controls */
        .form-control,
        .form-select {
            padding: 8px 12px !important;
            font-size: 0.875rem !important;
        }

        /* Icon sizes */
        .header-icon-wrapper,
        .form-icon-wrapper,
        .dashboard-icon-wrapper {
            width: 50px !important;
            height: 50px !important;
            font-size: 24px !important;
        }

        /* Stats cards */
        .stat-card,
        .modern-stats-card,
        .modern-client-stat-card {
            padding: 16px !important;
        }

        .stat-value,
        .card-count {
            font-size: 1.75rem !important;
        }

        /* Dashboard cards grid */
        .modern-dashboard-card {
            padding: 16px !important;
        }

        .card-content .card-title {
            font-size: 0.9rem !important;
        }

        .card-content .card-subtitle {
            font-size: 0.8rem !important;
        }

        /* Navigation */
        .modern-nav-link {
            padding: 10px 12px !important;
        }

        .nav-icon-wrapper {
            width: 36px !important;
            height: 36px !important;
            font-size: 16px !important;
        }

        /* Modals */
        .modal-dialog {
            max-width: 90% !important;
            margin: 1rem auto !important;
        }

        .modern-modal-header {
            padding: 20px 24px !important;
        }

        .modern-modal-body {
            padding: 20px 24px !important;
        }

        /* Reduce margins */
        .mb-4,
        .mt-4 {
            margin-bottom: 1.25rem !important;
            margin-top: 1.25rem !important;
        }

        .mb-3,
        .mt-3 {
            margin-bottom: 1rem !important;
            margin-top: 1rem !important;
        }
    }

    /* Medium Laptops (1280px - 1440px) */
    @media (max-width: 1440px) and (min-width: 1281px) {
        /* Container adjustments - use more width */
        .container {
            max-width: 96%;
            padding-left: 20px;
            padding-right: 20px;
        }

        .container-fluid {
            padding-left: 20px;
            padding-right: 20px;
        }

        /* Slightly reduced font sizes */
        h1 {
            font-size: 1.875rem !important;
        }

        h2 {
            font-size: 1.625rem !important;
        }

        /* Header adjustments */
        .modern-subscriptions-header,
        .modern-packages-header,
        .modern-dashboard-header {
            padding: 24px 28px !important;
        }

        .subscription-title,
        .header-title,
        .packages-title {
            font-size: 1.75rem !important;
        }

        /* Card padding */
        .modern-card,
        .modern-table-card,
        .modern-package-form-card {
            padding: 20px 24px !important;
        }

        /* Table adjustments */
        table thead th,
        table tbody td {
            padding: 14px 16px !important;
            font-size: 0.875rem !important;
        }

        /* Icon sizes */
        .header-icon-wrapper,
        .form-icon-wrapper {
            width: 60px !important;
            height: 60px !important;
            font-size: 28px !important;
        }
    }

    /* Large Screens (1440px - 1600px) */
    @media (max-width: 1600px) and (min-width: 1441px) {
        /* Container adjustments - use maximum width efficiently */
        .container {
            max-width: 97%;
            padding-left: 24px;
            padding-right: 24px;
        }

        .container-fluid {
            padding-left: 24px;
            padding-right: 24px;
        }

        .feature-announcement-banner {
            max-width: 95%;
        }
    }

    /* General Small Screen Optimizations (up to 1600px) */
    @media (max-width: 1600px) and (min-width: 769px) {
        /* Prevent horizontal overflow */
        body {
            overflow-x: hidden;
        }

        /* Table responsiveness */
        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* Reduce max-widths on wide elements */
        .feature-announcement-banner {
            max-width: 100% !important;
        }

        /* Dashboard grids - allow more columns on smaller screens */
        .modern-dashboard-cards-grid {
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
            gap: 16px !important;
        }

        /* Stats grid */
        .stats-container {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
            gap: 16px !important;
        }

        /* Action buttons - wrap better */
        .action-buttons-group,
        .header-actions {
            flex-wrap: wrap;
            gap: 8px;
        }

        /* Form sections */
        .form-section-modern,
        .settings-section {
            padding: 16px 20px !important;
        }

        /* Package types grid */
        .package-types-grid {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
            gap: 12px !important;
        }

        /* Filter sections */
        .modern-filter-section {
            padding: 16px 20px !important;
            flex-wrap: wrap;
        }

        .filter-form {
            max-width: 100% !important;
            width: 100%;
        }

        /* DataTables wrapper */
        .dataTables_wrapper {
            overflow-x: auto;
        }

        .dataTables_wrapper .dataTables_filter,
        .dataTables_wrapper .dataTables_length,
        .dataTables_wrapper .dataTables_info,
        .dataTables_wrapper .dataTables_paginate {
            font-size: 0.875rem !important;
        }

        .dataTables_wrapper .dataTables_filter input {
            width: 200px !important;
            padding: 8px 12px !important;
        }

        /* Table action buttons - smaller on small screens */
        #client_subscriptions_tb tbody td:last-child .btn,
        table tbody td:last-child .btn {
            padding: 5px 10px !important;
            font-size: 0.75rem !important;
            margin: 2px 3px !important;
        }

        /* User avatar in tables */
        .user-avatar-modern {
            width: 36px !important;
            height: 36px !important;
            font-size: 0.75rem !important;
        }

        /* Badge sizes */
        .price-badge-modern,
        .date-badge-modern,
        .payment-method-badge {
            padding: 5px 10px !important;
            font-size: 0.75rem !important;
        }

        /* Notes cell */
        .notes-cell {
            max-width: 150px !important;
            font-size: 0.8rem !important;
        }

        /* Modern apps grid */
        .modern-apps-grid {
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
            gap: 16px !important;
        }

        /* Modern template grid */
        .modern-template-grid {
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
            gap: 10px !important;
        }

        /* Modern template buttons */
        .modern-template-btn {
            padding: 10px 14px !important;
            font-size: 0.8rem !important;
        }

        /* WhatsApp textarea */
        .modern-whatsapp-textarea {
            font-size: 0.875rem !important;
            padding: 12px 14px !important;
        }

        /* Pagination */
        .pagination .page-link {
            padding: 6px 12px !important;
            font-size: 0.875rem !important;
        }

        /* Results info */
        .results-info {
            font-size: 0.875rem !important;
        }

        /* Per page selector */
        #per_page {
            padding: 6px 10px !important;
            font-size: 0.875rem !important;
        }

        /* User subscription header */
        .user-avatar {
            width: 60px !important;
            height: 60px !important;
        }

        /* Modern modal */
        .modal-dialog.modal-lg {
            max-width: 85% !important;
        }

        /* Section headers */
        .section-header-form,
        .section-header-modern {
            padding: 14px 18px !important;
        }

        .section-content-form,
        .section-content-modern {
            padding: 16px 18px !important;
        }

        /* Form groups */
        .form-group-modern {
            margin-bottom: 1rem !important;
        }

        /* Cards with actions */
        .card-header-modern {
            padding: 16px 20px !important;
        }

        .card-body-modern {
            padding: 16px 20px !important;
        }

       

        main {
            margin-left: 240px !important;
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        .modern-sidebar.collapsed {
            width: 80px !important;
        }

        body.sidebar-collapsed main {
            margin-left: 80px !important;
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        /* Adjust main content when collapsed sidebar is hovered */
        body.sidebar-collapsed.sidebar-hovered main {
            margin-left: 280px !important;
        }

        [dir="rtl"] body.sidebar-collapsed main {
            margin-right: 80px !important;
            margin-left: 0 !important;
        }

        [dir="rtl"] body.sidebar-collapsed.sidebar-hovered main {
            margin-right: 280px !important;
            margin-left: 0 !important;
        }

        /* Reduce spacing in lists */
        .metismenu li {
            padding: 4px 12px !important;
        }

        .metismenu a {
            padding: 10px 14px !important;
            font-size: 0.875rem !important;
        }

        /* Topbar adjustments */
        .modern-topbar {
            padding: 12px 16px !important;
        }

        .navbar-brand img {
            max-height: 40px !important;
        }

        /* Notification and message dropdowns */
        .modern-dropdown {
            min-width: 280px !important;
            max-width: 320px !important;
        }

        /* Stats preview cards */
        .stats-preview-card {
            padding: 14px !important;
        }

        /* Tasks list */
        .tasks-list {
            padding: 12px !important;
        }

        .task-item {
            padding: 12px 14px !important;
        }

        /* Search sections */
        .search-section {
            padding: 14px 16px !important;
        }

        /* Permissions grid */
        .permissions-grid {
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
            gap: 12px !important;
        }

        /* Chart containers */
        .chart-container {
            padding: 16px !important;
        }
    }

    /* Additional Small Screen Optimizations (1024px - 1366px) */
    @media (max-width: 1366px) and (min-width: 1024px) {
        /* Reduce minimum widths */
        .modern-dashboard-card {
            min-width: auto !important;
        }

        /* Better text wrapping */
        .card-title,
        .card-subtitle {
            word-break: break-word;
        }

        /* Tighter spacing */
        .row {
            margin-left: -10px;
            margin-right: -10px;
        }

        .row > * {
            padding-left: 10px;
            padding-right: 10px;
        }

        /* Compact form layouts */
        .form-row,
        .row.g-3 {
            margin-left: -8px;
            margin-right: -8px;
        }

        .form-row > *,
        .row.g-3 > * {
            padding-left: 8px;
            padding-right: 8px;
        }

        /* Better table scrolling */
        .table-responsive {
            position: relative;
        }

        .table-responsive::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            width: 20px;
            background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .table-responsive:hover::after {
            opacity: 1;
        }
    }

    /* Scale down base font size slightly on smaller screens */
    @media (max-width: 1440px) and (min-width: 1024px) {
        html {
            font-size: 15px;
        }

        /* Ensure containers use available space */
        .container {
            max-width: 96% !important;
        }

        .feature-announcement-banner {
            max-width: 1400px !important;
        }
    }

    /* Extra Large Screens (above 1600px) */
    @media (min-width: 1601px) {
        .container {
            max-width: 98%;
            padding-left: 30px;
            padding-right: 30px;
        }

        .feature-announcement-banner {
            max-width: 1600px;
        }
    }

    /* Remove duplicate font-size rule - already handled in small screens section above */

    /* Ensure proper scrolling for tables */
    @media (max-width: 1600px) {
        .table-wrapper,
        .table-responsive {
            display: block;
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .table-wrapper table,
        .table-responsive table {
            width: 100%;
            margin-bottom: 0;
        }

        /* Add scroll indicator */
        .table-wrapper::-webkit-scrollbar,
        .table-responsive::-webkit-scrollbar {
            height: 8px;
        }

        .table-wrapper::-webkit-scrollbar-track,
        .table-responsive::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        .table-wrapper::-webkit-scrollbar-thumb,
        .table-responsive::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }

        .table-wrapper::-webkit-scrollbar-thumb:hover,
        .table-responsive::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
    }

    /* ============================================
       DARK MODE STYLES
       ============================================ */
    
    /* Smooth transition for dark mode */
    body,
    body * {
        transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* ============================================
       BASE HTML ELEMENT DARK MODE
       ============================================ */

    /* Dark Mode - Body & Main Containers */
    body.dark-mode {
        background-color: #1a1d21 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Structural Elements */
    body.dark-mode main,
    body.dark-mode section,
    body.dark-mode article,
    body.dark-mode aside,
    body.dark-mode header,
    body.dark-mode footer,
    body.dark-mode nav {
        background-color: #1a1d21 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Div Elements */
    body.dark-mode div {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Headings */
    body.dark-mode h1,
    body.dark-mode h2,
    body.dark-mode h3,
    body.dark-mode h4,
    body.dark-mode h5,
    body.dark-mode h6 {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Paragraph & Text */
    body.dark-mode p {
        color: #b0b3b8 !important;
    }

    body.dark-mode span {
        color: #e4e6eb !important;
    }

    body.dark-mode small {
        color: #718096 !important;
    }

    body.dark-mode strong,
    body.dark-mode b {
        color: #e4e6eb !important;
    }

    body.dark-mode em,
    body.dark-mode i:not(.fa):not(.fas):not(.far):not(.fab):not(.bx):not(.bxs):not(.bxl) {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Links */
    body.dark-mode a {
        color: #a3b8ff !important;
    }

    body.dark-mode a:hover {
        color: #c7d2fe !important;
    }

    body.dark-mode a.btn {
        color: inherit !important;
    }

    /* Dark Mode - Lists */
    body.dark-mode ul,
    body.dark-mode ol {
        color: #e4e6eb !important;
    }

    body.dark-mode li {
        color: #e4e6eb !important;
    }

    body.dark-mode dl,
    body.dark-mode dt,
    body.dark-mode dd {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Tables */
    body.dark-mode table {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
        background-color: #252830 !important;
    }

    body.dark-mode thead {
        background-color: #2d3136 !important;
    }

    body.dark-mode thead th {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode tbody {
        background-color: #252830 !important;
    }

    body.dark-mode tbody tr {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode tbody tr:nth-child(odd) {
        background-color: #2a2e35 !important;
    }

    body.dark-mode tbody tr:hover {
        background-color: #2d3136 !important;
    }

    body.dark-mode td,
    body.dark-mode th {
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
        background-color: inherit !important;
    }

    body.dark-mode tfoot {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode caption {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Forms */
    body.dark-mode form {
        color: #e4e6eb !important;
        background-color: transparent !important;
    }

    body.dark-mode label {
        color: #e4e6eb !important;
    }

    body.dark-mode input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]) {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode input::placeholder {
        color: #6c757d !important;
    }

    body.dark-mode input:focus {
        background-color: #353a42 !important;
        border-color: #667eea !important;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    }

    body.dark-mode textarea {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode textarea::placeholder {
        color: #6c757d !important;
    }

    body.dark-mode textarea:focus {
        background-color: #353a42 !important;
        border-color: #667eea !important;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    }

    body.dark-mode select {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode select:focus {
        background-color: #353a42 !important;
        border-color: #667eea !important;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    }

    body.dark-mode select option {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode fieldset {
        border-color: #3a3f47 !important;
        background-color: #252830 !important;
    }

    body.dark-mode legend {
        color: #e4e6eb !important;
    }

    body.dark-mode input[type="checkbox"],
    body.dark-mode input[type="radio"] {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode input[type="checkbox"]:checked,
    body.dark-mode input[type="radio"]:checked {
        background-color: #667eea !important;
        border-color: #667eea !important;
    }

    body.dark-mode input[type="range"] {
        background-color: #3a3f47 !important;
    }

    body.dark-mode input[type="file"] {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode input[type="file"]::file-selector-button {
        background-color: #3a3f47 !important;
        border-color: #4a4f57 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode button:not(.btn) {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Blockquote & Code */
    body.dark-mode blockquote {
        background-color: #252830 !important;
        border-color: #667eea !important;
        color: #b0b3b8 !important;
    }

    body.dark-mode pre {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode code {
        background-color: #2d3136 !important;
        color: #f6ad55 !important;
    }

    body.dark-mode kbd {
        background-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode samp {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Media Elements */
    body.dark-mode figure {
        background-color: transparent !important;
    }

    body.dark-mode figcaption {
        color: #b0b3b8 !important;
    }

    body.dark-mode img {
        opacity: 0.95 !important;
    }

    /* Dark Mode - Horizontal Rule */
    body.dark-mode hr {
        border-color: #3a3f47 !important;
        opacity: 0.5 !important;
    }

    /* Dark Mode - Details/Summary */
    body.dark-mode details {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode summary {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Address */
    body.dark-mode address {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Mark */
    body.dark-mode mark {
        background-color: rgba(246, 173, 85, 0.3) !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Abbr */
    body.dark-mode abbr {
        border-color: #b0b3b8 !important;
    }

    /* Dark Mode - Progress */
    body.dark-mode progress {
        background-color: #3a3f47 !important;
    }

    /* Dark Mode - Meter */
    body.dark-mode meter {
        background-color: #3a3f47 !important;
    }

    /* Dark Mode - Dialog */
    body.dark-mode dialog {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode dialog::backdrop {
        background-color: rgba(0, 0, 0, 0.7) !important;
    }

    /* Dark Mode - IFrame */
    body.dark-mode iframe {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .wrapper {
        background-color: #1a1d21 !important;
    }

    body.dark-mode main {
        background-color: #1a1d21 !important;
    }

    /* Dark Mode - Topbar/Navbar */
    body.dark-mode .modern-topbar {
        background: linear-gradient(135deg, #252830 0%, #1a1d21 100%) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-topbar .navbar-brand img {
        filter: brightness(0.9);
    }

    /* Dark Mode - Sidebar */
    body.dark-mode .modern-sidebar,
    body.dark-mode .sidebar-wrapper {
        background: linear-gradient(180deg, #252830 0%, #1a1d21 100%) !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-sidebar .nav-link,
    body.dark-mode .sidebar-wrapper .nav-link {
        color: #b0b3b8 !important;
    }

    body.dark-mode .modern-sidebar .nav-link:hover,
    body.dark-mode .sidebar-wrapper .nav-link:hover,
    body.dark-mode .modern-sidebar .nav-link.active,
    body.dark-mode .sidebar-wrapper .nav-link.active {
        background: rgba(102, 126, 234, 0.2) !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .metismenu a {
        color: #b0b3b8 !important;
    }

    body.dark-mode .metismenu a:hover,
    body.dark-mode .metismenu .mm-active > a {
        color: #e4e6eb !important;
        background: rgba(102, 126, 234, 0.15) !important;
    }

    /* Dark Mode - Cards */
    body.dark-mode .card,
    body.dark-mode .modern-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    body.dark-mode .card-header {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .card-footer {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Tables */
    body.dark-mode .table {
        color: #e4e6eb !important;
    }

    body.dark-mode .table thead th {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .table tbody tr {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .table tbody tr:hover {
        background-color: #2d3136 !important;
    }

    body.dark-mode .table td,
    body.dark-mode .table th {
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
        background-color: #2a2e35 !important;
    }

    /* Dark Mode - DataTables */
    body.dark-mode .dataTables_wrapper {
        color: #e4e6eb !important;
    }

    body.dark-mode .dataTables_wrapper .dataTables_length,
    body.dark-mode .dataTables_wrapper .dataTables_filter,
    body.dark-mode .dataTables_wrapper .dataTables_info,
    body.dark-mode .dataTables_wrapper .dataTables_paginate {
        color: #b0b3b8 !important;
    }

    body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button {
        color: #b0b3b8 !important;
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        background-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #ffffff !important;
        border-color: transparent !important;
    }

    /* Dark Mode - Form Inputs */
    body.dark-mode .form-control,
    body.dark-mode .form-select {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .form-control:focus,
    body.dark-mode .form-select:focus {
        background-color: #353a42 !important;
        border-color: #667eea !important;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    }

    body.dark-mode .form-control::placeholder {
        color: #6c757d !important;
    }

    body.dark-mode .input-group-text {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #b0b3b8 !important;
    }

    body.dark-mode label,
    body.dark-mode .form-label {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Select2 */
    body.dark-mode .select2-container--default .select2-selection--single,
    body.dark-mode .select2-container--default .select2-selection--multiple {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #e4e6eb !important;
    }

    body.dark-mode .select2-dropdown {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .select2-container--default .select2-results__option {
        color: #e4e6eb !important;
    }

    body.dark-mode .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background-color: #667eea !important;
    }

    body.dark-mode .select2-container--default .select2-search--dropdown .select2-search__field {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Dropdowns */
    body.dark-mode .dropdown-menu,
    body.dark-mode .modern-dropdown {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .dropdown-item {
        color: #e4e6eb !important;
    }

    body.dark-mode .dropdown-item:hover,
    body.dark-mode .dropdown-item:focus {
        background-color: #2d3136 !important;
        color: #ffffff !important;
    }

    body.dark-mode .dropdown-divider {
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modals */
    body.dark-mode .modal-content {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modal-header {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modal-header .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

    body.dark-mode .modal-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modal-footer {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Alerts */
    body.dark-mode .alert {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .alert-info {
        background-color: rgba(102, 126, 234, 0.2) !important;
        color: #a3b8ff !important;
    }

    body.dark-mode .alert-success {
        background-color: rgba(72, 187, 120, 0.2) !important;
        color: #68d391 !important;
    }

    body.dark-mode .alert-warning {
        background-color: rgba(237, 137, 54, 0.2) !important;
        color: #f6ad55 !important;
    }

    body.dark-mode .alert-danger {
        background-color: rgba(245, 101, 101, 0.2) !important;
        color: #fc8181 !important;
    }

    /* Dark Mode - Badges */
    body.dark-mode .badge.bg-light {
        background-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - List Groups */
    body.dark-mode .list-group-item {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .list-group-item:hover {
        background-color: #2d3136 !important;
    }

    /* Dark Mode - Progress Bars */
    body.dark-mode .progress {
        background-color: #2d3136 !important;
    }

    /* Dark Mode - Breadcrumbs */
    body.dark-mode .breadcrumb {
        background-color: #2d3136 !important;
    }

    body.dark-mode .breadcrumb-item,
    body.dark-mode .breadcrumb-item a {
        color: #b0b3b8 !important;
    }

    body.dark-mode .breadcrumb-item.active {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Pagination */
    body.dark-mode .page-link {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #b0b3b8 !important;
    }

    body.dark-mode .page-link:hover {
        background-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .page-item.active .page-link {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: transparent !important;
    }

    /* Dark Mode - Text Colors */
    body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
    body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
        color: #e4e6eb !important;
    }

    body.dark-mode p {
        color: #b0b3b8 !important;
    }

    body.dark-mode .text-muted {
        color: #718096 !important;
    }

    body.dark-mode .text-dark {
        color: #e4e6eb !important;
    }

    body.dark-mode a:not(.btn) {
        color: #a3b8ff !important;
    }

    body.dark-mode a:not(.btn):hover {
        color: #c7d2fe !important;
    }

    /* Dark Mode - Borders */
    body.dark-mode .border,
    body.dark-mode [class*="border-"] {
        border-color: #3a3f47 !important;
    }

    body.dark-mode hr {
        border-color: #3a3f47 !important;
        opacity: 0.5;
    }

    /* Dark Mode - Shadows */
    body.dark-mode .shadow,
    body.dark-mode .shadow-sm,
    body.dark-mode .shadow-lg {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    /* Dark Mode - Container */
    body.dark-mode .container,
    body.dark-mode .container-fluid {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Stats Cards */
    body.dark-mode .stat-card,
    body.dark-mode .stats-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Chart Backgrounds */
    body.dark-mode canvas {
        filter: brightness(0.95);
    }

    /* Dark Mode - Custom Scrollbar */
    body.dark-mode ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    body.dark-mode ::-webkit-scrollbar-track {
        background: #1a1d21;
    }

    body.dark-mode ::-webkit-scrollbar-thumb {
        background: #3a3f47;
        border-radius: 4px;
    }

    body.dark-mode ::-webkit-scrollbar-thumb:hover {
        background: #4a4f57;
    }

    /* Dark Mode - SweetAlert2 */
    body.dark-mode .swal2-popup {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .swal2-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .swal2-html-container {
        color: #b0b3b8 !important;
    }

    body.dark-mode .swal2-input {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Toast Notifications */
    body.dark-mode .toast {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .toast-header {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .toast-body {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Lobibox Notifications */
    body.dark-mode .lobibox-notify {
        background-color: #252830 !important;
    }

    /* Dark Mode - Feature Banner */
    body.dark-mode .feature-announcement-banner {
        background: linear-gradient(135deg, #4c51bf 0%, #553c9a 100%) !important;
    }

    /* Dark Mode - Tabs */
    body.dark-mode .nav-tabs {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .nav-tabs .nav-link {
        color: #b0b3b8 !important;
    }

    body.dark-mode .nav-tabs .nav-link:hover {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .nav-tabs .nav-link.active {
        background-color: #252830 !important;
        border-color: #3a3f47 #3a3f47 #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Accordion */
    body.dark-mode .accordion-item {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .accordion-button {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .accordion-button:not(.collapsed) {
        background-color: rgba(102, 126, 234, 0.2) !important;
        color: #a3b8ff !important;
    }

    body.dark-mode .accordion-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Apps Grid */
    body.dark-mode .modern-apps-grid .app-link {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-app-title {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Tooltip */
    body.dark-mode .tooltip-inner {
        background-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Popover */
    body.dark-mode .popover {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .popover-header {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .popover-body {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Cards (admin-custom.css overrides) */
    body.dark-mode .modern-card {
        background: #252830 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .card-link:hover .modern-card {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
    }

    body.dark-mode .modern-card .card-header {
        background: transparent !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-card .card-body {
        background: transparent !important;
    }

    body.dark-mode .modern-card .card-footer {
        background: transparent !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-card .card-title,
    body.dark-mode .modern-card .card-count,
    body.dark-mode .modern-card h3,
    body.dark-mode .modern-card h4 {
        color: #e4e6eb !important;
    }

    body.dark-mode .card-value-modern {
        color: #e4e6eb !important;
    }

    body.dark-mode .card-title-modern {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Stat Cards */
    body.dark-mode .stat-card,
    body.dark-mode .stats-card,
    body.dark-mode [class*="stat-card-"] {
        background: #252830 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .stat-footer {
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Soft Background Colors */
    body.dark-mode .bg-success-soft {
        background: rgba(34, 197, 94, 0.2) !important;
    }

    body.dark-mode .bg-info-soft {
        background: rgba(56, 189, 248, 0.2) !important;
    }

    body.dark-mode .bg-danger-soft {
        background: rgba(239, 68, 68, 0.2) !important;
    }

    body.dark-mode .bg-warning-soft {
        background: rgba(245, 158, 66, 0.2) !important;
    }

    body.dark-mode .bg-primary-soft {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    /* Dark Mode - Icon Boxes in Cards */
    body.dark-mode .stat-icon-wrapper .icon-box {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    /* Dark Mode - Modern Alerts */
    body.dark-mode .alert-modern {
        background: #2d3136 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    }

    /* Dark Mode - Modern Buttons */
    body.dark-mode .modern-btn {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    body.dark-mode .modern-btn:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    }

    /* Dark Mode - Card Links */
    body.dark-mode .card-link {
        color: #e4e6eb !important;
    }

    body.dark-mode .card-link:hover {
        color: #ffffff !important;
    }

    /* Dark Mode - Dashboard Widgets */
    body.dark-mode .widget,
    body.dark-mode .dashboard-widget {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Info Boxes */
    body.dark-mode .info-box {
        background: #252830 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    body.dark-mode .info-box-content h4,
    body.dark-mode .info-box-content p {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Quick Action Cards */
    body.dark-mode .quick-action-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .quick-action-card:hover {
        background: #2d3136 !important;
    }

    /* Dark Mode - Profile Cards */
    body.dark-mode .profile-card,
    body.dark-mode .user-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Calendar/Schedule Cards */
    body.dark-mode .schedule-card,
    body.dark-mode .calendar-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Today Section Cards */
    body.dark-mode .today-section .card,
    body.dark-mode .today-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Gradient Headers in Cards */
    body.dark-mode .card .gradient-header,
    body.dark-mode .gradient-header {
        opacity: 0.9;
    }

    /* Dark Mode - Chart Containers */
    body.dark-mode .chart-container,
    body.dark-mode .chart-wrapper {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Empty State */
    body.dark-mode .empty-state {
        color: #b0b3b8 !important;
    }

    body.dark-mode .empty-state i {
        color: #4a4f57 !important;
    }

    /* Dark Mode - Loading State */
    body.dark-mode .loading-overlay {
        background: rgba(26, 29, 33, 0.8) !important;
    }

    /* Dark Mode - Background utilities */
    body.dark-mode .bg-white {
        background-color: #252830 !important;
    }

    body.dark-mode .bg-light {
        background-color: #2d3136 !important;
    }

    /* Dark Mode - Panel/Box styles */
    body.dark-mode .panel,
    body.dark-mode .box {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .panel-heading,
    body.dark-mode .box-header {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .panel-body,
    body.dark-mode .box-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .panel-footer,
    body.dark-mode .box-footer {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Roles Card */
    body.dark-mode .modern-roles-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-roles-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-roles-card .card-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-roles-card .card-title,
    body.dark-mode .modern-roles-card h5,
    body.dark-mode .modern-roles-card h4 {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Roles Table */
    body.dark-mode .modern-roles-table {
        background: #252830 !important;
    }

    body.dark-mode .modern-roles-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-roles-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-roles-table tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-roles-table td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Search Container */
    body.dark-mode .modern-search-container {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    body.dark-mode .modern-search-container input,
    body.dark-mode .modern-search-container .form-control {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-search-container input::placeholder {
        color: #6c757d !important;
    }

    body.dark-mode .modern-search-container .search-icon,
    body.dark-mode .modern-search-container i {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Modern Dashboard Card (all variants) */
    body.dark-mode .modern-dashboard-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-dashboard-card.lime {
        background: linear-gradient(135deg, #252830 0%, #2d3136 100%) !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-dashboard-card.lime::before {
        background: linear-gradient(90deg, #84cc16, #65a30d) !important;
    }

    body.dark-mode .modern-dashboard-card .card-body {
        background: transparent !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-dashboard-card h3,
    body.dark-mode .modern-dashboard-card h4,
    body.dark-mode .modern-dashboard-card h5,
    body.dark-mode .modern-dashboard-card .card-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-dashboard-card p,
    body.dark-mode .modern-dashboard-card .card-text {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Sewing Card */
    body.dark-mode .sewing-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .sewing-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .sewing-card .card-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .sewing-card .card-footer {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .sewing-card h3,
    body.dark-mode .sewing-card h4,
    body.dark-mode .sewing-card h5,
    body.dark-mode .sewing-card .card-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .sewing-card p,
    body.dark-mode .sewing-card .text-muted {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Info Card Body */
    body.dark-mode .info-card-body {
        background: #252830 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .info-card-body h1,
    body.dark-mode .info-card-body h2,
    body.dark-mode .info-card-body h3,
    body.dark-mode .info-card-body h4,
    body.dark-mode .info-card-body h5,
    body.dark-mode .info-card-body h6 {
        color: #e4e6eb !important;
    }

    body.dark-mode .info-card-body p,
    body.dark-mode .info-card-body span,
    body.dark-mode .info-card-body .text-muted {
        color: #b0b3b8 !important;
    }

    body.dark-mode .info-card-body .info-label {
        color: #718096 !important;
    }

    body.dark-mode .info-card-body .info-value {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Packages Table Card */
    body.dark-mode .modern-packages-table-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-packages-table-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-packages-table-card .card-body {
        background: #252830 !important;
    }

    body.dark-mode .modern-packages-table-card table {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-packages-table-card thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-packages-table-card tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-packages-table-card tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-packages-table-card td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-packages-table-card .card-title {
        color: #e4e6eb !important;
    }

    /* ============================================
       COMPREHENSIVE DARK MODE - ALL VIEW CLASSES
       ============================================ */

    /* Dark Mode - Sewing Card Components */
    body.dark-mode .sewing-card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .sewing-card-header .header-title,
    body.dark-mode .sewing-card-header .header-subtitle {
        color: #e4e6eb !important;
    }

    body.dark-mode .sewing-card-header .header-subtitle {
        color: #b0b3b8 !important;
    }

    body.dark-mode .sewing-card-body {
        background: #252830 !important;
    }

    /* Dark Mode - Stat Cards (all variants) */
    body.dark-mode .stat-pending,
    body.dark-mode .stat-progress,
    body.dark-mode .stat-ready,
    body.dark-mode .stat-completed {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .stats-container {
        background: transparent !important;
    }

    /* Dark Mode - Info Card */
    body.dark-mode .info-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .info-card-header {
        background: linear-gradient(135deg, #2d3136 0%, #353a42 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Status Card */
    body.dark-mode .status-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .status-card-header {
        background: linear-gradient(135deg, #2d3136 0%, #353a42 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .status-card-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Dashboard Card (all color variants) */
    body.dark-mode .modern-dashboard-card.green,
    body.dark-mode .modern-dashboard-card.blue,
    body.dark-mode .modern-dashboard-card.purple,
    body.dark-mode .modern-dashboard-card.teal,
    body.dark-mode .modern-dashboard-card.pink,
    body.dark-mode .modern-dashboard-card.red,
    body.dark-mode .modern-dashboard-card.orange,
    body.dark-mode .modern-dashboard-card.cyan,
    body.dark-mode .modern-dashboard-card.emerald {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .dashboard-card-link {
        color: #e4e6eb !important;
    }

    body.dark-mode .dashboard-card-link:hover {
        color: #ffffff !important;
    }

    body.dark-mode .card-content {
        color: #e4e6eb !important;
    }

    body.dark-mode .card-content .card-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .card-content .card-subtitle {
        color: #b0b3b8 !important;
    }

    body.dark-mode .card-content .card-count {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Sewing Container */
    body.dark-mode .modern-sewing-container {
        background: #1a1d21 !important;
    }

    body.dark-mode .modern-sewing-table {
        background: #252830 !important;
    }

    body.dark-mode .modern-sewing-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-sewing-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-sewing-table tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-sewing-table td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Packages Header */
    body.dark-mode .modern-packages-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .packages-header-content {
        color: #e4e6eb !important;
    }

    body.dark-mode .packages-icon-wrapper {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    /* Dark Mode - Modern Dashboard Header */
    body.dark-mode .modern-dashboard-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .dashboard-header-content {
        color: #e4e6eb !important;
    }

    body.dark-mode .dashboard-icon-wrapper {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    /* Dark Mode - Header Components */
    body.dark-mode .header-content {
        color: #e4e6eb !important;
    }

    body.dark-mode .header-icon-wrapper {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    body.dark-mode .header-text .header-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .header-text .header-subtitle {
        color: #b0b3b8 !important;
    }

    body.dark-mode .header-badge {
        background: rgba(102, 126, 234, 0.2) !important;
        color: #a3b8ff !important;
    }

    body.dark-mode .header-actions .btn {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .btn-header-action {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .btn-header-action:hover {
        background: #353a42 !important;
        color: #ffffff !important;
    }

    body.dark-mode .btn-header-action.secondary {
        background: #252830 !important;
    }

    /* Dark Mode - Table Wrapper */
    body.dark-mode .table-wrapper {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .table-wrapper-modern {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Reservations */
    body.dark-mode .modern-reservations-table-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-reservations-table {
        background: #252830 !important;
    }

    body.dark-mode .modern-reservations-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-reservations-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-reservations-table tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-reservations-table td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Attendance Table */
    body.dark-mode .modern-attendance-table {
        background: #252830 !important;
    }

    body.dark-mode .modern-attendance-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-attendance-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-attendance-table tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-attendance-table td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Table Custom (Feedback) */
    body.dark-mode .table-custom {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .table-custom thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .table-custom tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .table-custom tbody tr:hover {
        background: #2d3136 !important;
    }

    /* Dark Mode - Modern Data Table Card */
    body.dark-mode .modern-data-table-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .data-table-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .data-table-body {
        background: #252830 !important;
    }

    body.dark-mode .modern-details-table {
        background: #252830 !important;
    }

    body.dark-mode .modern-details-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-details-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-details-table tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-details-table td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Professional Table */
    body.dark-mode .professional-table-wrapper {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .professional-table {
        background: #252830 !important;
    }

    body.dark-mode .professional-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .professional-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .professional-table tbody tr:hover {
        background: #2d3136 !important;
    }

    /* Dark Mode - Modern Report Table */
    body.dark-mode .table-container {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-report-table {
        background: #252830 !important;
    }

    body.dark-mode .modern-report-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-report-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-report-table tbody tr:hover {
        background: #2d3136 !important;
    }

    /* Dark Mode - Modern Packages Table */
    body.dark-mode .modern-packages-table {
        background: #252830 !important;
    }

    body.dark-mode .modern-packages-table thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-packages-table tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-packages-table tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-packages-table td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Dropdown Header Modern (Navbar) */
    body.dark-mode .dropdown-header-modern {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .dropdown-header-modern .header-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .dropdown-header-modern .header-icon {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    /* Dark Mode - Modern Notifications List */
    body.dark-mode .modern-notifications-list {
        background: #252830 !important;
    }

    body.dark-mode .modern-notification-item {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-notification-item:hover {
        background: #2d3136 !important;
    }

    /* Dark Mode - Modern Messages List */
    body.dark-mode .modern-messages-list {
        background: #252830 !important;
    }

    body.dark-mode .modern-message-item {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-message-item:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .message-content-wrapper {
        color: #e4e6eb !important;
    }

    body.dark-mode .message-header {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern User Dropdown */
    body.dark-mode .modern-user-menu {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .user-menu-header {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-dropdown-item {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-dropdown-item:hover {
        background: #2d3136 !important;
        color: #ffffff !important;
    }

    /* Dark Mode - Search Box Wrapper */
    body.dark-mode .search-box-wrapper {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-search-input {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-search-input::placeholder {
        color: #6c757d !important;
    }

    /* Dark Mode - Card Icon Wrappers (all colors) */
    body.dark-mode .card-icon-wrapper {
        opacity: 0.9;
    }

    /* Dark Mode - Icon Wrapper Notifications/Messages */
    body.dark-mode .nav-icon-wrapper {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    /* Dark Mode - Notifications/Messages Dropdown */
    body.dark-mode .notifications-dropdown,
    body.dark-mode .messages-dropdown {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - General View Containers */
    body.dark-mode .view-container,
    body.dark-mode .page-container,
    body.dark-mode .content-container {
        background: #1a1d21 !important;
    }

    /* Dark Mode - Section Headers */
    body.dark-mode .section-header,
    body.dark-mode .page-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Filter/Action Bars */
    body.dark-mode .filter-bar,
    body.dark-mode .action-bar,
    body.dark-mode .toolbar {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Empty States */
    body.dark-mode .no-data,
    body.dark-mode .empty-message,
    body.dark-mode .no-results {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Stat Values and Labels */
    body.dark-mode .stat-value,
    body.dark-mode .stat-number,
    body.dark-mode .stat-count {
        color: #e4e6eb !important;
    }

    body.dark-mode .stat-label,
    body.dark-mode .stat-title {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Icon Wrappers in Stats */
    body.dark-mode .stat-icon-wrapper {
        opacity: 0.9;
    }

    /* Dark Mode - Action Buttons in Cards */
    body.dark-mode .card-actions .btn-outline-secondary,
    body.dark-mode .card-actions .btn-outline-primary {
        border-color: #3a3f47 !important;
        color: #b0b3b8 !important;
    }

    body.dark-mode .card-actions .btn-outline-secondary:hover,
    body.dark-mode .card-actions .btn-outline-primary:hover {
        background: #2d3136 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Client/User Info Sections */
    body.dark-mode .client-info,
    body.dark-mode .user-info,
    body.dark-mode .profile-info {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Timeline/Activity */
    body.dark-mode .timeline,
    body.dark-mode .activity-feed {
        background: #252830 !important;
    }

    body.dark-mode .timeline-item,
    body.dark-mode .activity-item {
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Comments Section */
    body.dark-mode .comments-section,
    body.dark-mode .comment-item {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .comment-item.admin-comment {
        background: #2a3040 !important;
    }

    body.dark-mode .comment-item.user-comment {
        background: #2d3136 !important;
    }

    /* Dark Mode - Form Cards */
    body.dark-mode .form-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .form-card .card-header {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Well/Jumbotron */
    body.dark-mode .well,
    body.dark-mode .jumbotron {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Content Boxes */
    body.dark-mode .content-box,
    body.dark-mode .data-box,
    body.dark-mode .summary-box {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Dividers */
    body.dark-mode .divider {
        background: #3a3f47 !important;
    }

    /* Dark Mode - Labels in Forms/Details */
    body.dark-mode .detail-label,
    body.dark-mode .field-label {
        color: #718096 !important;
    }

    body.dark-mode .detail-value,
    body.dark-mode .field-value {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Status Indicators */
    body.dark-mode .status-indicator {
        box-shadow: 0 0 0 3px rgba(37, 40, 48, 0.5) !important;
    }

    /* Dark Mode - Toolbar/Action Row */
    body.dark-mode .btn-toolbar,
    body.dark-mode .action-row {
        background: #252830 !important;
    }

    /* Dark Mode - Code/Pre blocks */
    body.dark-mode pre,
    body.dark-mode code {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Blockquote */
    body.dark-mode blockquote {
        background: #252830 !important;
        border-color: #667eea !important;
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Footer */
    body.dark-mode footer,
    body.dark-mode .page-footer {
        background: #1a1d21 !important;
        border-color: #3a3f47 !important;
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Loader/Spinner Containers */
    body.dark-mode .loader-container,
    body.dark-mode .spinner-container {
        background: rgba(26, 29, 33, 0.9) !important;
    }

    /* ============================================
       FORMS, TABLES, CARDS - ADDITIONAL STYLES
       ============================================ */

    /* Dark Mode - Modern Package Form Card */
    body.dark-mode .modern-package-form-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-package-create-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Form Sections */
    body.dark-mode .form-section-modern {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .section-header-form {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .section-content-form {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .form-group-modern {
        background: transparent !important;
    }

    body.dark-mode .form-submit-section {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Form Labels Styled */
    body.dark-mode .form-label-styled {
        color: #e4e6eb !important;
    }

    body.dark-mode .form-label-styled i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - Form Control Styled */
    body.dark-mode .form-control-styled {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .form-control-styled:focus {
        background: #353a42 !important;
        border-color: #667eea !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .form-control-styled::placeholder {
        color: #6c757d !important;
    }

    /* Dark Mode - Form Header Content */
    body.dark-mode .form-header-content {
        color: #e4e6eb !important;
    }

    body.dark-mode .form-icon-wrapper {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    body.dark-mode .form-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .form-subtitle {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Modern Filter Section */
    body.dark-mode .modern-filter-section {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Settings Section */
    body.dark-mode .settings-section {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .settings-section .section-header {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .settings-section .section-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .settings-section .section-icon {
        color: #a3b8ff !important;
    }

    body.dark-mode .settings-section .section-content {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Search Section */
    body.dark-mode .search-section {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .search-section h5 {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Page Header Box */
    body.dark-mode .page-header-box {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Master Toggle Box */
    body.dark-mode .master-toggle-box {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - App Box */
    body.dark-mode .app-box {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    /* Dark Mode - Modern App Box */
    body.dark-mode .modern-app-box {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    /* Dark Mode - Notification Content Box */
    body.dark-mode .notification-content-box {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - User Avatar/Info Box */
    body.dark-mode .user-avatar-box {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .user-info-box {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Checkbox Custom */
    body.dark-mode .column-checkbox {
        color: #e4e6eb !important;
    }

    body.dark-mode .checkbox-custom {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Task List/Items */
    body.dark-mode .tasks-list {
        background: #252830 !important;
    }

    body.dark-mode .task-item {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .task-item:hover {
        background: #353a42 !important;
    }

    body.dark-mode .task-item.completed {
        background: rgba(34, 197, 94, 0.1) !important;
    }

    body.dark-mode .task-checkbox-wrapper {
        background: transparent !important;
    }

    body.dark-mode .task-checkbox {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - App Item */
    body.dark-mode .app-item {
        color: #e4e6eb !important;
    }

    body.dark-mode .app-item:hover {
        background: rgba(102, 126, 234, 0.1) !important;
    }

    /* Dark Mode - Item Icon */
    body.dark-mode .item-icon {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    body.dark-mode .item-icon.logout {
        background: rgba(239, 68, 68, 0.2) !important;
    }

    /* Dark Mode - Info Item */
    body.dark-mode .info-item {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .info-item label {
        color: #718096 !important;
    }

    body.dark-mode .info-item span,
    body.dark-mode .info-item p {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Measurement List/Item */
    body.dark-mode .measurements-list {
        background: #252830 !important;
    }

    body.dark-mode .measurement-item {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - User Info Item */
    body.dark-mode .user-info-item {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Packages Title/Subtitle */
    body.dark-mode .packages-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .packages-subtitle {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Stats Preview Arrow */
    body.dark-mode .stats-preview-arrow {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Expired Alert */
    body.dark-mode .expired-alert {
        background: rgba(239, 68, 68, 0.2) !important;
        border-color: #dc2626 !important;
        color: #fc8181 !important;
    }

    /* Dark Mode - Bootstrap bg-light, bg-primary-subtle override */
    body.dark-mode .bg-primary-subtle {
        background: rgba(102, 126, 234, 0.2) !important;
    }

    body.dark-mode .bg-secondary-subtle {
        background: rgba(108, 117, 125, 0.2) !important;
    }

    body.dark-mode .bg-success-subtle {
        background: rgba(34, 197, 94, 0.2) !important;
    }

    body.dark-mode .bg-danger-subtle {
        background: rgba(239, 68, 68, 0.2) !important;
    }

    body.dark-mode .bg-warning-subtle {
        background: rgba(245, 158, 66, 0.2) !important;
    }

    body.dark-mode .bg-info-subtle {
        background: rgba(56, 189, 248, 0.2) !important;
    }

    /* Dark Mode - Form Text Muted */
    body.dark-mode .form-text {
        color: #6c757d !important;
    }

    /* Dark Mode - Input Group */
    body.dark-mode .input-group {
        background: transparent !important;
    }

    body.dark-mode .input-group .form-control,
    body.dark-mode .input-group .form-select {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .input-group .btn {
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - File Input */
    body.dark-mode input[type="file"].form-control,
    body.dark-mode input[type="file"].form-control-styled {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode input[type="file"]::file-selector-button {
        background: #3a3f47 !important;
        border-color: #4a4f57 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Range Input */
    body.dark-mode input[type="range"] {
        background: #3a3f47 !important;
    }

    /* Dark Mode - Checkbox/Radio */
    body.dark-mode .form-check-input {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .form-check-input:checked {
        background-color: #667eea !important;
        border-color: #667eea !important;
    }

    body.dark-mode .form-check-label {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Switch */
    body.dark-mode .form-switch .form-check-input {
        background-color: #3a3f47 !important;
    }

    body.dark-mode .form-switch .form-check-input:checked {
        background-color: #667eea !important;
    }

    /* Dark Mode - Nav Pills/Tabs in Cards */
    body.dark-mode .nav-pills .nav-link {
        color: #b0b3b8 !important;
    }

    body.dark-mode .nav-pills .nav-link.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #ffffff !important;
    }

    body.dark-mode .nav-pills .nav-link:hover:not(.active) {
        background: #2d3136 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Tab Content */
    body.dark-mode .tab-content {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .tab-pane {
        background: #252830 !important;
    }

    /* Dark Mode - Card with Tabs */
    body.dark-mode .card .nav-tabs {
        border-color: #3a3f47 !important;
        background: #2d3136 !important;
    }

    /* Dark Mode - Sidebar Link Active States */
    body.dark-mode .sidebar-link.active,
    body.dark-mode .sidebar-link:hover {
        background: rgba(102, 126, 234, 0.15) !important;
    }

    /* Dark Mode - OffCanvas */
    body.dark-mode .offcanvas {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .offcanvas-header {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .offcanvas-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .offcanvas-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

    /* Dark Mode - Calendar */
    body.dark-mode .fc {
        background: #252830 !important;
    }

    body.dark-mode .fc-toolbar-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .fc-col-header-cell {
        background: #2d3136 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .fc-daygrid-day {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .fc-daygrid-day:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .fc-day-today {
        background: rgba(102, 126, 234, 0.15) !important;
    }

    body.dark-mode .fc-scrollgrid {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .fc-theme-standard td,
    body.dark-mode .fc-theme-standard th {
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Chat */
    body.dark-mode .chat-container {
        background: #252830 !important;
    }

    body.dark-mode .chat-sidebar {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .chat-main {
        background: #252830 !important;
    }

    body.dark-mode .chat-header {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .chat-messages {
        background: #1a1d21 !important;
    }

    body.dark-mode .message-bubble {
        background: #2d3136 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .message-bubble.sent {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #ffffff !important;
    }

    body.dark-mode .chat-input-area {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Quick Stats */
    body.dark-mode .quick-stats {
        background: #252830 !important;
    }

    body.dark-mode .quick-stat-item {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Gallery/Lightbox */
    body.dark-mode .gallery-item {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .gallery-overlay {
        background: rgba(26, 29, 33, 0.8) !important;
    }

    /* Dark Mode - Print Hide */
    @media print {
        body.dark-mode * {
            background: white !important;
            color: black !important;
        }
    }

    /* ============================================
       ADDITIONAL CARD CLASSES
       ============================================ */

    /* Dark Mode - Modern Add Client Card */
    body.dark-mode .modern-add-client-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-add-client-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-add-client-card .card-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-add-client-card .card-footer {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-add-client-card .card-title,
    body.dark-mode .modern-add-client-card h4,
    body.dark-mode .modern-add-client-card h5 {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-add-client-card label {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Table Card */
    body.dark-mode .modern-table-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-table-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-table-card .card-body {
        background: #252830 !important;
    }

    body.dark-mode .modern-table-card .card-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-table-card table {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-table-card thead th {
        background: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-table-card tbody tr {
        background: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-table-card tbody tr:hover {
        background: #2d3136 !important;
    }

    body.dark-mode .modern-table-card td {
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Subscription Form Card */
    body.dark-mode .modern-subscription-form-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-subscription-form-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-subscription-form-card .card-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-subscription-form-card .card-footer {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-subscription-form-card .card-title,
    body.dark-mode .modern-subscription-form-card h4,
    body.dark-mode .modern-subscription-form-card h5 {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-subscription-form-card label {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-subscription-form-card .form-control,
    body.dark-mode .modern-subscription-form-card .form-select {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Report Gen Card */
    body.dark-mode .modern-report-gen-card {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-report-gen-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-report-gen-card .card-body {
        background: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-report-gen-card .card-title,
    body.dark-mode .modern-report-gen-card h4,
    body.dark-mode .modern-report-gen-card h5 {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-report-gen-card label {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-report-gen-card .form-control,
    body.dark-mode .modern-report-gen-card .form-select {
        background: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Chart Card Header */
    body.dark-mode .chart-card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .chart-card-header h4,
    body.dark-mode .chart-card-header h5,
    body.dark-mode .chart-card-header .card-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .chart-card-header i {
        color: #a3b8ff !important;
    }

    body.dark-mode .chart-card-header .btn-group .btn {
        background: #252830 !important;
        border-color: #3a3f47 !important;
        color: #b0b3b8 !important;
    }

    body.dark-mode .chart-card-header .btn-group .btn:hover,
    body.dark-mode .chart-card-header .btn-group .btn.active {
        background: #667eea !important;
        color: #ffffff !important;
    }

    /* ============================================
       ADDITIONAL SPECIFIC CLASSES
       ============================================ */

    /* Dark Mode - Header Actions */
    body.dark-mode .header-actions {
        background-color: transparent !important;
    }

    body.dark-mode .header-actions .btn {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .header-actions .btn:hover {
        background-color: #353a42 !important;
        color: #ffffff !important;
    }

    body.dark-mode .header-actions .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: transparent !important;
        color: #ffffff !important;
    }

    /* Dark Mode - Alarms Card Body */
    body.dark-mode .alarms-card-body {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .alarms-card-body .alarm-item {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .alarms-card-body .alarm-item:hover {
        background-color: #353a42 !important;
    }

    /* Dark Mode - Attendance Stats Preview Card */
    body.dark-mode .attendance-stats-preview-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .attendance-stats-preview-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .attendance-stats-preview-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .attendance-stats-preview-card .stat-value {
        color: #e4e6eb !important;
    }

    body.dark-mode .attendance-stats-preview-card .stat-label {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Package Types Grid */
    body.dark-mode .package-types-grid {
        background-color: transparent !important;
    }

    body.dark-mode .package-types-grid .package-type-item {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .package-types-grid .package-type-item:hover {
        background-color: #2d3136 !important;
        border-color: #667eea !important;
    }

    body.dark-mode .package-types-grid .package-type-item.active {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
    }

    /* Dark Mode - Wallet Checkbox Wrapper */
    body.dark-mode .wallet-checkbox-wrapper {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .wallet-checkbox-wrapper:hover {
        background-color: #353a42 !important;
    }

    body.dark-mode .wallet-checkbox-wrapper.selected {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
    }

    body.dark-mode .wallet-checkbox-wrapper label {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Progress Card */
    body.dark-mode .modern-progress-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-progress-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-progress-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-progress-card .progress {
        background-color: #3a3f47 !important;
    }

    /* Dark Mode - Card Style */
    body.dark-mode .card-style {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .card-style .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .card-style .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .card-style .card-footer {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Client Stat Card */
    body.dark-mode .modern-client-stat-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-client-stat-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-client-stat-card .stat-value {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-client-stat-card .stat-label {
        color: #b0b3b8 !important;
    }

    body.dark-mode .modern-client-stat-card.active-subscriptions {
        border-color: #22c55e !important;
    }

    body.dark-mode .modern-client-stat-card.expired-subscriptions {
        border-color: #ef4444 !important;
    }

    body.dark-mode .modern-client-stat-card.pending-subscriptions {
        border-color: #f59e42 !important;
    }

    /* Dark Mode - Modern Client Nav Tabs */
    body.dark-mode .modern-client-nav-tabs {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-client-nav-tabs .nav-link {
        background-color: transparent !important;
        color: #b0b3b8 !important;
        border-color: transparent !important;
    }

    body.dark-mode .modern-client-nav-tabs .nav-link:hover {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-client-nav-tabs .nav-link.active {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 #3a3f47 #252830 !important;
    }

    /* Dark Mode - Discount Type Group */
    body.dark-mode .discount-type-group {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .discount-type-group .btn {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #b0b3b8 !important;
    }

    body.dark-mode .discount-type-group .btn:hover {
        background-color: #353a42 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .discount-type-group .btn.active,
    body.dark-mode .discount-type-group .btn:checked + label {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: transparent !important;
        color: #ffffff !important;
    }

    body.dark-mode .discount-type-group label {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Roles Card Header */
    body.dark-mode .roles-card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .roles-card-header h4,
    body.dark-mode .roles-card-header h5 {
        color: #e4e6eb !important;
    }

    body.dark-mode .roles-card-header i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - Modern Form Card */
    body.dark-mode .modern-form-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-form-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-form-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-form-card .card-footer {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-form-card label {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-form-card .form-control,
    body.dark-mode .modern-form-card .form-select {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Report Gen Item */
    body.dark-mode .report-gen-item {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .report-gen-item:hover {
        background-color: #2d3136 !important;
        border-color: #667eea !important;
    }

    body.dark-mode .report-gen-item.active {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
    }

    body.dark-mode .report-gen-item label {
        color: #e4e6eb !important;
    }

    body.dark-mode .report-gen-item i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - Modern Section Toggle */
    body.dark-mode .modern-section-toggle {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-section-toggle:hover {
        background-color: #353a42 !important;
    }

    body.dark-mode .modern-section-toggle.active,
    body.dark-mode .modern-section-toggle.collapsed {
        background-color: #252830 !important;
    }

    body.dark-mode .modern-section-toggle h5,
    body.dark-mode .modern-section-toggle h6 {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-section-toggle i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - Modern Chart Card */
    body.dark-mode .modern-chart-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-chart-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-chart-card .card-body {
        background-color: #252830 !important;
    }

    body.dark-mode .modern-chart-card .card-title {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-chart-card canvas {
        filter: brightness(0.95) !important;
    }

    /* ============================================
       MORE SPECIFIC CLASSES
       ============================================ */

    /* Dark Mode - Quick Stat */
    body.dark-mode .quick-stat {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .quick-stat .stat-value {
        color: #e4e6eb !important;
    }

    body.dark-mode .quick-stat .stat-label {
        color: #b0b3b8 !important;
    }

    body.dark-mode .quick-stat .stat-icon {
        opacity: 0.9 !important;
    }

    /* Dark Mode - Modern Nav Tabs */
    body.dark-mode .modern-nav-tabs {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-nav-tabs.nav-tabs {
        border-bottom-color: #3a3f47 !important;
    }

    body.dark-mode .modern-nav-tabs .nav-item .nav-link {
        background-color: transparent !important;
        color: #b0b3b8 !important;
        border-color: transparent !important;
    }

    body.dark-mode .modern-nav-tabs .nav-item .nav-link:hover {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-nav-tabs .nav-item .nav-link.active {
        background-color: #2d3136 !important;
        color: #e4e6eb !important;
        border-color: #3a3f47 #3a3f47 #252830 !important;
    }

    /* Dark Mode - File Upload Label */
    body.dark-mode .file-upload-label {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .file-upload-label:hover {
        background-color: #353a42 !important;
        border-color: #667eea !important;
    }

    body.dark-mode .file-upload-label i {
        color: #a3b8ff !important;
    }

    body.dark-mode .file-upload-label span {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Photo Source Button */
    body.dark-mode .photo-source-btn {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .photo-source-btn:hover {
        background-color: #353a42 !important;
        border-color: #667eea !important;
    }

    body.dark-mode .photo-source-btn.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: transparent !important;
        color: #ffffff !important;
    }

    body.dark-mode .photo-source-btn i {
        color: inherit !important;
    }

    /* Dark Mode - Package Type Content */
    body.dark-mode .package-type-content {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .package-type-content h5,
    body.dark-mode .package-type-content h6 {
        color: #e4e6eb !important;
    }

    body.dark-mode .package-type-content p {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Modern Filter Card */
    body.dark-mode .modern-filter-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-filter-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-filter-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-filter-card label {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-filter-card .form-control,
    body.dark-mode .modern-filter-card .form-select {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Form Section */
    body.dark-mode .form-section {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .form-section .section-title,
    body.dark-mode .form-section h5,
    body.dark-mode .form-section h6 {
        color: #e4e6eb !important;
    }

    body.dark-mode .form-section label {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Permissions Wrapper */
    body.dark-mode .permissions-wrapper {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Permission Label */
    body.dark-mode .permission-label {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .permission-label:hover {
        background-color: #353a42 !important;
    }

    body.dark-mode .permission-label.selected,
    body.dark-mode .permission-label.active {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
    }

    /* Dark Mode - Permissions Grid */
    body.dark-mode .permissions-grid {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Permission Item */
    body.dark-mode .permission-item {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .permission-item:hover {
        background-color: #353a42 !important;
    }

    body.dark-mode .permission-item.selected,
    body.dark-mode .permission-item.active {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
    }

    body.dark-mode .permission-item label {
        color: #e4e6eb !important;
    }

    body.dark-mode .permission-item input[type="checkbox"] {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Modern Modal Footer */
    body.dark-mode .modern-modal-footer {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-modal-footer .btn {
        border-color: #3a3f47 !important;
    }

    body.dark-mode .modern-modal-footer .btn-secondary {
        background-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-modal-footer .btn-secondary:hover {
        background-color: #4a4f57 !important;
    }

    body.dark-mode .modern-modal-footer .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: transparent !important;
        color: #ffffff !important;
    }

    /* ============================================
       EXTENDED SPECIFIC CLASSES
       ============================================ */

    /* Dark Mode - Section Content Modern */
    body.dark-mode .section-content-modern {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Section Header Modern */
    body.dark-mode .section-header-modern {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .section-header-modern h4,
    body.dark-mode .section-header-modern h5,
    body.dark-mode .section-header-modern h6 {
        color: #e4e6eb !important;
    }

    body.dark-mode .section-header-modern i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - User Profile Card */
    body.dark-mode .user-profile-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .user-profile-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .user-profile-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .user-profile-card .profile-name {
        color: #e4e6eb !important;
    }

    body.dark-mode .user-profile-card .profile-info {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Subscription Details Card */
    body.dark-mode .subscription-details-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .subscription-details-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .subscription-details-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Card Header Modern */
    body.dark-mode .card-header-modern {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .card-header-modern h4,
    body.dark-mode .card-header-modern h5 {
        color: #e4e6eb !important;
    }

    body.dark-mode .card-header-modern i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - Card Body Modern */
    body.dark-mode .card-body-modern {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Filter Card Header */
    body.dark-mode .filter-card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .filter-card-header h5,
    body.dark-mode .filter-card-header h6 {
        color: #e4e6eb !important;
    }

    body.dark-mode .filter-card-header i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - Package Type Radio Checked */
    body.dark-mode .package-type-radio:checked + .package-type-content {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Coaches Card */
    body.dark-mode .modern-coaches-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-coaches-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-coaches-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Coaches Card Body */
    body.dark-mode .coaches-card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Coach Stat Card */
    body.dark-mode .coach-stat-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    body.dark-mode .coach-stat-card .stat-value {
        color: #e4e6eb !important;
    }

    body.dark-mode .coach-stat-card .stat-label {
        color: #b0b3b8 !important;
    }

    body.dark-mode .coach-stat-card.remaining {
        border-color: #f59e42 !important;
    }

    body.dark-mode .coach-stat-card.completed {
        border-color: #22c55e !important;
    }

    /* Dark Mode - Filter Section Body */
    body.dark-mode .filter-section-body {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    /* Dark Mode - Filter Options Grid */
    body.dark-mode .filter-options-grid {
        background-color: transparent !important;
    }

    body.dark-mode .filter-options-grid .filter-option {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .filter-options-grid .filter-option:hover {
        background-color: #353a42 !important;
    }

    body.dark-mode .filter-options-grid .filter-option.active {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
    }

    body.dark-mode .month-grid {
        background-color: transparent !important;
    }

    body.dark-mode .month-grid .month-item {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .month-grid .month-item:hover {
        background-color: #353a42 !important;
    }

    body.dark-mode .month-grid .month-item.active {
        background-color: rgba(102, 126, 234, 0.2) !important;
        border-color: #667eea !important;
    }

    /* Dark Mode - Modern Stats Card */
    body.dark-mode .modern-stats-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-stats-card .stat-value {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-stats-card .stat-label {
        color: #b0b3b8 !important;
    }

    body.dark-mode .modern-stats-card.success {
        border-color: #22c55e !important;
    }

    body.dark-mode .modern-stats-card.warning {
        border-color: #f59e42 !important;
    }

    body.dark-mode .modern-stats-card.danger {
        border-color: #ef4444 !important;
    }

    body.dark-mode .modern-stats-card.info {
        border-color: #38bdf8 !important;
    }

    /* Dark Mode - Seller Stats */
    body.dark-mode .seller-stats {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .seller-stats .stat-item {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .seller-stats .stat-value {
        color: #e4e6eb !important;
    }

    body.dark-mode .seller-stats .stat-label {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Seller Additional Info */
    body.dark-mode .seller-additional-info {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .seller-additional-info .info-item {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .seller-additional-info label {
        color: #718096 !important;
    }

    body.dark-mode .seller-additional-info span,
    body.dark-mode .seller-additional-info p {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Renewal Stats Section */
    body.dark-mode .renewal-stats-section {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .renewal-stats-section .stat-card {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    /* Dark Mode - Package Types Section */
    body.dark-mode .package-types-section {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .package-types-section h5,
    body.dark-mode .package-types-section h6 {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Clients Section */
    body.dark-mode .clients-section {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .clients-section h5,
    body.dark-mode .clients-section h6 {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Clients List */
    body.dark-mode .clients-list {
        background-color: #252830 !important;
    }

    /* Dark Mode - Client Item */
    body.dark-mode .client-item {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .client-item:hover {
        background-color: #353a42 !important;
    }

    body.dark-mode .client-item.renewal-needed {
        border-color: #f59e42 !important;
        background-color: rgba(245, 158, 66, 0.1) !important;
    }

    body.dark-mode .client-item.expired {
        border-color: #ef4444 !important;
        background-color: rgba(239, 68, 68, 0.1) !important;
    }

    body.dark-mode .client-item .client-name {
        color: #e4e6eb !important;
    }

    body.dark-mode .client-item .client-info {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Profile Edit Card */
    body.dark-mode .profile-edit-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .profile-edit-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .profile-edit-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .profile-edit-card label {
        color: #e4e6eb !important;
    }

    /* Dark Mode - Modern Metric Card */
    body.dark-mode .modern-metric-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .modern-metric-card .metric-value {
        color: #e4e6eb !important;
    }

    body.dark-mode .modern-metric-card .metric-label {
        color: #b0b3b8 !important;
    }

    body.dark-mode .modern-metric-card .metric-icon {
        opacity: 0.9 !important;
    }

    /* Dark Mode - Report Gen Header */
    body.dark-mode .report-gen-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .report-gen-header h4,
    body.dark-mode .report-gen-header h5 {
        color: #e4e6eb !important;
    }

    body.dark-mode .report-gen-header i {
        color: #a3b8ff !important;
    }

    /* Dark Mode - Seller Card */
    body.dark-mode .seller-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .seller-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .seller-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .seller-card .seller-name {
        color: #e4e6eb !important;
    }

    body.dark-mode .seller-card .seller-info {
        color: #b0b3b8 !important;
    }

    /* Dark Mode - Summary Card */
    body.dark-mode .summary-card {
        background-color: #252830 !important;
        border-color: #3a3f47 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.dark-mode .summary-card .card-header {
        background: linear-gradient(135deg, #2d3136 0%, #252830 100%) !important;
        border-color: #3a3f47 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .summary-card .card-body {
        background-color: #252830 !important;
        color: #e4e6eb !important;
    }

    body.dark-mode .summary-card .summary-item {
        background-color: #2d3136 !important;
        border-color: #3a3f47 !important;
    }

    body.dark-mode .summary-card .summary-label {
        color: #718096 !important;
    }

    body.dark-mode .summary-card .summary-value {
        color: #e4e6eb !important;
    }