:root {
    --sidebar-bg:#f8f8f8;
    --sidebar-dark:#e8eef1;
    --sidebar-hover:#ffffff;
    --submenu-bg:#ffffff;
    --text:#333;
    --content-bg:#ffffff;
    --card:#333;
    --shadow:0 2px 4px rgba(0,0,0,.1);
    --radius:10px;
  }
  
  /* Custom Scrollbar Styling */
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    transition: background 0.3s ease;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(51, 51, 51, 0.5);
  }
  
  /* Firefox scrollbar */
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(51, 51, 51, 0.3) rgba(0, 0, 0, 0.05);
  }
  
  /* Reset */
  * { box-sizing:border-box; margin:0; padding:0; }
  
  /* General layout */
  body {
    font-family:'Poppins',sans-serif;
    color:#333;
    background:var(--content-bg);
    height:100vh;
    display:flex;
    flex-direction:column;
  }
  
  /* Navbar */
  .navbar {
    height:55px;
    background:var(--card);
    box-shadow:var(--shadow);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    flex-shrink:0;
    position: relative;
    z-index: 100;
  }
  
  .app-branding {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .app-logo {
    height: 40px;
    max-width: 150px;
    object-fit: contain;
  }
  
  .navbar h1 {
    font-size:18px;
    font-weight:600;
    color:#ffffff;
  }
  /* Admin Dropdown */
  .admin-info-dropdown {
    position: relative;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
  }
  
  .admin-info-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
  }
  
  .admin-info-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .admin-info-toggle i.fa-user-circle {
    font-size: 18px;
  }
  
  .admin-info-toggle .dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
  }
  
  .admin-info-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .admin-info-toggle .user-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }
  
  .admin-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .admin-info-dropdown.open .admin-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 14px;
  }
  
  .dropdown-item:hover {
    background-color: #f5f5f5;
  }
  
  .dropdown-item i {
    font-size: 16px;
    color: #666;
  }
  
  .dropdown-item.user-email {
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    cursor: default;
    font-weight: 600;
    word-break: break-all;
  }
  
  .dropdown-item.user-email:hover {
    background-color: #f9f9f9;
  }
  
  /* Main */
  .main {
    flex:1;
    display:flex;
    overflow:hidden;
  }
  
  /* Sidebar */
  .sidebar {
    width:150px;
    background:var(--sidebar-bg);
    color:var(--text);
    overflow-y:auto;
    transition:transform 0.3s ease-in-out;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Sidebar logo */
  .sidebar-logo {
    display: none; /* Hidden on desktop */
  }
  
  /* Sidebar scrollbar styling */
  .sidebar::-webkit-scrollbar {
    width: 4px;
  }
  
  .sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
  }
  
  .sidebar::-webkit-scrollbar-thumb {
    background: rgba(51, 51, 51, 0.2);
    border-radius: 4px;
  }
  
  .sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(51, 51, 51, 0.4);
  }
  .sidebar ul { list-style:none; }
  .sidebar ul li {
    text-align:center;
    padding:14px 10px;
    cursor:pointer;
    border-bottom:1px solid rgba(0,0,0,.05);
    transition:background .2s;
  }
  .sidebar ul li:hover { background:var(--sidebar-hover); }
  .sidebar ul li.active { background:var(--sidebar-hover); }
  .sidebar ul li i {
    font-size:20px;
    margin-bottom:5px;
    display:block;
  }
  .sidebar ul li span {
    font-size:13px;
    display:block;
  }

  .sidebar ul li > a{
    color: #000;
    text-decoration: none;
  }
  
  /* Submenu */
  .submenu { display:none; background:var(--submenu-bg); }
  .submenu li {
    padding:10px 5px;
    font-size:13px;
    text-align:left;
    padding-left:40px;
    border-bottom:1px solid rgba(0,0,0,.05);
    cursor:pointer;
    transition: background 0.2s ease;
  }
  .submenu li a {
    text-decoration: none;
    color: var(--text);
    display: block;
    width: 100%;
    transition: color 0.2s ease;
  }
  .submenu li:hover { background:var(--sidebar-hover); }
  .submenu li.active {
    background: rgba(255, 152, 0, 0.1);
  }
  .submenu li.active a {
    color: #ff9800;
    font-weight: 500;
  }
  .has-sub.active .submenu { display:block; }
  .has-sub.expanded .submenu { display:block; }
  .has-sub.expanded {
    background-color: #ffffff;
  }
  .has-sub.expanded > i,
  .has-sub.expanded > span {
    color: #ff9800;
  }
  .sidebar ul li.active {
    background: rgba(255, 152, 0, 0.1);
  }
  .sidebar ul li.active i,
  .sidebar ul li.active span {
    color: #ff9800;
  }
  
  /* Dashboard area */
  .dashboard {
    flex:1;
    padding:24px;
    overflow-y:auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
  }

  .dashboard h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #4A90D9;
    display: inline-block;
  }

  /* KPI Grid */
  .kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }

  .kpi-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
  }

  .kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.05;
    transform: translate(30%, -30%);
  }

  .kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }

  /* KPI Card Color Variants */
  .kpi-card.kpi-blue {
    border-left-color: #4A90D9;
  }
  .kpi-card.kpi-blue::before {
    background: #4A90D9;
  }
  .kpi-card.kpi-blue .kpi-icon {
    background: linear-gradient(135deg, #5BA0E8 0%, #3D7ABF 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.35);
  }
  .kpi-card.kpi-blue .kpi-value {
    color: #3D7ABF;
  }

  .kpi-card.kpi-green {
    border-left-color: #4CAF7D;
  }
  .kpi-card.kpi-green::before {
    background: #4CAF7D;
  }
  .kpi-card.kpi-green .kpi-icon {
    background: linear-gradient(135deg, #5DC08D 0%, #3D9968 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 125, 0.35);
  }
  .kpi-card.kpi-green .kpi-value {
    color: #3D9968;
  }

  .kpi-card.kpi-orange {
    border-left-color: #F5A952;
  }
  .kpi-card.kpi-orange::before {
    background: #F5A952;
  }
  .kpi-card.kpi-orange .kpi-icon {
    background: linear-gradient(135deg, #FFBE6D 0%, #E8923A 100%);
    box-shadow: 0 4px 15px rgba(245, 169, 82, 0.35);
  }
  .kpi-card.kpi-orange .kpi-value {
    color: #E8923A;
  }

  .kpi-card.kpi-red {
    border-left-color: #E86A5C;
  }
  .kpi-card.kpi-red::before {
    background: #E86A5C;
  }
  .kpi-card.kpi-red .kpi-icon {
    background: linear-gradient(135deg, #F07D70 0%, #D55347 100%);
    box-shadow: 0 4px 15px rgba(232, 106, 92, 0.35);
  }
  .kpi-card.kpi-red .kpi-value {
    color: #D55347;
  }

  .kpi-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5BA0E8 0%, #3D7ABF 100%);
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
  }

  .kpi-content {
    flex: 1;
  }

  .kpi-content h3 {
    font-size: 12px;
    color: #8898aa;
    margin: 0 0 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  .kpi-value {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.1;
  }

  .kpi-label {
    font-size: 12px;
    color: #aab7c4;
  }

  /* Charts Grid */
  .charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }

  .chart-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
  }

  .chart-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .chart-card.wide {
    grid-column: span 2;
  }

  /* Chart Card Color Variants */
  .chart-card.chart-blue {
    border-top-color: #4A90D9;
  }
  .chart-card.chart-blue .chart-header i {
    color: #4A90D9;
    background: rgba(74, 144, 217, 0.1);
  }

  .chart-card.chart-green {
    border-top-color: #4CAF7D;
  }
  .chart-card.chart-green .chart-header i {
    color: #4CAF7D;
    background: rgba(76, 175, 125, 0.1);
  }

  .chart-card.chart-orange {
    border-top-color: #F5A952;
  }
  .chart-card.chart-orange .chart-header i {
    color: #E8923A;
    background: rgba(245, 169, 82, 0.1);
  }

  .chart-card.chart-red {
    border-top-color: #E86A5C;
  }
  .chart-card.chart-red .chart-header i {
    color: #E86A5C;
    background: rgba(232, 106, 92, 0.1);
  }

  .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
  }

  .chart-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
  }

  .chart-header i {
    font-size: 20px;
    color: #4A90D9;
    padding: 8px;
    border-radius: 8px;
    background: rgba(74, 144, 217, 0.1);
  }

  .chart-container {
    position: relative;
    height: 300px;
  }

  .chart-container canvas {
    max-height: 100%;
  }

  /* Tables Grid */
  .tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }

  .table-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
  }

  .table-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  /* Table Card Color Variants */
  .table-card.table-blue {
    border-top-color: #4A90D9;
  }
  .table-card.table-blue .table-header i {
    color: #4A90D9;
    background: rgba(74, 144, 217, 0.1);
  }
  .table-card.table-blue .data-table thead {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.08) 0%, rgba(74, 144, 217, 0.03) 100%);
  }

  .table-card.table-green {
    border-top-color: #4CAF7D;
  }
  .table-card.table-green .table-header i {
    color: #4CAF7D;
    background: rgba(76, 175, 125, 0.1);
  }
  .table-card.table-green .data-table thead {
    background: linear-gradient(135deg, rgba(76, 175, 125, 0.08) 0%, rgba(76, 175, 125, 0.03) 100%);
  }
  .table-card.table-green .data-table .amount {
    color: #3D9968;
  }

  .table-card.table-orange {
    border-top-color: #F5A952;
  }
  .table-card.table-orange .table-header i {
    color: #E8923A;
    background: rgba(245, 169, 82, 0.1);
  }
  .table-card.table-orange .data-table thead {
    background: linear-gradient(135deg, rgba(245, 169, 82, 0.08) 0%, rgba(245, 169, 82, 0.03) 100%);
  }
  .table-card.table-orange .data-table .amount {
    color: #E8923A;
  }

  .table-card.table-red {
    border-top-color: #E86A5C;
  }
  .table-card.table-red .table-header i {
    color: #E86A5C;
    background: rgba(232, 106, 92, 0.1);
  }
  .table-card.table-red .data-table thead {
    background: linear-gradient(135deg, rgba(232, 106, 92, 0.08) 0%, rgba(232, 106, 92, 0.03) 100%);
  }

  .table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
  }

  .table-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
  }

  .table-header i {
    font-size: 20px;
    color: #4A90D9;
    padding: 8px;
    border-radius: 8px;
    background: rgba(74, 144, 217, 0.1);
  }

  .table-container {
    overflow-x: auto;
  }

  .data-table {
    width: 100%;
    border-collapse: collapse;
  }

  .data-table thead {
    background: #f8f9fa;
  }

  .data-table th {
    padding: 14px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #5a6872;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 2px solid #e8ecef;
  }

  .data-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
    color: #2d3748;
  }

  .data-table tbody tr:hover {
    background: #f8fafc;
  }

  .data-table .amount {
    font-weight: 600;
    color: #4A90D9;
  }

  .badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
  }

  .badge-primary {
    background: rgba(74, 144, 217, 0.12);
    color: #3D7ABF;
  }

  .badge-active {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
  }

  .badge-warning {
    background: rgba(255, 193, 7, 0.12);
    color: #d39e00;
  }

  .no-data {
    text-align: center;
    color: #a0aec0;
    padding: 40px;
    font-style: italic;
    background: #f8fafc;
    border-radius: 8px;
  }
  
  /* Content area (used in other pages) */
  .content-area {
    flex:1;
    padding:20px;
    overflow-y:auto;
    overflow-x:hidden;
  }
  .card {
    background:var(--submenu-bg);
    padding:16px;
    box-shadow:var(--shadow);
    margin-bottom:20px;
  }

  /* Message container - positioned inside content-area */
  #dynamic-message-container {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 15px;
    pointer-events: none;
  }
  
  .app-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .app-message.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .app-message.fade-out {
    opacity: 0;
    transform: translateY(-20px);
  }
  
  .app-message-text {
    flex: 1;
    margin-right: 15px;
  }
  
  .app-message-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .app-message-close:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
  }
  
  .app-message-close i {
    font-size: 14px;
  }
  
  .app-message-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
  }
  
  .app-message-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
  }
  
  .app-message-warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
  }
  
  .app-message-info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
  }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #4A9D5F !important;
  color: white !important;
}

select.select2-dropdown {
  width: auto;
  min-width: 200px;
  max-width: 100%;
}

.select2-container .select2-selection--single {
  height: 38px !important;  
}


  
  /* ------------------ RESPONSIVE DESIGN ------------------ */
  
  /* Tablets */
  @media (max-width: 1024px) {
    .navbar h1 {
      font-size: 16px;
    }
    .sidebar {
      width: 200px;
    }
    .admin-info-dropdown {
      font-size: 13px;
    }
    .admin-info-toggle i.fa-user-circle {
      font-size: 16px;
    }
    .admin-info-toggle .user-name {
      max-width: 150px;
    }

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

    .chart-card.wide {
      grid-column: span 1;
    }

    .tables-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* Sidebar Overlay */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }
  
  /* Mobile (sidebar collapses) */
  @media (max-width: 768px) {
    .main {
      flex-direction: column;
    }
  
    .sidebar {
      position: fixed;
      top: 0;
      left: -230px;
      height: 100%;
      z-index: 1100;
      transition: left 0.3s ease;
      width: 230px;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
    }
  
    .sidebar.open {
      left: 0;
    }
    
    /* Show and style logo in sidebar on mobile */
    .sidebar-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 15px;
      background: #fff;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 10;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .sidebar-logo-img {
      max-width: 140px;
      max-height: 50px;
      object-fit: contain;
    }
    
    .sidebar-logo-placeholder {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .sidebar-logo-placeholder i {
      font-size: 28px;
      color: #fff;
    }
    
    /* Make menu scrollable below sticky logo */
    .sidebar #menu {
      flex: 1;
      overflow-y: auto;
    }
  
    .dashboard {
      padding: 15px;
    }
  
    .card {
      margin-bottom: 15px;
    }

    .kpi-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .kpi-card {
      padding: 15px;
    }

    .kpi-icon {
      width: 50px;
      height: 50px;
      font-size: 24px;
    }

    .kpi-value {
      font-size: 24px;
    }

    .kpi-content h3 {
      font-size: 12px;
    }

    .kpi-label {
      font-size: 11px;
    }

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

    .chart-card {
      padding: 15px;
    }

    .chart-card.wide {
      grid-column: span 1;
    }

    .chart-header h3 {
      font-size: 14px;
    }

    .chart-header i {
      font-size: 16px;
    }

    .tables-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }

    .table-card {
      padding: 15px;
    }

    .table-header h3 {
      font-size: 14px;
    }

    .chart-container {
      height: 250px;
    }

    .data-table {
      font-size: 12px;
    }

    .data-table th,
    .data-table td {
      padding: 8px 6px;
    }

    .data-table th {
      font-size: 11px;
    }
  
    .menu-toggle {
      display: block;
      font-size: 20px;
      color: #fff;
      cursor: pointer;
      margin-left: 10px;
    }
  
    .navbar h1 {
      font-size: 15px;
      /* display: none; Hide title on mobile */
    }
    
    .admin-info-dropdown {
      font-size: 12px;
    }
    
    .admin-info-toggle {
      gap: 5px;
      padding: 6px 10px;
    }
    
    .admin-info-toggle .user-name {
      max-width: 100px;
    }
    
    .admin-info-toggle i.fa-user-circle {
      font-size: 16px;
    }
    
    .admin-dropdown-menu {
      min-width: 140px;
    }
  }
  
  /* Small phones */
  @media (max-width: 480px) {
    .navbar h1 {
      font-size: 14px;
      /* display: none; */
    }

    .kpi-grid {
      gap: 10px;
    }

    .kpi-card {
      padding: 12px;
      gap: 12px;
    }

    .kpi-icon {
      width: 45px;
      height: 45px;
      font-size: 22px;
    }

    .kpi-value {
      font-size: 20px;
    }

    .kpi-content h3 {
      font-size: 11px;
    }

    .kpi-label {
      font-size: 10px;
    }

    .chart-container {
      height: 220px;
    }

    .chart-card {
      padding: 12px;
    }

    .table-card {
      padding: 12px;
    }

    .data-table {
      font-size: 11px;
    }

    .data-table th,
    .data-table td {
      padding: 6px 4px;
    }

    .data-table th {
      font-size: 10px;
    }

    .badge {
      padding: 3px 6px;
      font-size: 10px;
    }
  
    .admin-info-dropdown {
      font-size: 11px;
    }
    
    .admin-info-toggle {
      gap: 4px;
      padding: 5px 8px;
    }
    
    .admin-info-toggle i.fa-user-circle {
      font-size: 14px;
    }
    
    .admin-info-toggle .user-name {
      display: none; /* Hide username on very small screens */
    }
    
    .admin-dropdown-menu {
      min-width: 200px; /* Wider to show email */
      right: -10px; /* Adjust position */
    }
    
    .dropdown-item {
      padding: 10px 12px;
      font-size: 12px;
    }
    
    .dropdown-item.user-email {
      display: flex; /* Ensure email is visible */
      white-space: normal;
      word-wrap: break-word;
    }
  
    .card {
      padding: 12px;
      font-size: 14px;
    }
  }
  
  /* Hide hamburger by default */
  .menu-toggle {
    display: none;
  }
  
  /* Show hamburger only on tablets and phones */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      font-size: 22px;
      color: #fff;
      cursor: pointer;
    }
  
    .navbar {
      justify-content: space-between;
      padding: 0 10px;
    }
    
    /* Hide logo on mobile devices */
    .app-logo {
      display: none;
    }
    
    .navbar h1 {
      font-size: 16px;
    }
    
    .admin-info-toggle .user-name {
      display: none;
    }
  
    .admin-info-dropdown {
      position: relative;
      right: auto;
    }
  }
  
  
  
  
  
  
  