
        :root {
            --primary-dark: #1a2a3a;
            --primary-light: #2c3e50;
            --accent-color: #e74c3c;
            --highlight-color: #f39c12;
            --text-light: #ecf0f1;
            --text-dark: #2c3e50;
        }
        
        body {
           font-family: 'Nunito', 'Segoe UI', 'Roboto', sans-serif;

            background-color: #f5f7fa;
            height: 100vh;
            overflow: hidden;
        }
        
        /* Unique Glass Panel Effect */
        .glass-panel {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.18);
        }
        
        /* Side Navigation */
        .side-nav {
            width: 280px;
            height: 100vh;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
            color: var(--text-light);
            position: fixed;
            transition: all 0.3s;
            z-index: 1000;
        }
        
        .nav-logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            padding: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: flex;
        }
        
        .nav-menu {
            padding: 20px 0;
        }
        
       .side-nav .nav-item {
            
            border-radius: 8px;
            transition: all 0.3s;
            padding: 5px 15px;
        /*    border: 1px solid #545151;
           background-color: #3c6de7;;*/
        }
        
        
        
        .nav-menu .active {
            background-color: var(--accent-color);
            border-radius: 15px;;
        }
        
        .nav-item i {
            width: 24px;
            text-align: center;
            margin-right: 10px;
        }
        
        /* Main Content Area */
        .main-content {
            margin-left: 280px;
            height: 100vh;
            overflow-y: auto;
            padding: 20px;
        }
        
        /* Header */
        .top-header {
            align-items: center;
            background: white;
            border-radius: 15px;
            display: flex;
            padding: 15px 25px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            border: 1px solid rgba(133, 133, 133, 0.383);
            margin-bottom: 20px;
            
        }
        
        .locale-selector .dropdown-menu {
            min-width: 300px;
            padding: 15px;
        }
        
        .header-icons .icon-badge {
            position: relative;
            margin: 0 10px;
            cursor: pointer;
        }
        
        
        .user-menu img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 10px;
        }
        
        /* Data Cards */
        .data-card {
            border: none;
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s;
            margin-bottom: 20px;
        }
        
        .data-card:hover {
            transform: translateY(-5px);
        }
        
        .card-icon {
            font-size: 2rem;
            color: var(--accent-color);
        }
        
        /* Unique Chart Container */
        .chart-container {
            position: relative;
            height: 300px;
            background: white;
            border-radius: 15px;
            padding: 20px;
        }
        
        /* Task List */
        .task-item {
            border-left: 3px solid var(--highlight-color);
            padding: 10px 15px;
            margin-bottom: 10px;
            background: white;
            border-radius: 0 8px 8px 0;
        }
        
        /* Footer */
        .main-footer {
            background: white;
            padding: 15px;
            border-radius: 15px;
            margin-top: 20px;
            text-align: center;
            border: 1px solid rgba(133, 133, 133, 0.383);
            width: calc(100%);
            
        }
        
        /* Unique Tabs */
        .custom-tabs .nav-link {
            border: none;
            color: var(--text-dark);
            font-weight: 500;
            position: relative;
            padding: 10px 20px;
        }
        
        .custom-tabs .nav-link.active {
            color: var(--accent-color);
            background: transparent;
        }
        
        .custom-tabs .nav-link.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 20%;
            width: 60%;
            height: 3px;
            background: var(--accent-color);
            border-radius: 3px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .side-nav {
                transform: translateX(-100%);
            }
            .main-content {
                margin-left: 0;
            }
            .nav-toggle {
                display: block !important;
            }
        }

         /* Badges */
        .badge-role {
            padding: 5px 10px;
            font-weight: 500;
            font-size: 0.75rem;
        }
        
        .badge-admin {
            background-color: #e3f2fd;
            color: #1976d2;
        }
        
        .badge-chef {
            background-color: #e8f5e9;
            color: #388e3c;
        }
        
        .badge-mesero {
            background-color: #fff3e0;
            color: #fb8c00;
        }
        
        /* Action Buttons */
        .btn-action {
            border-radius: 6px;
            padding: 8px 15px;
            font-weight: 500;
        }
        
        .btn-add {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }
        
        .action-btn {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
        }
        
        .action-btn:hover {
            transform: scale(1.1);
        }
        
        .btn-edit , .btn-view {
            color: #2196f3;
            background-color: rgba(33, 150, 243, 0.1);
        }
        
        .btn-delete, .btn-cancel {
            color: #f44336;
            background-color: rgba(244, 67, 54, 0.1);
        }

        .header-actions {
    background-color: white;
    border-radius: 10px 10px 0 0;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

  
        /* Header */
       
        
        /* User Table Card */
        .card-usuarios {
            
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border:#787878 1px solid;
            
          
        }
        
        .header-actions {
            background-color: white;
            border-radius: 10px 10px 0 0;
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
        }
        
        /* Table Styles */
        .table-usuarios thead th {
            background-color: #f8f9fa;
            border-bottom-width: 1px;
            font-weight: 600;
            color: var(--primary-dark);
        }
        
        /* Badges */
        .badge-role {
            padding: 5px 10px;
            font-weight: 500;
            font-size: 0.75rem;
        }
        
        .badge-admin {
            background-color: #e3f2fd;
            color: #1976d2;
        }
        
        .badge-chef {
            background-color: #e8f5e9;
            color: #388e3c;
        }
        
        .badge-mesero {
            background-color: #fff3e0;
            color: #fb8c00;
        }
        
        /* Action Buttons */
        .btn-action {
            border-radius: 6px;
            padding: 8px 15px;
            font-weight: 500;
        }
        
        .btn-add {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }
        
        .action-btn {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
        }
        
        .action-btn:hover {
            transform: scale(1.1);
        }
        
        .btn-edit {
            color: #2196f3;
            background-color: rgba(33, 150, 243, 0.1);
        }
        
        .btn-delete {
            color: #f44336;
            background-color: rgba(244, 67, 54, 0.1);
        }
        
        /* Modal Styles */
        .modal-user .modal-header {
            background-color: var(--primary-light);
            color: white;
        }
        
        .avatar-upload {
            position: relative;
            width: 100px;
            margin: 0 auto;
        }
        
        .avatar-upload .avatar-preview {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: #f5f5f5;
            background-size: cover;
            background-position: center;
        }
        
        .avatar-upload .avatar-edit {
            position: absolute;
            right: 0;
            bottom: 0;
        }
        
        .avatar-upload .avatar-edit input {
            display: none;
        }
        
        .avatar-upload .avatar-edit label {
            display: inline-block;
            width: 30px;
            height: 30px;
            background: var(--accent-color);
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            cursor: pointer;
        }




        table {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

thead {
  background-color: #f9fafb;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #4b5563;
}

thead th {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s;
}

tbody tr:hover {
  background-color: #f1f5f9;
}

tbody td {
  padding: 10px 16px;
  color: #374151;
}

.trSelected td{
    background-color: #00f98168 !important;
    color: #1f2937 !important;
}

.header-icons span.badge {
    padding: 5px;
     align-items: center;
    vertical-align: middle;
    justify-content: center;
    display: flex;
    font-size: 0.9em !important;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    top: -12px;
    right: -12px;
    border: #909090 1px solid;
    

}

.logo-img{
    height :3em;
}

.nav-menu>.nav-item div li   {
  /*  border: 1px solid rgb(255, 0, 0);*/
    padding: 0px 10px;
}

/* Fix for dropdown menu z-index issue */
.glass-panel {
    position: relative;
    z-index: 1000; /* Lower than dropdown menu */
}

.dropdown-menu {
    z-index: 1100 !important; /* Higher than glass-panel */
}

.modal {
    z-index: 1200 !important; /* Higher than everything else */
}

/* Ensure the card container doesn't create a new stacking context */
.card-usuarios {
    position: static;
    transform: none;
}

/* If using DataTables with fixed columns */
.dataTables_wrapper {
    position: static;
}

#cbSucursal{ 

    
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #c41a1a;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
    margin-left: 1em;
    min-width: 10em;
}