    .app {
      display: flex;
      height: 100vh;
      min-height: 100vh;
      overflow: hidden
    }

    .sidebar {
      width: 240px;
      background: var(--sidebar-bg);
      color: #e2e8f0;
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      height: 100vh;
      overflow: hidden;
      border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .sidebar-logo {
      padding: 22px 20px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .sidebar-logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary-light), #7c3aed);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sidebar-logo-text {
      font-size: 17px;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.02em;
    }

    .sidebar-logo-text small {
      display: block;
      font-size: 11px;
      font-weight: 400;
      color: #64748b;
      margin-top: 1px;
      letter-spacing: 0;
    }

    .sidebar-nav {
      flex: 1;
      padding: 12px 10px;
      overflow-y: auto
    }

    .nav-section {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #475569;
      padding: 14px 10px 6px;
      font-weight: 600;
    }

    .nav-item {
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 9px 12px;
      border-radius: 9px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 500;
      color: #94a3b8;
      transition: var(--transition);
      margin-bottom: 2px;
      border: none;
      background: none;
      width: 100%;
      text-align: left;
    }

    .nav-item:hover {
      background: var(--sidebar-hover);
      color: #e2e8f0
    }

    .nav-item.active {
      background: var(--sidebar-active);
      color: #60a5fa;
      font-weight: 600;
    }

    .nav-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      opacity: .85;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .nav-item.active .nav-icon {
      opacity: 1
    }

    .nav-icon svg {
      width: 18px;
      height: 18px
    }

    .role-switcher {
      padding: 14px 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-only {
      display: none;
    }

    .role-label {
      font-size: 10px;
      color: #475569;
      text-transform: uppercase;
      letter-spacing: .1em;
      margin-bottom: 8px;
      font-weight: 600;
    }

    .role-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 8px 12px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: transparent;
      color: #94a3b8;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      margin-bottom: 5px;
      text-align: left;
      transition: var(--transition);
      font-family: inherit;
    }

    .role-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      color: #e2e8f0
    }

    .role-btn.active {
      background: linear-gradient(135deg, var(--primary-light), #3b82f6);
      color: #fff;
      border-color: transparent;
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }

    .main {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      background: var(--bg)
    }

    .topbar {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 14px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
      box-shadow: var(--shadow-sm);
    }

    .topbar-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.01em
    }

    .back-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #f8fafc;
      color: var(--primary);
      cursor: pointer;
      margin-right: 10px;
      transition: var(--transition);
      flex-shrink: 0;
    }

    .back-btn:hover {
      background: #eef2ff;
      border-color: #bfdbfe;
    }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 16px
    }

    .topbar-user {
      font-size: 12px;
      color: var(--muted);
      font-weight: 500
    }

    .notif-btn {
      position: relative;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 8px;
      background: #f8fafc;
      border: 1px solid var(--border);
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
      transition: var(--transition);
      font-family: inherit;
    }

    .notif-btn:hover {
      background: #f1f5f9;
      color: var(--text)
    }

    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 18px;
      height: 18px;
      border-radius: 10px;
      padding: 0 5px;
      background: var(--danger);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
    }

    .avatar {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .content {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 24px 28px
    }

    .mobile-bottom-nav {
      display: none;
    }

    .mobile-bottom-nav-item {
      border: none;
      background: none;
      color: #9ca3af;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: var(--transition);
    }

    .mobile-bottom-nav-item svg {
      width: 19px;
      height: 19px;
    }

    .mobile-bottom-nav-icon-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .mobile-bottom-nav-badge {
      position: absolute;
      top: -7px;
      right: -11px;
      min-width: 16px;
      height: 16px;
      padding: 0 4px;
      border-radius: 999px;
      background: var(--danger);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.8);
      font-size: 9px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }

    .mobile-bottom-nav-item.active {
      color: #fff;
    }

    .mobile-bottom-nav[data-items="4"] .mobile-bottom-nav-item {
      gap: 2px;
      font-size: 10px;
    }

    .mobile-bottom-nav[data-items="5"] .mobile-bottom-nav-item {
      gap: 2px;
      font-size: 9px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px
    }

    .grid-3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 18px
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px
    }

    .grid-5 {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px
    }

    .grid-6 {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px
    }

/* Premium Notification Bell & Dropdown Styles */
.notif-wrapper {
  position: relative;
  display: inline-block;
}

.notif-bell-btn {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
  padding: 0;
}

.notif-bell-btn:hover {
  background: #f1f5f9;
  color: var(--text);
  transform: scale(1.05);
}

.notif-bell-btn svg {
  width: 20px;
  height: 20px;
}

.notif-bell-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bell shake/ringing animation */
@keyframes bell-shake {
  0%, 100% { transform: rotate(0deg); }
  20%, 60% { transform: rotate(15deg); }
  40%, 80% { transform: rotate(-15deg); }
}

.bell-ringing svg {
  animation: bell-shake 0.5s ease-in-out;
  transform-origin: top center;
  color: #ef4444;
}

/* Notification Dropdown Panel */
.notif-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 400px;
  animation: dropdown-slide 0.2s ease-out;
}

@keyframes dropdown-slide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.notif-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.notif-dropdown-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.notif-dropdown-clear {
  font-size: 11px;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.notif-dropdown-clear:hover {
  text-decoration: underline;
}

.notif-dropdown-list {
  overflow-y: auto;
  flex: 1;
}

.notif-dropdown-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.notif-dropdown-item:last-child {
  border-bottom: none;
}

.notif-dropdown-item:hover {
  background: #f8fafc;
}

.notif-dropdown-item.unread {
  background: #eff6ff;
}

.notif-dropdown-item.unread:hover {
  background: #e0f2fe;
}

.notif-item-title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.notif-item-text {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.notif-item-time {
  font-size: 9px;
  color: #94a3b8;
  align-self: flex-end;
}

.notif-dropdown-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.notif-dropdown-footer {
  padding: 10px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: #f8fafc;
}

.notif-view-all-btn {
  font-size: 12px;
  font-weight: 500;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
}

.notif-view-all-btn:hover {
  text-decoration: underline;
}


