/* ==========================================================
   VNP Call Center - Modern UI Theme
   ========================================================== */
:root {
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-50: #eff6ff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger:  #ef4444;
  --info:    #06b6d4;
  --dark:    #0f172a;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --bg:      #f1f5f9;
  --bg-soft: #f8fafc;
  --card:    #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow:    0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --radius: 14px;
}

* { -webkit-tap-highlight-color: transparent; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  font-size: 14.5px;
  -webkit-font-smoothing: antialiased;
}

.bg-app  { background: var(--bg) !important; }
.bg-hero {
  background:
    radial-gradient(1200px 600px at 10% -20%, #dbeafe 0%, transparent 60%),
    radial-gradient(1000px 500px at 110% 0%, #ede9fe 0%, transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  min-height: 100vh;
}

/* ===== Cards ===== */
.card {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm);
  background: var(--card);
}
.card:hover { box-shadow: var(--shadow); }
.card .card-body { padding: 18px; }

/* ===== Buttons ===== */
.btn {
  border-radius: 10px;
  font-weight: 500;
  padding: .5rem 1rem;
  transition: all .15s ease;
}
.btn-lg { padding: .7rem 1.2rem; font-size: 1rem; }
.btn-primary {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 1px 2px rgb(37 99 235 / 0.30);
}
.btn-primary:hover { background: var(--primary-600); border-color: var(--primary-600); }
.btn-success { background: var(--success); border-color: var(--success); }
.btn-success:hover { background: #059669; border-color: #059669; }
.btn-warning { background: var(--warning); border-color: var(--warning); color: #fff; }
.btn-warning:hover { background: #d97706; border-color: #d97706; color: #fff; }
.btn-outline-primary { color: var(--primary); border-color: var(--border); background: #fff; }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-outline-success { color: var(--success); border-color: var(--border); background: #fff; }
.btn-outline-success:hover { background: var(--success); border-color: var(--success); color: #fff; }
.btn-soft-primary { background: var(--primary-50); color: var(--primary-600); border: 1px solid #dbeafe; }
.btn-soft-primary:hover { background: #dbeafe; color: var(--primary-600); }

/* ===== Forms ===== */
.form-control, .form-select {
  border-radius: 10px;
  border-color: var(--border);
  padding: .55rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}
.form-control-lg { font-size: 1.05rem; padding: .8rem 1rem; }
.form-label { font-weight: 500; color: #334155; font-size: .85rem; }

/* ===== Navbar ===== */
.navbar-modern {
  background: #fff !important;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-modern .navbar-brand {
  font-weight: 700;
  color: var(--dark) !important;
  display: flex; align-items: center; gap: 10px;
}
.brand-badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  overflow: hidden;
}
.brand-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .85rem; color: #334155;
}

/* ===== KPI Cards ===== */
.kpi {
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform .15s, box-shadow .15s;
}
.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kpi .kpi-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 10px;
}
.kpi .kpi-label { color: var(--muted); font-size: .8rem; font-weight: 500; }
.kpi .kpi-value { font-size: 1.85rem; font-weight: 700; color: var(--dark); line-height: 1.1; }
.kpi-primary .kpi-icon { background: #dbeafe; color: var(--primary); }
.kpi-success .kpi-icon { background: #d1fae5; color: var(--success); }
.kpi-warning .kpi-icon { background: #fef3c7; color: var(--warning); }
.kpi-info    .kpi-icon { background: #cffafe; color: var(--info); }

/* ===== Pills / Tabs ===== */
.nav-pills.tabs-modern {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-pills.tabs-modern .nav-link {
  color: var(--muted);
  background: transparent;
  border-radius: 9px;
  padding: .5rem .6rem;
  font-weight: 500;
  font-size: .85rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
  min-width: 0;
}
.nav-pills.tabs-modern .nav-link.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 3px rgb(37 99 235 / 0.30);
}
.nav-pills.tabs-modern .nav-link .badge {
  background: var(--bg) !important;
  color: var(--muted) !important;
  font-weight: 600;
}
.nav-pills.tabs-modern .nav-link.active .badge {
  background: rgb(255 255 255 / 0.25) !important;
  color: #fff !important;
}
@media (max-width: 480px) {
  .nav-pills.tabs-modern .nav-link { font-size: .78rem; padding: .45rem .4rem; gap: 4px; }
  .nav-pills.tabs-modern .nav-link .badge { font-size: .65rem; padding: .25em .45em; }
}
@media (max-width: 360px) {
  .nav-pills.tabs-modern { flex-wrap: wrap; }
}

/* ===== Tables ===== */
.table-modern { border-collapse: separate; border-spacing: 0; font-size: .88rem; }
.table-fixed { table-layout: fixed; width: 100%; min-width: 1100px; }
.table-fixed td, .table-fixed th {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.table-fixed td.cell-wrap { white-space: normal; }
.table-modern thead th {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border) !important;
  font-weight: 600; color: #475569;
  text-transform: uppercase; font-size: .72rem; letter-spacing: .04em;
  padding: 10px 12px;
}
.table-modern tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle;
}
.table-modern tbody tr:hover { background: var(--bg-soft); }

/* ===== Badges ===== */
.badge-soft { font-weight: 500; padding: 4px 10px; border-radius: 999px; font-size: .72rem; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info    { background: #cffafe; color: #155e75; }
.badge-primary { background: #dbeafe; color: #1e3a8a; }
.badge-muted   { background: var(--bg); color: var(--muted); }

/* ===== Login screen ===== */
.login-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 460px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.login-head { padding: 28px 28px 0; text-align: center; }
.login-logo {
  width: 72px; height: 72px; margin: 0 auto 12px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px -8px rgb(0 120 212 / 0.45);
}
.login-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.login-body { padding: 20px 28px 28px; }
.login-step { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.login-step .dot { width: 28px; height: 4px; border-radius: 4px; background: var(--border); }
.login-step .dot.active { background: var(--primary); }

.choice-grid { display: grid; gap: 8px; }
.choice-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left; width: 100%;
  cursor: pointer;
  transition: all .15s;
}
.choice-tile:hover { border-color: var(--primary); background: var(--primary-50); transform: translateX(2px); }
.choice-tile .ava {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  color: var(--primary); display: grid; place-items: center;
  font-weight: 600; font-size: .9rem; flex-shrink: 0;
}
.choice-tile .meta { flex: 1; }
.choice-tile .meta .name { font-weight: 600; color: var(--dark); }
.choice-tile .meta .sub  { font-size: .75rem; color: var(--muted); }
.choice-tile .arrow { color: var(--muted); }

/* ===== Agent: customer cards ===== */
.customer-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 16px 14px 18px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  overflow: hidden;
}
.customer-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(180deg, #f59e0b, #fbbf24);
  border-radius: 16px 0 0 16px;
}
.customer-card:hover { box-shadow: 0 10px 24px -12px rgba(15,23,42,.18); border-color: #cbd5e1; transform: translateY(-1px); }
.customer-card.is-called { background: #fafbfd; }
.customer-card.is-called::before { background: linear-gradient(180deg, #10b981, #059669); }

/* Đã gọi: tô màu theo Kết quả OB (dùng biến palette tile-*) */
.customer-card.is-called[class*="tile-"] {
  background: var(--tile-bg);
  border-color: var(--tile-border);
}
.customer-card.is-called[class*="tile-"]::before { background: var(--tile-accent); }
.customer-card.is-called[class*="tile-"] .cust-status .badge-soft {
  background: var(--tile-accent);
  color: #fff;
  border-color: transparent;
}
.customer-card.is-called[class*="tile-"] .cust-status .badge-soft i { color: #fff; }
.customer-card.is-called[class*="tile-"] .cust-meta {
  background: #ffffffcc;
  border-color: var(--tile-border);
}

.customer-card .cust-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; margin-bottom: 10px;
}
.customer-card .cust-status { flex-shrink: 0; }
.customer-card .cust-status .badge-soft { white-space: nowrap; }
.customer-card .cust-name {
  font-weight: 700; color: var(--dark); font-size: 1rem;
  line-height: 1.3; word-break: break-word;
}
.customer-card .cust-sub {
  font-size: 12px; color: var(--muted); margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
}
.customer-card .cust-sub .dot { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }

.customer-card .cust-phone {
  display: flex; align-items: center; gap: 8px;
  background: #eff6ff; color: #1e3a8a;
  border: 1px solid #dbeafe; border-radius: 10px;
  padding: 6px 12px; font-weight: 700; font-size: 14px;
  letter-spacing: .2px; white-space: nowrap;
}
.customer-card .cust-phone i { color: #2563eb; }

.customer-card .cust-meta {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  font-size: 13px; color: #475569; margin-bottom: 12px;
  padding: 10px 12px; background: #f8fafc; border-radius: 10px;
  border: 1px solid #f1f5f9;
}
.customer-card .meta-row {
  display: grid; grid-template-columns: 18px auto 1fr;
  align-items: start; gap: 6px; line-height: 1.4;
}
.customer-card .meta-row i { color: #64748b; font-size: 14px; margin-top: 2px; }
.customer-card .meta-row .meta-label { color: #94a3b8; font-size: 12px; }
.customer-card .meta-row .meta-value { color: #334155; word-break: break-word; }
.customer-card .meta-note {
  margin-top: 4px; padding: 8px 10px; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 8px;
  font-size: 12.5px; color: #78350f;
  display: flex; gap: 6px; align-items: flex-start;
}
.customer-card .meta-note i { color: #d97706; margin-top: 2px; }

.btn-call {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none; color: #fff;
  border-radius: 12px;
  padding: 13px;
  font-weight: 700; font-size: 1rem; letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 6px 16px -6px rgb(16 185 129 / 0.55);
  transition: transform .12s, box-shadow .15s;
}
.btn-call:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgb(16 185 129 / 0.55); color: #fff; }
.btn-call:active { transform: translateY(0); }
.btn-call.is-called {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 6px 16px -6px rgb(245 158 11 / 0.50);
}
.btn-call .num { font-variant-numeric: tabular-nums; }

.customer-card .cust-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-edit-result {
  width: 100%;
  background: #fff; color: #1e40af;
  border: 1.5px solid #bfdbfe; border-radius: 10px;
  padding: 10px;
  font-weight: 600; font-size: .9rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-edit-result:hover { background: #eff6ff; border-color: #93c5fd; color: #1e3a8a; }
.btn-edit-result i { font-size: 15px; }

@media (max-width: 575px) {
  .customer-card { padding: 14px 14px 12px 16px; border-radius: 14px; }
  .customer-card .cust-name { font-size: .95rem; }
  .customer-card .cust-meta { font-size: 12.5px; padding: 8px 10px; }
}

/* ===== Modal result buttons ===== */
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-tile {
  --tile-bg: #f8fafc;
  --tile-border: #e2e8f0;
  --tile-color: #334155;
  --tile-accent: #64748b;
  padding: 14px 12px; border-radius: 12px;
  background: var(--tile-bg);
  border: 2px solid var(--tile-border);
  font-weight: 600; font-size: .88rem; color: var(--tile-color);
  text-align: center; cursor: pointer;
  transition: all .15s;
  position: relative;
}
.result-tile i { color: var(--tile-accent); transition: color .15s; }
.result-tile:hover {
  border-color: var(--tile-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -4px rgb(15 23 42 / 0.15);
}
.result-tile.active {
  background: var(--tile-accent);
  border-color: var(--tile-accent);
  color: #fff;
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--tile-accent) 55%, transparent);
}
.result-tile.active i { color: #fff; }

/* Per-result palette */
.tile-kh-ko-nghe-may        { --tile-bg:#f1f5f9; --tile-border:#e2e8f0; --tile-color:#475569; --tile-accent:#64748b; }
.tile-tb-khong-lien-lac     { --tile-bg:#fef2f2; --tile-border:#fecaca; --tile-color:#991b1b; --tile-accent:#ef4444; }
.tile-kh-dong-y             { --tile-bg:#ecfdf5; --tile-border:#a7f3d0; --tile-color:#065f46; --tile-accent:#10b981; }
.tile-kh-co-nhu-cau-ra-diem { --tile-bg:#eff6ff; --tile-border:#bfdbfe; --tile-color:#1e40af; --tile-accent:#3b82f6; }
.tile-kh-tu-cap-nhat        { --tile-bg:#ecfeff; --tile-border:#a5f3fc; --tile-color:#155e75; --tile-accent:#06b6d4; }
.tile-khac                  { --tile-bg:#fffbeb; --tile-border:#fde68a; --tile-color:#92400e; --tile-accent:#f59e0b; }
.chart-scroll { max-height: 420px; overflow-y: auto; overflow-x: hidden; }
.chart-scroll canvas { width: 100% !important; }

/* ===== Footer ===== */
.app-footer {
  margin-top: 32px;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-top: 1px solid var(--border);
  color: #64748b;
  font-size: 13px;
  text-align: center;
}
.app-footer .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.app-footer .footer-logo {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border);
}
.app-footer .footer-logo img { width: 16px; height: 16px; }
.app-footer .footer-brand { font-weight: 600; color: var(--ink); }
.app-footer .footer-sep { color: #cbd5e1; }
.app-footer .footer-meta { font-size: 12px; color: #94a3b8; }
@media (max-width: 575px) {
  .app-footer { font-size: 12px; padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .app-footer .footer-inner { gap: 6px; }
  .app-footer .footer-sep { display: none; }
}
/* Footer trên màn login (nền hero): panel mờ, chữ đậm dễ đọc */
.bg-hero .app-footer,
body > .app-footer.footer-on-hero {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: #475569;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}
.bg-hero .app-footer .footer-brand,
body > .app-footer.footer-on-hero .footer-brand { color: #0f172a; }
.bg-hero .app-footer .footer-meta,
body > .app-footer.footer-on-hero .footer-meta  { color: #64748b; }
.bg-hero .app-footer .footer-sep,
body > .app-footer.footer-on-hero .footer-sep   { color: #cbd5e1; }
.bg-hero .app-footer .footer-logo,
body > .app-footer.footer-on-hero .footer-logo  { background: #fff; border-color: var(--border); }
.modal-content { border: none; border-radius: 18px; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom-color: var(--border); padding: 16px 20px; }
.modal-body   { padding: 20px; }
.modal-footer { border-top-color: var(--border); padding: 14px 20px; }

/* ===== Drop zone ===== */
.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.dropzone:hover, .dropzone.dragging { border-color: var(--primary); background: var(--primary-50); }
.dropzone .dz-icon { font-size: 32px; color: var(--primary); margin-bottom: 6px; }
.dropzone .dz-title { font-weight: 600; color: var(--dark); }
.dropzone .dz-sub   { font-size: .8rem; color: var(--muted); margin-top: 2px; }

/* ===== Section heading ===== */
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--dark);
  font-size: 1rem; margin: 18px 0 10px;
}
.section-title .ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--primary-50); color: var(--primary);
  display: grid; place-items: center;
}

/* ===== Sticky bottom action bar (mobile agent) ===== */
.sticky-bottom-bar {
  position: sticky; bottom: 0;
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
  padding: 8px 0 6px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
::-webkit-scrollbar-track { background: transparent; }

/* ===== Pager ===== */
.pager-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pager-info { font-size: .85rem; color: #64748b; font-weight: 500; }
.pager-info b { color: var(--dark); }
.pager-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.pager-size { display: inline-flex; align-items: center; gap: 6px; }
.pager-size-label { font-size: .82rem; color: #64748b; }
.pager-size-select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.5 1.5 4h9z'/%3E%3C/svg%3E") no-repeat right 8px center / 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 24px 5px 10px;
  font-size: .85rem; font-weight: 600; color: var(--dark);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.pager-size-select:hover  { border-color: #94a3b8; }
.pager-size-select:focus  { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15); }

.pager-nav {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}
.pg-pages { display: inline-flex; align-items: center; gap: 2px; }
.pg-btn {
  min-width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 8px;
  background: transparent;
  border: none; border-radius: 7px;
  font-size: .85rem; font-weight: 600; color: #475569;
  cursor: pointer;
  transition: all .12s;
}
.pg-btn:hover:not(:disabled):not(.active) {
  background: var(--primary-50);
  color: var(--primary);
}
.pg-btn:disabled { color: #cbd5e1; cursor: not-allowed; }
.pg-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px -2px rgb(37 99 235 / 0.5);
  cursor: default;
}
.pg-ellipsis {
  min-width: 24px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #94a3b8; font-weight: 700;
}

.pager-jump { display: inline-flex; align-items: center; gap: 6px; }
.pager-jump-input {
  width: 60px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 8px;
  text-align: center;
  font-size: .85rem; font-weight: 600; color: var(--dark);
  background: #fff;
  -moz-appearance: textfield;
}
.pager-jump-input::-webkit-outer-spin-button,
.pager-jump-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pager-jump-input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}

@media (max-width: 575.98px) {
  .pager-controls { gap: 8px; }
  .pager-jump { display: none; }
  .pg-btn { min-width: 28px; height: 28px; font-size: .8rem; }
}

/* ===== Mobile ===== */
@media (max-width: 575.98px) {
  .container-fluid { padding-left: 10px; padding-right: 10px; }
  .card .card-body { padding: 14px; }
  .kpi { padding: 14px; }
  .kpi .kpi-value { font-size: 1.4rem; }
  .result-grid { grid-template-columns: 1fr; }
}

/* ===== Helpers ===== */
.text-muted-2 { color: #94a3b8 !important; }
.cursor-pointer { cursor: pointer; }
