
    /* Scrollbar */
    html, body {
      scrollbar-width: thin;
      scrollbar-color: rgba(20, 184, 166, 0.72) rgba(226, 232, 240, 0.92);
    }
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: rgba(226, 232, 240, 0.92); border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.14); }
    /* Pagination & Footer Styles */
    .pagination-controls {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 1rem;
      width: fit-content;
      margin-right: auto;
      margin-left: 0;
      padding: 1rem 1.25rem;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 250, 0.94));
      border-radius: 18px;
      border: 1px solid rgba(15, 159, 168, 0.16);
      box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
      backdrop-filter: blur(14px) saturate(150%);
    }
    .pagination-btn {
      min-width: 110px;
      min-height: 42px;
      padding: 0.65rem 1.2rem;
      background: rgba(15, 159, 168, 0.08);
      color: #0f9fa8;
      border: 1px solid rgba(15, 159, 168, 0.18);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s ease;
      font: inherit;
      font-weight: 800;
      box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    }
    .pagination-btn:hover:not(:disabled) {
      background: rgba(15, 159, 168, 0.14);
      border-color: rgba(15, 159, 168, 0.28);
      transform: translateY(-1px);
    }
    .pagination-btn:disabled {
      opacity: 0.52;
      cursor: not-allowed;
      filter: none;
      box-shadow: none;
      transform: none;
    }
    #page-info {
      color: #475569;
      font-weight: 800;
      padding: 0.65rem 1rem;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(148, 163, 184, 0.16);
    }
    
    /* Table Enhancements */
    table th, table td { vertical-align: middle; }
    
    .summary-footer {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-top: 1.4rem;
      padding: 1.25rem;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(240, 249, 250, 0.94));
      border-radius: 20px;
      border: 1px solid rgba(15, 159, 168, 0.14);
      box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
      backdrop-filter: blur(16px) saturate(155%);
    }
    .summary-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1rem;
      background: rgba(255, 255, 255, 0.84);
      border-radius: 16px;
      border: 1px solid rgba(148, 163, 184, 0.16);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }
    .summary-label {
      color: #64748b;
      font-size: 0.875rem;
      margin-bottom: 0.5rem;
      font-weight: 700;
    }
    .summary-value {
      color: #0f172a;
      font-size: 1.3rem;
      font-weight: 900;
    }
    .summary-value.paid { color: #0f9f6e; }
    .summary-value.unpaid { color: #d9465f; }

    body.cq-light main {
      color: #0f172a;
    }
    body.cq-light main .glass-card {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 250, 0.95));
      border: 1px solid rgba(15, 159, 168, 0.14) !important;
      box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
      backdrop-filter: blur(16px) saturate(155%);
    }
    body.cq-light main .kpi-card {
      position: relative;
      overflow: hidden;
      min-height: 126px;
      border-radius: 20px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 252, 0.96)) !important;
      border: 1px solid rgba(15, 159, 168, 0.12) !important;
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
    }
    body.cq-light main .kpi-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      border-radius: 999px;
      background: rgba(15, 159, 168, 0.28);
    }
    body.cq-light main .kpi-label {
      color: #64748b !important;
      font-weight: 700;
      letter-spacing: 0;
    }
    body.cq-light main .kpi-value {
      color: #0f172a !important;
      text-shadow: none !important;
      filter: none !important;
    }
    body.cq-light main .kpi-card-open::before { background: linear-gradient(180deg, #f59e0b, #f97316); }
    body.cq-light main .kpi-card-paid::before { background: linear-gradient(180deg, #10b981, #0f9f6e); }
    body.cq-light main .kpi-card-total::before { background: linear-gradient(180deg, #0f9fa8, #06b6d4); }
    body.cq-light main .kpi-card-ratio::before { background: linear-gradient(180deg, #3b82f6, #0f9fa8); }
    body.cq-light main #kpi-open { color: #b45309 !important; }
    body.cq-light main #kpi-closed { color: #047857 !important; }
    body.cq-light main #kpi-total { color: #0f766e !important; }
    body.cq-light main #kpi-ratio { color: #1d4ed8 !important; }
    body.cq-light main h1,
    body.cq-light main h3,
    body.cq-light main .text-white,
    body.cq-light main .text-slate-200 {
      color: #0f172a !important;
    }
    body.cq-light main .text-slate-300,
    body.cq-light main .text-slate-400 {
      color: #64748b !important;
    }
    body.cq-light main hr,
    body.cq-light main .border-slate-700,
    body.cq-light main .border-slate-700\/50,
    body.cq-light main .border-slate-600 {
      border-color: rgba(148, 163, 184, 0.18) !important;
    }
    body.cq-light main .bg-gray-700\/50,
    body.cq-light main .bg-slate-800\/50 {
      background: rgba(248, 250, 252, 0.92) !important;
    }
    body.cq-light #chart-status,
    body.cq-light #chart-region {
      min-height: 250px;
      border-radius: 16px;
    }
    body.cq-light .apexcharts-canvas,
    body.cq-light .apexcharts-svg {
      background: transparent !important;
    }
    body.cq-light .apexcharts-legend-text {
      color: #64748b !important;
      font-family: "Cairo", var(--cq-font), sans-serif !important;
      font-weight: 700 !important;
    }
    body.cq-light .apexcharts-tooltip {
      background: rgba(255, 255, 255, 0.98) !important;
      color: #0f172a !important;
      border: 1px solid rgba(15, 159, 168, 0.14) !important;
      box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12) !important;
      backdrop-filter: blur(14px) saturate(150%);
    }
    body.cq-light .apexcharts-tooltip * {
      color: #0f172a !important;
      font-family: "Cairo", var(--cq-font), sans-serif !important;
    }
    body.cq-light .apexcharts-xcrosshairs,
    body.cq-light .apexcharts-ycrosshairs {
      stroke: rgba(148, 163, 184, 0.22) !important;
    }

    .modal-overlay {
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur-sm;
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .modal-overlay.open { display: flex; }
    
    /* Scrollbar */
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: rgba(226, 232, 240, 0.92); border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.14); }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, rgba(20, 184, 166, 0.76), rgba(59, 130, 246, 0.68));
      border-radius: 999px;
      border: 2px solid rgba(248, 250, 252, 0.96);
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
    }
    ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(13, 148, 136, 0.92), rgba(37, 99, 235, 0.82)); }
