  /* Mobile Menu Drawer Customization */
  .app-drawer,
  #appDrawer {
    position: fixed !important;
    top: 0 !important;
    left: -340px !important;
    width: 310px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
    transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    z-index: 2050 !important;
    box-shadow: 4px 0 25px rgba(0,0,0,0.18) !important;
  }
  .app-drawer::-webkit-scrollbar,
  #appDrawer::-webkit-scrollbar {
    display: none !important;
  }
  .app-drawer.open,
  #appDrawer.open {
    left: 0 !important;
  }
  .dark .app-drawer,
  .dark #appDrawer,
  body.dark .app-drawer,
  body.dark #appDrawer {
    background: #181932 !important;
  }
  .drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    z-index: 2040 !important;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease !important;
  }
  .drawer-backdrop.show {
    display: block !important;
    opacity: 1 !important;
  }
  .drawer-header-custom {
    background: linear-gradient(180deg, #1aa4b8 0%, #0a899a 100%);
    padding: 25px 20px 15px;
    text-align: center;
    position: relative;
    border-bottom: none;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #fff;
    margin-bottom: 5px;
  }
  .dark .drawer-header-custom {
    background: linear-gradient(180deg, #0f4650 0%, #062a30 100%);
  }
  .drawer-header-custom img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 8px;
  }
  .drawer-header-custom h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
  }
  .drawer-header-custom p {
    font-size: 13px;
    margin: 2px 0 0 0;
    opacity: 0.9;
  }
  .drawer-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.25);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
  }
  .drawer-close-btn:hover {
    background: rgba(255,255,255,0.4);
  }
  .drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
  }
  .drawer-nav-item {
    display: flex;
    align-items: center;
    padding: 9px 20px;
    color: #222;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
  }
  .dark .drawer-nav-item {
    color: #e0e0e0;
  }
  .drawer-nav-item:hover {
    background: #f4f6f9;
  }
  .dark .drawer-nav-item:hover {
    background: #252648;
  }
  .drawer-nav-item i {
    width: 28px;
    font-size: 18px;
    color: #0a899a;
    text-align: left;
    margin-right: 10px;
  }
  .dark .drawer-nav-item i {
    color: #38bdf8;
  }
  .drawer-divider {
    border-top: 1px solid #e1e1e1;
    margin: 8px 20px;
  }
  .dark .drawer-divider {
    border-top: 1px solid #2e3056;
  }
  .drawer-section-title {
    padding: 6px 20px 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }
  .dark .drawer-section-title {
    color: #94a3b8;
  }

  /* Multi-Role Dropdown Styling */
  .role-login-dropdown {
    width: 450px;
    max-width: 95vw;
    border-radius: 18px !important;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 20px 40px -8px rgba(10, 137, 154, 0.2), 0 8px 20px rgba(0,0,0,0.06) !important;
    animation: ddDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top right;
    z-index: 1055;
  }
  @keyframes ddDropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .role-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #64748b;
    margin: 8px 0 6px 4px;
  }
  .role-portal-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
  }
  .role-portal-card:hover {
    background: #f0fdfa;
    border-color: #0a899a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 137, 154, 0.15);
  }
  .role-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .role-icon-box.bg-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
  .role-icon-box.bg-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
  .role-icon-box.bg-emerald { background: linear-gradient(135deg, #10b981, #047857); }
  .role-icon-box.bg-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
  .role-icon-box.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
  .role-icon-box.bg-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
  .role-icon-box.bg-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }
  .role-icon-box.bg-slate { background: linear-gradient(135deg, #475569, #1e293b); }
  .role-portal-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .role-portal-info .role-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
  }
  .role-portal-info .role-sub {
    font-size: 10.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Dark Mode Styles for Multi-Role Dropdown */
  .dark .role-login-dropdown {
    background: #181932 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.7) !important;
  }
  .dark .role-dropdown-header {
    border-bottom-color: #262747 !important;
    color: #e2e8f0 !important;
  }
  .dark .role-group-label {
    color: #94a3b8;
  }
  .dark .role-portal-card {
    background: #202142;
    border-color: #2b2d56;
  }
  .dark .role-portal-card:hover {
    background: #282a56;
    border-color: #38bdf8;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
  }
  .dark .role-portal-info .role-title {
    color: #f1f5f9;
  }
  .dark .role-portal-info .role-sub {
    color: #94a3b8;
  }

  /* Drawer Login Items Enhancements */
  .drawer-icon-circle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 12px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
  .drawer-icon-circle i {
    width: auto !important;
    font-size: 14px !important;
    color: #fff !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
  .drawer-text-col {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }
  .drawer-text-col .d-title {
    font-size: 13.5px;
    font-weight: 700;
  }
  .drawer-text-col .d-sub {
    font-size: 11px;
    color: #718096;
    font-weight: normal;
  }
  .dark .drawer-text-col .d-sub {
    color: #94a3b8;
  }
  .d-arrow {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    width: auto !important;
  }
  .dark .d-arrow {
    color: #4b5563 !important;
  }

  /* Header & Navbar Dark Mode Global Rules */
  .dark header,
  body.dark header,
  .dark-mode header,
  body.dark-mode header {
    background: #181932 !important;
    border-bottom: 1px solid #2e3056 !important;
  }
  .dark .navbar,
  body.dark .navbar,
  .dark-mode .navbar,
  body.dark-mode .navbar {
    background: transparent !important;
  }
  .dark .navbar-nav .nav-link,
  body.dark .navbar-nav .nav-link,
  .dark-mode .navbar-nav .nav-link,
  body.dark-mode .navbar-nav .nav-link {
    color: #cbd5e1 !important;
  }
  .dark .navbar-nav .nav-link:hover,
  .dark .navbar-nav .nav-link:focus,
  body.dark .navbar-nav .nav-link:hover,
  body.dark .navbar-nav .nav-link:focus,
  .dark-mode .navbar-nav .nav-link:hover,
  .dark-mode .navbar-nav .nav-link:focus,
  body.dark-mode .navbar-nav .nav-link:hover,
  body.dark-mode .navbar-nav .nav-link:focus {
    color: #38bdf8 !important;
  }
  .dark .navbar-nav .nav-link.active,
  body.dark .navbar-nav .nav-link.active,
  .dark-mode .navbar-nav .nav-link.active,
  body.dark-mode .navbar-nav .nav-link.active {
    color: #38bdf8 !important;
  }
  .dark .navbar-brand span,
  body.dark .navbar-brand span,
  .dark-mode .navbar-brand span,
  body.dark-mode .navbar-brand span {
    color: #38bdf8 !important;
  }
  .dark #drawerToggle i,
  body.dark #drawerToggle i,
  .dark-mode #drawerToggle i,
  body.dark-mode #drawerToggle i {
    color: #38bdf8 !important;
  }
  .dark #theme-toggle,
  .dark #theme-toggle-mobile,
  body.dark #theme-toggle,
  body.dark #theme-toggle-mobile,
  .dark-mode #theme-toggle,
  .dark-mode #theme-toggle-mobile,
  body.dark-mode #theme-toggle,
  body.dark-mode #theme-toggle-mobile {
    border-color: #374151 !important;
    color: #f1c40f !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
  }
  .dark #theme-toggle:hover,
  .dark #theme-toggle-mobile:hover,
  body.dark #theme-toggle:hover,
  body.dark #theme-toggle-mobile:hover,
  .dark-mode #theme-toggle:hover,
  .dark-mode #theme-toggle-mobile:hover,
  body.dark-mode #theme-toggle:hover,
  body.dark-mode #theme-toggle-mobile:hover {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffd152 !important;
  }

