:root {
      --primary: #007bff;
      --primary-dark: #0056b3;
      --navy: #0a3663;
      --navy-dark: #072242;
      --slate-50: #f8fafc;
      --slate-100: #f1f5f9;
      --slate-200: #e2e8f0;
      --slate-600: #475569;
      --slate-800: #1e293b;
      --dark-bg: #0f172a;
      --border-color: #e2e8f0;
    }

    body {
      background: #f4f7f6;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: #1e293b;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Unified Header */
    header {
      background: #0f172a;
      color: white;
      padding: 14px 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .logo-brand {
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      font-size: 1.3rem;
      color: #fff;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-brand:hover {
      text-decoration: none;
      color: #38bdf8;
    }

    .logo-icon {
      background: linear-gradient(135deg, #38bdf8, #818cf8);
      width: 34px;
      height: 34px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
    }

    .nav-links {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .nav-link-custom {
      color: #94a3b8;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.9rem;
      padding: 6px 14px;
      border-radius: 6px;
      transition: all 0.2s;
    }

    .nav-link-custom:hover,
    .nav-link-custom.active {
      color: #fff;
      background: rgba(255, 255, 255, 0.1);
      text-decoration: none;
    }

    .nav-btn-billing {
      background: #10b981;
      color: white;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 6px;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .nav-btn-billing:hover {
      background: #059669;
      color: white;
      text-decoration: none;
    }

    .main-container {
      max-width: 1200px;
      margin: 24px auto;
      padding: 0 15px;
      flex: 1;
      width: 100%;
    }

    .search-panel {
      background: white;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      border: 1px solid #e2e8f0;
    }

    .table-container {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      border: 1px solid #e2e8f0;
    }

    th {
      background: #0284c7;
      color: white;
      white-space: nowrap;
      font-weight: 600;
    }

    td {
      vertical-align: middle;
    }

    .loading-bar {
      height: 4px;
      width: 100%;
      background: #e2e8f0;
      margin-top: 15px;
      visibility: hidden;
      border-radius: 2px;
      overflow: hidden;
    }

    .loading-bar .progress {
      height: 100%;
      width: 30%;
      background: #0284c7;
      animation: slide 0.8s infinite linear;
    }

    @keyframes slide {
      from {
        margin-left: -30%;
      }

      to {
        margin-left: 100%;
      }
    }

    tr[data-acct] {
      cursor: pointer;
      transition: background 0.15s;
    }

    tr[data-acct]:hover {
      background: #f0f9ff !important;
    }

    tr.table-active {
      background: #bae6fd !important;
    }

    .detail-row td {
      border-top: 2px solid #0284c7;
    }

    .guide-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 32px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
      margin-top: 28px;
      margin-bottom: 28px;
    }

    .guide-card h3 {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      color: #0a3663;
      font-size: 1.4rem;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .guide-card h4 {
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      color: #1e293b;
      font-size: 1.15rem;
      margin-top: 22px;
      margin-bottom: 10px;
    }

    .guide-card p {
      color: #475569;
      font-size: 0.96rem;
      line-height: 1.7;
      margin-bottom: 15px;
    }

    .guide-card ul {
      color: #475569;
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 16px;
      padding-left: 22px;
    }

    .guide-card li {
      margin-bottom: 6px;
    }

    .info-callout {
      background: #f8fafc;
      border-left: 4px solid #0284c7;
      padding: 16px 20px;
      border-radius: 4px;
      margin: 16px 0;
    }

    .info-callout p {
      margin: 0;
      color: #334155;
      font-size: 0.94rem;
      line-height: 1.6;
    }

    footer {
      background: #ffffff;
      color: #64748b;
      border-top: 1px solid #e0e0e0;
      text-align: center;
      padding: 24px 16px;
      font-size: 0.88rem;
      margin-top: auto;
    }

    .footer-links a {
      color: #64748b;
      margin: 0 10px;
      text-decoration: none;
    }

    .footer-links a:hover {
      color: #0284c7;
      text-decoration: underline;
    }
