*,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --sidebar-bg: #0f1623;
      --sidebar-item: #1e2736;
      --sidebar-active: #2563eb;
      --sidebar-text: #94a3b8;
      --sidebar-text-active: #ffffff;
      --bg: #f1f5f9;
      --surface: #ffffff;
      --border: #e2e8f0;
      --border-focus: #3b82f6;
      --text-primary: #0f172a;
      --text-secondary: #64748b;
      --text-muted: #94a3b8;
      --blue: #2563eb;
      --blue-light: #eff6ff;
      --blue-dark: #1d4ed8;
      --red: #ef4444;
      --red-light: #fef2f2;
      --green: #10b981;
      --green-light: #f0fdf4;
      --amber: #f59e0b;
      --radius-sm: 6px;
      --radius: 10px;
      --radius-lg: 14px;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -1px rgba(0, 0, 0, .04);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -2px rgba(0, 0, 0, .04);
      --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 10px 10px -5px rgba(0, 0, 0, .03);
    }

    html,
    body {
      height: 100%;
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text-primary);
      -webkit-font-smoothing: antialiased;
    }

    body {
      display: flex;
      overflow: hidden;
    }

    ::-webkit-scrollbar {
      width: 5px;
      height: 5px;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #94a3b8;
    }

    /* ── SIDEBAR ─────────────────────────────────────────────── */
    .sidebar {
      width: 240px;
      min-width: 240px;
      height: 100vh;
      background: var(--sidebar-bg);
      display: flex;
      flex-direction: column;
      border-right: 1px solid rgba(255, 255, 255, .04);
      overflow: hidden;
      flex-shrink: 0;
      z-index: 40;
    }

    .sidebar-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 20px 20px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .brand-icon {
      width: 34px;
      height: 34px;
      border-radius: 8px;
      background: var(--sidebar-active);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .brand-icon svg {
      width: 16px;
      height: 16px;
      color: #fff;
    }

    .brand-name {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      line-height: 1.2;
    }

    .brand-sub {
      font-size: 10px;
      font-weight: 500;
      color: var(--sidebar-text);
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .sidebar-section-label {
      font-size: 10px;
      font-weight: 700;
      color: #475569;
      text-transform: uppercase;
      letter-spacing: .08em;
      padding: 18px 20px 8px;
    }

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

    .nav-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      margin-bottom: 2px;
      font-size: 13px;
      font-weight: 500;
      color: var(--sidebar-text);
      transition: all .15s ease;
    }

    .nav-item:hover {
      background: rgba(255, 255, 255, .06);
      color: #fff;
    }

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

    .nav-item svg {
      width: 15px;
      height: 15px;
      flex-shrink: 0;
    }

    .nav-item .nav-badge {
      margin-left: auto;
      font-size: 10px;
      font-weight: 700;
      background: rgba(255, 255, 255, .15);
      color: #fff;
      padding: 1px 6px;
      border-radius: 20px;
    }

    /* ============ PRO BADGE ============ */
    .pro-badge {
      margin-left: auto;
      font-size: 8px;
      font-weight: 800;
      letter-spacing: 1px;
      color: #fff;
      background: linear-gradient(135deg, #f59e0b, #ef4444);
      padding: 3px 7px;
      border-radius: 6px;
      text-transform: uppercase;
      box-shadow: 0 2px 8px rgba(239, 68, 68, .45);
    }

    /* ============ PROFILE DROPDOWN & POPUP ============ */
    .profile-dropdown-container {
      position: relative;
      display: flex;
      align-items: center;
    }

    .topbar-profile-trigger {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #ffffff;
      border: 1px solid var(--border);
      padding: 4px 14px 4px 5px;
      border-radius: 9999px;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: var(--shadow-sm);
      font-family: inherit;
      outline: none;
    }

    .topbar-profile-trigger:hover {
      border-color: var(--blue);
      box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
      transform: translateY(-1px);
    }

    .topbar-profile-trigger.active,
    .topbar-profile-trigger[aria-expanded="true"] {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    }

    .header-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #2563eb, #7c3aed);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      font-family: 'Outfit', sans-serif;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    }

    .header-user-info {
      display: flex;
      flex-direction: column;
      text-align: left;
      line-height: 1.25;
    }

    .header-user-name {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      white-space: nowrap;
    }

    .header-user-role {
      font-size: 10px;
      font-weight: 700;
      color: var(--text-muted);
      white-space: nowrap;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .header-chevron {
      font-size: 11px;
      color: var(--text-muted);
      margin-left: 2px;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
    }

    .topbar-profile-trigger.active .header-chevron,
    .topbar-profile-trigger[aria-expanded="true"] .header-chevron {
      transform: rotate(180deg);
      color: var(--blue);
    }

    /* Profile Popup Card */
    .profile-popup-card {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 290px;
      background: #ffffff;
      border-radius: 18px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.03);
      padding: 18px;
      z-index: 1000;
      display: none;
      opacity: 0;
      transform: translateY(-8px) scale(0.97);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .profile-popup-card.open {
      display: block;
      opacity: 1;
      transform: translateY(0) scale(1);
      animation: popupSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes popupSlideDown {
      from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .popup-card-header {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .popup-card-avatar {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: linear-gradient(135deg, #2563eb, #7c3aed);
      color: #fff;
      font-size: 16px;
      font-weight: 800;
      font-family: 'Outfit', sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
      flex-shrink: 0;
    }

    .popup-card-user {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
    }

    .popup-name {
      font-size: 15px;
      font-weight: 700;
      color: #0f172a;
      font-family: 'Outfit', sans-serif;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 2px;
    }

    .popup-role-badge {
      display: inline-block;
      align-self: flex-start;
      font-size: 9.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      padding: 2px 8px;
      border-radius: 6px;
      background: rgba(37, 99, 235, 0.12);
      color: var(--blue);
      margin-bottom: 4px;
    }

    .popup-email {
      font-size: 11.5px;
      color: var(--text-secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .popup-card-divider {
      height: 1px;
      background: #f1f5f9;
      margin: 14px -18px;
    }

    .popup-card-meta {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .popup-meta-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .popup-meta-item .meta-label {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
      color: var(--text-secondary);
      font-weight: 500;
    }

    .popup-meta-item .meta-label i {
      font-size: 11px;
      color: var(--text-muted);
      width: 14px;
      text-align: center;
    }

    .popup-meta-item .meta-value {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .popup-card-actions {
      margin-top: 2px;
    }

    .popup-logout-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 11px;
      border: 1px solid rgba(239, 68, 68, 0.25);
      background: rgba(239, 68, 68, 0.05);
      color: var(--red);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      font-family: inherit;
    }

    .popup-logout-btn:hover {
      background: var(--red);
      color: #ffffff;
      border-color: var(--red);
      box-shadow: 0 4px 14px rgba(239, 68, 68, 0.28);
      transform: translateY(-1px);
    }

    .popup-logout-btn:active {
      transform: translateY(0);
    }

    @media (max-width: 680px) {
      .header-user-info, .header-chevron {
        display: none;
      }
      .topbar-profile-trigger {
        padding: 4px;
        background: transparent;
        border: none;
        box-shadow: none;
      }
      .profile-popup-card {
        right: 0;
        width: 270px;
      }
    }

    /* ── MAIN LAYOUT ─────────────────────────────────────────── */
    .main {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .topbar {
      height: 58px;
      flex-shrink: 0;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      gap: 16px;
    }

    .topbar-left {
      display: flex;
      flex-direction: column;
    }

    .topbar-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-primary);
    }

    .topbar-sub {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 1px;
    }

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

    .status-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 600;
      color: #16a34a;
      background: var(--green-light);
      border: 1px solid #bbf7d0;
      padding: 4px 10px;
      border-radius: 20px;
    }

    .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green);
    }

    /* ── FILTER BAR ──────────────────────────────────────────── */
    .filter-bar {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 10px 24px;
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      flex-shrink: 0;
      min-height: 58px;
    }

    .filter-group {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .filter-label {
      font-size: 10px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .filter-select {
      height: 32px;
      padding: 0 28px 0 10px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--surface);
      color: var(--text-primary);
      font-size: 12px;
      font-weight: 500;
      font-family: inherit;
      outline: none;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 8px center;
      transition: border-color .15s;
    }

    .filter-select:focus {
      border-color: var(--border-focus);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
    }

    .filter-select:disabled {
      background-color: #f8fafc;
      color: var(--text-muted);
      cursor: not-allowed;
    }

    .filter-divider {
      width: 1px;
      height: 28px;
      background: var(--border);
      margin: 0 2px;
    }

    .fixed-value {
      height: 32px;
      display: flex;
      align-items: center;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      padding: 0 10px;
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
    }

    /* ── CONTENT AREA ────────────────────────────────────────── */
    .content {
      flex: 1;
      overflow-y: auto;
      padding: 20px 24px;
    }

    .table-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      height: 100%;
    }

    .table-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      border-bottom: 1px solid var(--border);
      gap: 12px;
      flex-shrink: 0;
    }

    .search-wrap {
      position: relative;
    }

    .search-wrap svg {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 14px;
      height: 14px;
      color: var(--text-muted);
      pointer-events: none;
    }

    .search-input {
      height: 34px;
      padding: 0 12px 0 32px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--bg);
      font-size: 13px;
      font-family: inherit;
      color: var(--text-primary);
      outline: none;
      width: 260px;
      transition: all .15s;
    }

    .search-input:focus {
      border-color: var(--border-focus);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
    }

    .search-input::placeholder {
      color: var(--text-muted);
    }

    /* ── BUTTONS ─────────────────────────────────────────────── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 0 14px;
      height: 34px;
      border-radius: var(--radius-sm);
      font-size: 13px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      border: none;
      transition: all .15s;
      outline: none;
      white-space: nowrap;
    }

    .btn svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }

    .btn:disabled {
      opacity: .5;
      cursor: not-allowed;
      pointer-events: none;
    }

    .btn-primary {
      background: var(--blue);
      color: #fff;
    }

    .btn-primary:hover {
      background: var(--blue-dark);
    }

    .btn-outline {
      background: var(--surface);
      color: var(--text-secondary);
      border: 1px solid var(--border);
    }

    .btn-outline:hover {
      background: var(--bg);
      color: var(--text-primary);
    }

    .btn-ghost {
      background: transparent;
      color: var(--text-secondary);
    }

    .btn-ghost:hover {
      background: var(--bg);
      color: var(--text-primary);
    }

    .btn-danger {
      background: var(--red-light);
      color: var(--red);
      border: 1px solid #fecaca;
    }

    .btn-danger:hover {
      background: #fee2e2;
    }

    .btn-danger-solid {
      background: var(--red);
      color: #fff;
    }

    .btn-danger-solid:hover {
      background: #dc2626;
    }

    .btn-sm {
      height: 28px;
      padding: 0 10px;
      font-size: 12px;
    }

    .btn-icon {
      width: 28px;
      height: 28px;
      padding: 0;
      justify-content: center;
      border-radius: var(--radius-sm);
    }

    /* ── TABLE ───────────────────────────────────────────────── */
    .table-wrap {
      overflow-x: auto;
      flex: 1;
      position: relative;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    thead th {
      padding: 10px 16px;
      text-align: left;
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: .06em;
      background: #f8fafc;
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
      position: sticky;
      top: 0;
      z-index: 1;
    }

    tbody td {
      padding: 11px 16px;
      border-bottom: 1px solid #f1f5f9;
      vertical-align: middle;
    }

    tbody tr:last-child td {
      border-bottom: none;
    }

    tbody tr {
      transition: background .1s;
    }

    tbody tr:hover td {
      background: #f8fafc;
    }

    .td-actions {
      display: flex;
      gap: 4px;
      justify-content: flex-end;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }

    .badge-green {
      background: var(--green-light);
      color: #15803d;
    }

    .badge-red {
      background: var(--red-light);
      color: #dc2626;
    }

    .badge-blue {
      background: var(--blue-light);
      color: var(--blue);
    }

    .badge-gray {
      background: #f1f5f9;
      color: #475569;
    }

    .badge-purple {
      background: #f3e8ff;
      color: #7e22ce;
    }

    .badge-amber {
      background: #fef3c7;
      color: #b45309;
    }

    /* ── PAGINATION ──────────────────────────────────────────── */
    .pagination {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 18px;
      border-top: 1px solid var(--border);
      background: #fafbfc;
      flex-shrink: 0;
    }

    .pagination-info {
      font-size: 12px;
      color: var(--text-muted);
      font-weight: 500;
    }

    .pagination-controls {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .page-btn {
      width: 30px;
      height: 30px;
      border: 1px solid var(--border);
      background: var(--surface);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      transition: all .15s;
    }

    .page-btn:hover {
      background: var(--bg);
      color: var(--text-primary);
    }

    .page-btn.active {
      background: var(--blue);
      color: #fff;
      border-color: var(--blue);
    }

    .page-btn:disabled {
      opacity: .4;
      cursor: not-allowed;
      pointer-events: none;
    }

    .page-btn svg {
      width: 13px;
      height: 13px;
    }

    /* ── EMPTY STATE ─────────────────────────────────────────── */
    .empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      gap: 10px;
    }

    .empty-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 4px;
    }

    .empty-icon svg {
      width: 22px;
      height: 22px;
      color: var(--text-muted);
    }

    .empty-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .empty-sub {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* ── SKELETON ────────────────────────────────────────────── */
    .skeleton {
      background: linear-gradient(90deg, #f1f5f9 25%, #e8edf2 50%, #f1f5f9 75%);
      background-size: 400% 100%;
      animation: shimmer 1.4s ease infinite;
      border-radius: 4px;
    }

    @keyframes shimmer {
      0% {
        background-position: 100% 0;
      }

      100% {
        background-position: -100% 0;
      }
    }

    .sk-text {
      height: 13px;
      width: 80%;
    }

    .sk-short {
      width: 40%;
    }

    /* ── DASHBOARD PLACEHOLDER ───────────────────────────────── */
    .dashboard-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: 40px;
      color: var(--text-muted);
    }

    .dashboard-placeholder svg {
      width: 64px;
      height: 64px;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .dashboard-placeholder h2 {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 8px;
    }

    .dashboard-placeholder p {
      font-size: 14px;
    }

    /* ── MODAL ───────────────────────────────────────────────── */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, .7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 9999990 !important;
      opacity: 0;
      pointer-events: none;
      transition: opacity .25s ease;
    }

    .modal-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 9999995 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      pointer-events: none;
    }

    .modal-box {
      background: var(--surface);
      border-radius: 20px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      box-shadow: 0 35px 80px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.5);
      width: 96vw;
      max-width: 1400px;
      height: 92vh;
      max-height: 94vh;
      display: flex;
      flex-direction: column;
      opacity: 0;
      transform: scale(.96) translateY(12px);
      transition: all .25s cubic-bezier(.16, 1, .3, 1);
      overflow: hidden;
    }

    .modal.open .modal-box {
      opacity: 1;
      transform: scale(1) translateY(0);
      pointer-events: auto;
    }

    .modal-box.wide {
      width: 97vw;
      max-width: 1540px;
      height: 93vh;
      max-height: 95vh;
    }

    .modal-box.full {
      max-width: 98vw;
      width: 98vw;
      height: 96vh;
      max-height: 96vh;
    }

    .modal-header {
      padding: 20px 28px 18px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 14px;
      background: #ffffff;
      border-radius: 20px 20px 0 0;
    }

    .modal-header-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: var(--blue-light);
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(37, 99, 235, .12);
    }

    .modal-header-icon svg {
      width: 20px;
      height: 20px;
    }

    .modal-header-icon.danger {
      background: var(--red-light);
      color: var(--red);
      box-shadow: 0 2px 8px rgba(239, 68, 68, .12);
    }

    .modal-title-wrap {
      flex: 1;
    }

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

    .modal-sub {
      font-size: 12.5px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    .modal-header-csv-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: auto;
      margin-right: 4px;
    }

    .modal-close {
      width: 34px;
      height: 34px;
      border: none;
      background: #f1f5f9;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text-muted);
      transition: all .18s ease;
      flex-shrink: 0;
    }

    .modal-close:hover {
      background: #e2e8f0;
      color: var(--text-primary);
      transform: rotate(90deg);
    }

    .modal-close svg {
      width: 16px;
      height: 16px;
    }

    .modal-body {
      padding: 24px 28px;
      overflow-y: auto;
      flex: 1;
      scrollbar-width: thin;
      scrollbar-color: #cbd5e1 transparent;
    }

    .modal-body::-webkit-scrollbar {
      width: 6px;
    }

    .modal-body::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 6px;
    }

    .modal-footer {
      padding: 16px 28px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      background: #f8fafc;
      border-radius: 0 0 20px 20px;
      flex-shrink: 0;
    }

    /* ── FORMS ───────────────────────────────────────────────── */
    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 16px;
    }

    .form-grid.cols-1 {
      grid-template-columns: 1fr;
    }

    .form-grid.cols-2 {
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }

    .form-grid.cols-3 {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .form-grid.cols-4 {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .form-section-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
      color: #1e293b;
      text-transform: uppercase;
      letter-spacing: .05em;
      margin: 18px 0 12px;
      padding-bottom: 8px;
      border-bottom: 1.5px solid #e2e8f0;
      grid-column: 1 / -1;
    }

    .form-section-title:first-child {
      margin-top: 0;
    }

    .form-section-title i,
    .form-section-title svg {
      width: 16px;
      height: 16px;
      color: var(--blue);
    }

    .dyn-header-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 9px 16px;
      background: #f1f5f9;
      border-radius: 10px;
      margin-bottom: 10px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: #475569;
    }

    /* ── DEPARTMENT PRESET BUILDER ───────────────────────────── */
    .dept-builder-grid {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 18px;
      margin-top: 10px;
    }

    @media (max-width: 900px) {
      .dept-builder-grid {
        grid-template-columns: 1fr;
      }
    }

    .dept-preset-panel {
      display: flex;
      flex-direction: column;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      padding: 16px;
    }

    .dept-preset-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .dept-search-input {
      width: 100%;
      height: 36px;
      padding: 0 12px;
      border: 1.5px solid #cbd5e1;
      border-radius: 8px;
      background: #ffffff;
      font-size: 12.5px;
      outline: none;
      transition: all .15s;
      margin-bottom: 10px;
    }

    .dept-search-input:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .dept-list-scroll {
      max-height: 380px;
      overflow-y: auto;
      padding-right: 4px;
      scrollbar-width: thin;
      scrollbar-color: #cbd5e1 transparent;
    }

    .dept-list-scroll::-webkit-scrollbar {
      width: 5px;
    }
    .dept-list-scroll::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 4px;
    }

    .dept-category-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
      color: #475569;
      margin: 12px 0 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .dept-category-title:first-child {
      margin-top: 0;
    }

    .dept-item-label {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 12px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      margin-bottom: 6px;
      cursor: pointer;
      transition: all .15s ease;
      font-size: 12.5px;
      user-select: none;
    }

    .dept-item-label:hover {
      border-color: #93c5fd;
      background: #eff6ff;
    }

    .dept-item-label.selected {
      border-color: #3b82f6;
      background: #eff6ff;
    }

    .dept-item-label input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--blue);
      cursor: pointer;
    }

    .dept-code-tag {
      font-weight: 700;
      font-size: 11px;
      padding: 2px 7px;
      border-radius: 6px;
      background: #e0f2fe;
      color: #0369a1;
      font-family: monospace;
      flex-shrink: 0;
    }

    .dept-actions-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 12px;
      margin-top: 8px;
      border-top: 1px solid #e2e8f0;
    }

    .form-full {
      grid-column: 1 / -1;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .field-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .field-label span {
      color: var(--red);
      margin-left: 2px;
    }

    .field-input,
    .field-select,
    .field-textarea {
      height: 38px;
      padding: 0 14px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      background: var(--bg);
      font-size: 13.5px;
      font-family: inherit;
      color: var(--text-primary);
      outline: none;
      transition: all .15s;
      width: 100%;
    }

    .field-input::placeholder,
    .field-textarea::placeholder {
      color: var(--text-muted);
    }

    .field-input:focus,
    .field-select:focus,
    .field-textarea:focus {
      border-color: var(--border-focus);
      background: #fff;
      box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .1);
    }

    .field-select {
      appearance: none;
      cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      padding-right: 32px;
    }

    .field-textarea {
      height: auto;
      padding: 12px 14px;
      resize: vertical;
      border-radius: 12px;
    }

    .checkbox-field {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 16px;
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: 12px;
      cursor: pointer;
      user-select: none;
      transition: all .2s ease;
      min-height: 48px;
      box-sizing: border-box;
      margin-bottom: 0;
    }

    .checkbox-field:hover {
      border-color: #93c5fd;
      background: #f8fafc;
      transform: translateY(-1px);
      box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    }

    .checkbox-field:has(input:checked),
    .checkbox-field.checked {
      background: #f0fdf4 !important;
      border-color: #86efac !important;
    }

    .checkbox-field input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: #16a34a;
      cursor: pointer;
      flex-shrink: 0;
      margin: 0;
    }

    .checkbox-field label,
    .checkbox-field span.cb-title {
      font-size: 13.5px;
      font-weight: 600;
      color: #1e293b;
      cursor: pointer;
      flex: 1;
      margin: 0;
    }

    /* ── DYNAMIC ROWS ────────────────────────────────────────── */
    .dyn-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: 12px;
      margin-bottom: 10px;
      transition: border-color .15s;
    }

    .dyn-row:hover {
      border-color: #cbd5e1;
    }

    .dyn-row .field-input,
    .dyn-row .field-select {
      background: #fff;
    }

    .dyn-row .col-1 {
      flex: 2;
    }

    .dyn-row .col-2 {
      flex: 1;
    }

    .dyn-row .col-sm {
      flex: 0 0 90px;
    }

    .add-row-btn {
      width: 100%;
      padding: 10px;
      border: 1.5px dashed var(--border);
      border-radius: var(--radius);
      background: transparent;
      color: var(--blue);
      font-size: 13px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all .15s;
      margin-top: 4px;
    }

    .add-row-btn:hover {
      border-color: var(--blue);
      background: var(--blue-light);
    }

    .add-row-btn svg {
      width: 14px;
      height: 14px;
    }

    /* ── QUICK FILL CHIPS ────────────────────────────────────── */
    .quick-fill-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 10px 12px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      margin-bottom: 10px;
    }

    .quick-fill-label {
      width: 100%;
      font-size: 10px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .chip {
      padding: 4px 10px;
      border: 1px solid var(--border);
      background: var(--surface);
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all .15s;
    }

    .chip:hover {
      border-color: var(--blue);
      color: var(--blue);
      background: var(--blue-light);
    }

    /* ── BULK TEXTAREA ───────────────────────────────────────── */
    .bulk-hint {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    /* ── TOASTS ──────────────────────────────────────────────── */
    .toast-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 8px;
      pointer-events: none;
    }

    .toast {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      border-radius: var(--radius);
      background: var(--text-primary);
      color: #fff;
      font-size: 13px;
      font-weight: 500;
      max-width: 340px;
      box-shadow: var(--shadow-lg);
      pointer-events: auto;
      animation: toast-in .3s cubic-bezier(.16, 1, .3, 1) forwards;
    }

    .toast.success {
      background: #14532d;
      border-left: 3px solid var(--green);
    }

    .toast.error {
      background: #450a0a;
      border-left: 3px solid var(--red);
    }

    .toast svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    .toast.success svg {
      color: #4ade80;
    }

    .toast.error svg {
      color: #f87171;
    }

    .toast.fade-out {
      animation: toast-out .25s forwards;
    }

    @keyframes toast-in {
      from {
        transform: translateX(110%);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes toast-out {
      to {
        transform: translateX(110%);
        opacity: 0;
      }
    }

    /* ── LOGIN ───────────────────────────────────────────────── */
    .login-screen {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: var(--sidebar-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity .4s;
    }

    .login-screen.hide {
      opacity: 0;
      pointer-events: none;
    }

    .login-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 36px 32px;
      width: 100%;
      max-width: 380px;
      box-shadow: var(--shadow-xl);
    }

    .login-logo {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: var(--blue-light);
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
    }

    .login-logo svg {
      width: 22px;
      height: 22px;
    }

    .login-title {
      text-align: center;
      font-size: 20px;
      font-weight: 800;
      color: var(--text-primary);
    }

    .login-sub {
      text-align: center;
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 4px;
      margin-bottom: 24px;
    }

    .login-error {
      font-size: 12px;
      color: var(--red);
      background: var(--red-light);
      padding: 8px 12px;
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
      display: none;
    }

    /* Saved Accounts UI */
    .saved-accounts-section {
      margin-bottom: 1.2rem;
      text-align: left;
    }
    .saved-accounts-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }
    .saved-accounts-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .5px;
      color: #64748b;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .saved-accounts-add-btn {
      background: none;
      border: none;
      color: var(--blue);
      font-size: 11.5px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 6px;
      border-radius: 6px;
      transition: all 0.15s;
    }
    .saved-accounts-add-btn:hover {
      background: #eff6ff;
    }
    .saved-accounts-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
      max-height: 175px;
      overflow-y: auto;
      padding-right: 2px;
    }
    .saved-accounts-list::-webkit-scrollbar {
      width: 4px;
    }
    .saved-accounts-list::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 4px;
    }
    .saved-account-card {
      border: 1.5px solid #e2e8f0;
      border-radius: 12px;
      padding: 8px 12px;
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      transition: all 0.18s ease;
      background: #fbfcfd;
      position: relative;
      user-select: none;
    }
    .saved-account-card:hover {
      border-color: var(--blue);
      background: #f8fafc;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    }
    .saved-account-card.active {
      border-color: var(--blue);
      background: #eff6ff;
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
    }
    .saved-account-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11.5px;
      font-weight: 700;
      flex-shrink: 0;
      text-transform: uppercase;
    }
    .saved-account-info {
      flex: 1;
      min-width: 0;
    }
    .saved-account-name {
      font-size: 13px;
      font-weight: 600;
      color: #0f172a;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.2;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .saved-account-email {
      font-size: 11px;
      color: #64748b;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.3;
    }
    .saved-account-remove {
      background: none;
      border: none;
      color: #94a3b8;
      cursor: pointer;
      width: 24px;
      height: 24px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      transition: all 0.15s;
      flex-shrink: 0;
    }
    .saved-account-remove:hover {
      color: #ef4444;
      background: #fee2e2;
    }
    .saved-account-badge {
      font-size: 9.5px;
      font-weight: 600;
      padding: 1px 6px;
      border-radius: 10px;
      background: #eff6ff;
      color: var(--blue);
    }

    .divider {
      height: 1px;
      background: var(--border);
      margin: 4px 0;
    }

    /* ── DELETE CONFIRM MODAL ────────────────────────────────── */
    .delete-modal-box {
      max-width: 440px !important;
      border-radius: 20px !important;
    }

    .delete-icon-wrap {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: var(--red-light);
      color: var(--red);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 14px;
    }

    .delete-icon-wrap svg {
      width: 24px;
      height: 24px;
    }

    /* ── MOBILE CONTROLS ────────────────────────────────────── */
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 5px 8px;
      cursor: pointer;
      color: var(--text-primary);
      align-items: center;
      justify-content: center;
      transition: all .15s;
      flex-shrink: 0;
    }
    .mobile-menu-btn:hover {
      background: var(--blue-light);
      color: var(--blue);
    }
    .mobile-menu-btn svg {
      width: 18px;
      height: 18px;
    }
    .sidebar-close-btn {
      display: none;
      background: transparent;
      border: none;
      cursor: pointer;
      color: var(--sidebar-text);
      padding: 6px;
      border-radius: var(--radius-sm);
      align-items: center;
      justify-content: center;
      transition: all .15s;
      flex-shrink: 0;
    }
    .sidebar-close-btn:hover {
      color: var(--red);
      background: rgba(239, 68, 68, .15);
    }
    .sidebar-close-btn svg {
      width: 18px;
      height: 18px;
    }
    .sidebar-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 22, 36, .55);
      backdrop-filter: blur(2px);
      z-index: 35;
      display: none;
      opacity: 0;
      transition: opacity .3s ease;
    }
    .sidebar-backdrop.active {
      display: block;
      opacity: 1;
    }

    /* ── RESPONSIVE ──────────────────────────────────────────── */
    @media (max-width: 1024px) {
      html, body { padding: 0 !important; margin: 0 !important; overflow: hidden !important; width: 100% !important; height: 100% !important; }
      #app {
        width: 100vw !important;
        height: 100vh !important;
        position: relative !important;
        overflow: hidden !important;
      }
      .mobile-menu-btn {
        display: inline-flex !important;
      }
      .sidebar-close-btn {
        display: inline-flex !important;
      }
      .sidebar {
        position: fixed !important;
        .main-content { margin-left: 0 !important; width: 100% !important; height: 100% !important; flex: 1 !important; display: flex !important; flex-direction: column !important; }
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 240px !important;
        min-width: 240px !important;
        max-width: 88vw !important;
        z-index: 10000 !important;
        transform: translateX(-100%) !important;
        transition: transform .3s cubic-bezier(.4, 0, .2, 1) !important;
        box-shadow: 4px 0 30px rgba(0, 0, 0, .35) !important;
        overflow-y: auto !important;
      }
      .sidebar.mobile-open {
        transform: translateX(0) !important;
      }
      /* Ensure main content takes full width */
      .main {
        margin-left: 0 !important;
      }
      .sidebar-brand {
        justify-content: space-between !important;
      }
      .main {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 !important;
      }
      .topbar {
        padding: 0 14px !important;
        height: 54px !important;
        gap: 10px !important;
      }
      .topbar-title {
        font-size: 14px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
      }
      .topbar-sub {
        font-size: 11px !important;
      }
      .filter-bar {
        padding: 8px 14px !important;
        gap: 8px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        min-height: unset !important;
      }
      .filter-group {
        width: 100% !important;
      }
      .filter-select {
        width: 100% !important;
        height: 36px !important;
      }
      .filter-divider {
        display: none !important;
      }
      .content {
        padding: 14px !important;
      }
      .table-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px !important;
      }
      .search-wrap {
        width: 100% !important;
      }
      .search-input {
        width: 100% !important;
      }
      .table-toolbar > div {
        width: 100% !important;
        display: flex !important;
        gap: 6px !important;
      }
      .table-toolbar .btn {
        flex: 1 !important;
        justify-content: center !important;
      }
      .table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
      }
      table {
        min-width: 580px !important;
      }
      .pagination {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
        padding: 10px 12px !important;
      }
      .modal {
        padding: 0 !important;
        align-items: flex-end !important;
      }
      .modal-box {
        max-width: 100vw !important;
        max-height: 92vh !important;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
      }
      .form-grid {
        grid-template-columns: 1fr !important;
      }
      .form-grid.cols-3 {
        grid-template-columns: 1fr !important;
      }
      .dyn-row {
        flex-wrap: wrap !important;
      }
      .dyn-row .col-sm {
        flex: 1 0 100% !important;
      }
      .toast-container {
        left: 1rem !important;
        right: 1rem !important;
        bottom: 1rem !important;
      }
      .toast {
        max-width: 100% !important;
      }
    }

    @media (max-width: 480px) {
      .topbar-title {
        font-size: 13px !important;
      }
      .content {
        padding: 10px !important;
      }
    }
    .stat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      margin-top: 10px;
      width: 100%;
    }
    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      align-items: center;
      gap: 20px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.03);
      transition: all 0.2s ease;
    }
    .stat-card:hover {
      box-shadow: 0 8px 16px -4px rgba(0,0,0,0.05);
      transform: translateY(-2px);
    }
    .stat-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .stat-icon i {
      width: 28px;
      height: 28px;
    }
    .stat-info {
      flex: 1;
    }
    .stat-label {
      font-size: 13px;
      color: var(--text-muted);
      font-weight: 600;
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .stat-value {
      font-size: 28px;
      font-weight: 700;
      color: var(--text);
      line-height: 1;
    }
    .dashboard-header {
      margin-bottom: 30px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }
    .dashboard-header h2 {
      font-size: 24px;
      font-weight: 700;
      color: var(--text);
      margin: 0 0 8px 0;
    }
    .dashboard-header p {
      color: var(--text-muted);
      font-size: 15px;
      margin: 0;
    }