:root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --success: #27ae60;
            --danger: #e74c3c;
            --warning: #f39c12;
            --info: #17a2b8;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --sidebar-width: 250px;
            --sidebar-collapsed-width: 70px;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            overflow-x: hidden;
        }
        
        /* Sidebar Styles */
        #sidebar {
            width: var(--sidebar-width);
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            z-index: 1000;
            background: linear-gradient(180deg, var(--primary) 0%, #1a2530 100%);
            color: white;
            transition: all 0.3s;
            box-shadow: 3px 0 10px rgba(0,0,0,0.1);
        }
        
        #sidebar.collapsed {
            width: var(--sidebar-collapsed-width);
        }
        
        #sidebar .sidebar-header {
            padding: 20px;
            background-color: rgba(0,0,0,0.2);
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        #sidebar .sidebar-header h3 {
            margin-bottom: 0;
            font-size: 1.5rem;
            white-space: nowrap;
            overflow: hidden;
        }
        
        #sidebar.collapsed .sidebar-header h3 {
            display: none;
        }
        
        #sidebar ul.components {
            padding: 20px 0;
        }
        
        #sidebar ul li a {
            padding: 12px 20px;
            font-size: 1rem;
            display: block;
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: all 0.3s;
            white-space: nowrap;
            overflow: hidden;
        }
        
        #sidebar ul li a:hover, #sidebar ul li a.active {
            color: white;
            background-color: rgba(255,255,255,0.1);
            border-left: 4px solid var(--secondary);
        }
        
        #sidebar ul li a i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        #sidebar.collapsed ul li a span {
            display: none;
        }
        
        #sidebar.collapsed ul li a i {
            margin-right: 0;
        }
        
        /* Main Content */
        #content {
            width: calc(100% - var(--sidebar-width));
            margin-left: var(--sidebar-width);
            transition: all 0.3s;
            min-height: 100vh;
        }
        
        #content.expanded {
            width: calc(100% - var(--sidebar-collapsed-width));
            margin-left: var(--sidebar-collapsed-width);
        }
        
        /* Top Navigation */
        .navbar-custom {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 15px 20px;
        }
        
        /* Dashboard Cards */
        .dashboard-card {
            border-radius: 10px;
            border: none;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 20px;
        }
        
        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        .card-icon {
            font-size: 2.5rem;
            opacity: 0.7;
        }
        
        /* Status Badges */
        .status-badge {
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .status-active {
            background-color: rgba(39, 174, 96, 0.15);
            color: var(--success);
        }
        
        .status-inactive {
            background-color: rgba(231, 76, 60, 0.15);
            color: var(--danger);
        }
        
        /* Action Buttons */
        .action-buttons .btn {
            margin-right: 10px;
            margin-bottom: 10px;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .btn-primary-custom {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .btn-primary-custom:hover {
            background-color: #1a2530;
            border-color: #1a2530;
        }
        
        /* Table Styling */
        .table-container {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            overflow: hidden;
            font-size : 0.75em;
        }
        
        .dataTables_wrapper {
            padding: 20px;
        }
        
        /* User Type Badges */
        .user-type-badge {
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .user-admin {
            background-color: rgba(231, 76, 60, 0.15);
            color: var(--danger);
        }
        
        .user-supervisor {
            background-color: rgba(52, 152, 219, 0.15);
            color: var(--secondary);
        }
        
        .user-driver {
            background-color: rgba(39, 174, 96, 0.15);
            color: var(--success);
        }
        
        .user-helper {
            background-color: rgba(243, 156, 18, 0.15);
            color: var(--warning);
        }
        
        .user-team-leader {
            background-color: rgba(155, 89, 182, 0.15);
            color: #9b59b6;
        }
        .user-viewer {
            background-color: rgba(231, 69, 96, 0.15);
            color: #630e0e;
        }
         
         
        
        /* Modal Styling */
        .modal-header {
            background-color: var(--primary);
            color: white;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            #sidebar {
                width: var(--sidebar-collapsed-width);
                text-align: center;
            }
            
            #sidebar .sidebar-header h3 {
                display: none;
            }
            
            #sidebar ul li a span {
                display: none;
            }
            
            #sidebar ul li a i {
                margin-right: 0;
            }
            
            #content {
                width: calc(100% - var(--sidebar-collapsed-width));
                margin-left: var(--sidebar-collapsed-width);
            }
            
            .action-buttons .btn {
                width: 100%;
                margin-right: 0;
            }
        }
        
        /* Toggle Button */
        #sidebarCollapse {
            background: transparent;
            border: none;
            color: var(--primary);
            font-size: 1.5rem;
        }
        
        /* Stats Cards */
        .stats-card {
            border-left: 4px solid;
            border-radius: 8px;
        }
        
        .stats-card.total-users {
            border-left-color: var(--secondary);
        }
        
        .stats-card.active-users {
            border-left-color: var(--success);
        }
        
        .stats-card.inactive-users {
            border-left-color: var(--danger);
        }