/* ── Reset & Variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Asana-inspired light palette */
  --bg:         #f5f5f5;
  --surface:    #ffffff;
  --surface2:   #f9f8f8;
  --border:     #e8ecee;
  --border2:    #d8d8d8;

  /* Asana coral primary */
  --accent:     #f06a6a;
  --accent-dark:#e05555;
  --accent-light:#fef0f0;

  /* Link / secondary blue */
  --link:       #4573d2;
  --link-hover: #3560c0;

  /* Semantic */
  --success:    #25a244;
  --success-bg: #f0faf4;
  --warning:    #c06d00;
  --warning-bg: #fff8ee;
  --danger:     #e8384f;
  --danger-bg:  #fff0f0;
  --info:       #0a66c2;
  --info-bg:    #f0f6ff;

  /* Typography */
  --text:       #1e1f21;
  --text-muted: #6d6e6f;
  --text-light: #959697;

  /* Geometry */
  --radius:     6px;
  --radius-lg:  10px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);
  --shadow:     0 2px 8px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.05);

  --sidebar-w: 240px;
  --nav-h:     64px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .2s, color .2s;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

/* ── Layout ────────────────────────────────────────────────────── */
.layout { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform .2s;
}

.sidebar-brand {
  height: var(--nav-h);
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -.01em;
}
.sidebar-brand svg { color: var(--accent); flex-shrink: 0; }

/* Theme-aware logo switching */
.logo-dark  { display: none; }
.logo-light { display: block; }
[data-theme="dark"] .logo-dark  { display: block; }
[data-theme="dark"] .logo-light { display: none; }

.sidebar-nav { flex: 1; padding: 10px 0; overflow-y: auto; }
.sidebar-section {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  padding: 14px 16px 4px;
}
.sidebar-soon {
  opacity: .5;
  pointer-events: none;
  cursor: default;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--text-muted);
  border-radius: var(--radius);
  margin: 1px 8px;
  font-size: 13.5px;
  font-weight: 450;
  transition: background .12s, color .12s;
  text-decoration: none;
}
.sidebar-nav a svg { flex-shrink: 0; }
.sidebar-nav a:hover {
  background: var(--surface2);
  color: var(--text);
  text-decoration: none;
}
.sidebar-nav a.active {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
}
.sidebar-nav a.active svg { color: var(--accent); }

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 4px;
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
}
.sidebar-user-info .name { font-weight: 600; font-size: 13px; color: var(--text); }
.sidebar-user-info .role {
  font-size: 11px;
  color: var(--text-light);
  text-transform: capitalize;
}

.btn-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  background: none;
  transition: all .12s;
  font-family: inherit;
}
.btn-logout:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-bg);
}

/* Main content */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar h1 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}
.topbar-actions { display: flex; gap: 10px; align-items: center; }

.content { padding: 28px; flex: 1; max-width: 1200px; }

/* ── Auth pages ────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo .logo-icon {
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(240,106,106,.35);
}
.auth-logo h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.auth-logo p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

/* ── Forms ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  line-height: 1.5;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,106,106,.14);
}
.form-control::placeholder { color: var(--text-light); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236d6e6f' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
textarea.form-control { resize: vertical; min-height: 80px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .12s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 1px 3px rgba(240,106,106,.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 2px 6px rgba(240,106,106,.35);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border2);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--border2);
  background: var(--surface2);
  color: var(--text);
}
.btn-success {
  background: transparent;
  color: var(--success);
  border-color: var(--success);
}
.btn-success:hover {
  background: var(--success);
  color: #fff;
}
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}
.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}
.btn-warning {
  background: transparent;
  color: var(--warning);
  border-color: var(--warning);
}
.btn-warning:hover {
  background: var(--warning-bg);
  color: var(--warning);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--border2);
}
[data-theme="dark"] .btn-ghost {
  background: var(--surface2);
  color: var(--text-muted);
  border-color: var(--border2);
}
[data-theme="dark"] .btn-ghost:hover {
  background: #2e3450;
  color: var(--text);
  border-color: #4a5280;
}

.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Cards ─────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -.01em;
}

/* ── Stats row ─────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s;
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-card .value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stat-card .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.stat-card .conv {
  font-size: 11px;
  color: var(--success);
  margin-top: 3px;
  font-weight: 500;
}

/* ── Tables ────────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
thead th {
  background: var(--surface2);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
tbody tr { border-top: 1px solid var(--border); transition: background .1s; }
tbody tr:hover { background: var(--surface2); }
tr.row-editing { background: var(--info-bg) !important; }
tr.clickable-row:hover { background: var(--surface2); }
tr.clickable-row:hover td:first-child { color: var(--accent); }
tbody td { padding: 11px 14px; color: var(--text); }

/* ── Flash messages ────────────────────────────────────────────── */
.flashes {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  animation: slideIn .2s ease;
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
}
@keyframes slideIn {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.alert-success { background: var(--success-bg); border-color: #b8e6c4; color: #197a33; }
.alert-danger  { background: var(--danger-bg);  border-color: #f5b8be; color: var(--danger); }
.alert-warning { background: var(--warning-bg); border-color: #f5d98b; color: var(--warning); }
.alert-info    { background: var(--info-bg);    border-color: #b8d4f5; color: var(--info); }
.alert-close {
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  opacity: .6;
}
.alert-close:hover { opacity: 1; }

/* ── Badges ────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #b8e6c4;
}
.badge-muted {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  cursor: default;
}
.contact-icon:hover { color: var(--accent); }
.badge-accent {
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid #f5c6c6;
}
.badge-danger {
  background: #fde8e8;
  color: #c0392b;
  border: 1px solid #f5c6c6;
}
.badge-warning {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffcc80;
}
.badge-info {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

/* ── Period tabs ───────────────────────────────────────────────── */
.period-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.period-tab {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .12s;
  background: var(--surface);
  text-decoration: none;
}
.period-tab:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
  text-decoration: none;
}
.period-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 1px 4px rgba(240,106,106,.3);
}

.custom-range {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
.custom-range input[type=date] {
  padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.custom-range input[type=date]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,106,106,.14);
}

/* ── Chart containers ──────────────────────────────────────────── */
.chart-container {
  position: relative;
  height: 280px;
  margin-bottom: 6px;
}

/* ── Funnel bar ────────────────────────────────────────────────── */
.funnel-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 160px;
  padding: 0 4px;
}
.funnel-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.funnel-fill {
  width: 100%;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height .4s;
  position: relative;
}
.funnel-fill .fval {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.funnel-label { font-size: 11px; color: var(--text-muted); text-align: center; }

/* ── Misc ──────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.empty-state svg { margin-bottom: 14px; opacity: .3; color: var(--text-muted); }
.empty-state p { font-size: 14px; line-height: 1.6; }

.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── Hamburger (mobile) ─────────────────────────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 99;
}

/* ── Theme toggle button ───────────────────────────────────────── */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-dark);
}
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* ── Dark theme overrides ──────────────────────────────────────── */
[data-theme="dark"] {
  --bg:          #0f1117;
  --surface:     #1a1d27;
  --surface2:    #22263a;
  --border:      #2e3250;
  --border2:     #3a4268;

  --accent-light: rgba(240,106,106,.14);
  --accent-dark:  #f07878;

  --link:        #7c9ef5;
  --link-hover:  #9ab2ff;

  --success-bg:  rgba(37,162,68,.15);
  --warning-bg:  rgba(192,109,0,.15);
  --danger-bg:   rgba(232,56,79,.15);
  --info-bg:     rgba(10,102,194,.15);

  --text:        #e2e8f0;
  --text-muted:  #8892b0;
  --text-light:  #525c80;

  --shadow-sm:   0 1px 2px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
  --shadow:      0 2px 8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05);
}

/* Dark-mode: fix the select arrow to a light colour */
[data-theme="dark"] select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238892b0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

/* Dark-mode: alert borders */
[data-theme="dark"] .alert-success { border-color: rgba(37,162,68,.45);  color: #4dd37a; }
[data-theme="dark"] .alert-danger  { border-color: rgba(232,56,79,.45);  color: #f07585; }
[data-theme="dark"] .alert-warning { border-color: rgba(192,109,0,.45);  color: #f0b840; }
[data-theme="dark"] .alert-info    { border-color: rgba(10,102,194,.45); color: #60a8f0; }

/* Dark-mode: badge borders */
[data-theme="dark"] .badge-success  { border-color: rgba(37,162,68,.4); }
[data-theme="dark"] .badge-muted    { background: var(--surface2); }
[data-theme="dark"] .badge-accent   { border-color: rgba(240,106,106,.4); }
[data-theme="dark"] .badge-danger   { background: rgba(192,57,43,.2); color:#f87171; border-color:rgba(192,57,43,.4); }
[data-theme="dark"] .badge-warning  { background: rgba(230,81,0,.2);  color:#ffa040; border-color:rgba(230,81,0,.4); }
[data-theme="dark"] .badge-info     { background: rgba(21,101,192,.2); color:#64b5f6; border-color:rgba(21,101,192,.4); }

/* ── Row-actions dropdown ───────────────────────────────────────── */
.row-actions-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 100;
  min-width: 155px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.row-actions-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.row-actions-item:hover { background: var(--surface2); text-decoration: none; }

.row-actions-warning { color: var(--warning); }
.row-actions-success { color: var(--success); }
.row-actions-danger  { color: var(--danger);  }

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

/* Dark theme: use a slightly elevated surface so the popup stands out */
[data-theme="dark"] .row-actions-menu {
  background: var(--surface2);
  border-color: var(--border2);
}
[data-theme="dark"] .row-actions-item:hover { background: #2e3450; }

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #888; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .overlay.open { display: block; }
  .hamburger { display: block; }
  .main { margin-left: 0; }
  .content { padding: 16px; }
  .two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .custom-range { margin-left: 0; }
  .period-tabs { flex-direction: column; align-items: flex-start; }
}

/* ── Pagination ────────────────────────────────────────────────── */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 4px;
}
.pagination-info {
  font-size: 13px;
  color: var(--text-muted);
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.pagination-ellipsis {
  padding: 0 6px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 30px;
}
