/* ================================================================
   CTS Portal — Court Technology System
   Kenyan Judiciary Case Duration Prediction System
   Shared design tokens & component library
   ================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=DM+Serif+Display&display=swap");

:root {
  --bg: #f0f2f7;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --sidebar-bg: #0b1e3a;
  --sidebar-hover: rgba(255, 255, 255, 0.07);
  --sidebar-active: rgba(255, 255, 255, 0.12);

  --primary: #1a52a0;
  --primary-lt: #e8eff9;
  --primary-dk: #0e3470;
  --gold: #c4922a;
  --gold-lt: #fdf3e3;
  --teal: #0b7a6e;
  --teal-lt: #e4f4f2;

  --text: #1a1f2e;
  --text-2: #5a6478;
  --text-3: #9ba3b4;
  --border: #e2e6ef;
  --border-2: #cbd2e0;

  /* Risk colours */
  --risk-critical-bg: #fef0f0;
  --risk-critical: #b91c1c;
  --risk-critical-bd: #fecaca;
  --risk-high-bg: #fff8ec;
  --risk-high: #92400e;
  --risk-high-bd: #fde68a;
  --risk-medium-bg: #f0fdf4;
  --risk-medium: #166534;
  --risk-medium-bd: #bbf7d0;
  --risk-low-bg: #eff6ff;
  --risk-low: #1d4ed8;
  --risk-low-bd: #bfdbfe;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Shell layout ────────────────────────────────────────── */
.app-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 22px 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.brand-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.brand-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
}
.sidebar-section {
  padding: 16px 18px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  margin: 1px 8px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition:
    background 0.15s,
    color 0.15s;
  cursor: pointer;
}
.nav-link:hover {
  background: var(--sidebar-hover);
  color: rgba(255, 255, 255, 0.9);
}
.nav-link.active {
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 500;
}
.nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
}
.sidebar-footer {
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.user-name {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.user-role {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}
.logout-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s;
}
.logout-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Main area ────────────────────────────────────────────── */
.main {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.page-subtitle {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.1s;
  border: 1px solid transparent;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dk);
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-outline:hover {
  background: var(--surface-2);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  opacity: 0.9;
}
.btn-danger {
  background: #b91c1c;
  color: #fff;
}
.btn-sm {
  padding: 5px 11px;
  font-size: 12px;
}
.btn svg {
  width: 14px;
  height: 14px;
}

/* ── Stat cards ─────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.stat-label {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 6px;
}
.stat-value {
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.stat-value.danger {
  color: #b91c1c;
}
.stat-value.warn {
  color: #92400e;
}
.stat-value.ok {
  color: var(--teal);
}
.stat-meta {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}
.stat-meta.up {
  color: #b91c1c;
}
.stat-meta.good {
  color: var(--teal);
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.card-body {
  padding: 20px;
}
.card-action {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}

/* ── Tables ──────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  white-space: nowrap;
}
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:hover td {
  background: var(--surface-2);
}
.td-case {
  font-weight: 600;
  color: var(--primary);
}
.td-muted {
  color: var(--text-2);
}

/* ── Risk badges ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.badge-critical {
  background: var(--risk-critical-bg);
  color: var(--risk-critical);
  border-color: var(--risk-critical-bd);
}
.badge-high {
  background: var(--risk-high-bg);
  color: var(--risk-high);
  border-color: var(--risk-high-bd);
}
.badge-medium {
  background: var(--risk-medium-bg);
  color: var(--risk-medium);
  border-color: var(--risk-medium-bd);
}
.badge-low {
  background: var(--risk-low-bg);
  color: var(--risk-low);
  border-color: var(--risk-low-bd);
}
.badge-info {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.badge-neutral {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Search + filter bar ─────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.search-wrap {
  position: relative;
  flex: 1;
}
.search-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-3);
}
.search-wrap input {
  width: 100%;
  padding: 7px 10px 7px 32px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  background: var(--surface-2);
}
.search-wrap input:focus {
  outline: 2px solid var(--primary);
  outline-offset: -1px;
}
select.filter-sel {
  padding: 7px 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}

/* ── Risk bar chart ──────────────────────────────────────── */
.risk-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.risk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.risk-lbl {
  width: 60px;
  color: var(--text-2);
  font-size: 11px;
}
.risk-track {
  flex: 1;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}
.risk-fill {
  height: 100%;
  border-radius: 4px;
}
.risk-num {
  width: 36px;
  text-align: right;
  font-weight: 600;
  font-size: 12px;
}

/* ── Timeline ────────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-item {
  display: flex;
  gap: 14px;
  position: relative;
}
.tl-item:not(:last-child) .tl-line {
  position: absolute;
  left: 7px;
  top: 20px;
  width: 2px;
  height: calc(100% - 8px);
  background: var(--border);
}
.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  z-index: 1;
}
.tl-dot.done {
  background: var(--primary);
  border: 2px solid var(--primary);
}
.tl-dot.pending {
  background: var(--surface);
  border: 2px solid var(--border-2);
}
.tl-dot.active {
  background: var(--gold);
  border: 2px solid var(--gold);
}
.tl-content {
  padding-bottom: 18px;
}
.tl-title {
  font-size: 12px;
  font-weight: 600;
}
.tl-date {
  font-size: 11px;
  color: var(--text-2);
}
.tl-note {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ── Prediction card ─────────────────────────────────────── */
.pred-box {
  border-radius: var(--radius);
  padding: 16px 18px;
  border: 1px solid;
}
.pred-box.critical {
  background: var(--risk-critical-bg);
  border-color: var(--risk-critical-bd);
}
.pred-box.high {
  background: var(--risk-high-bg);
  border-color: var(--risk-high-bd);
}
.pred-box.medium {
  background: var(--risk-medium-bg);
  border-color: var(--risk-medium-bd);
}
.pred-box.low {
  background: var(--risk-low-bg);
  border-color: var(--risk-low-bd);
}
.pred-days {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.pred-label {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
}
.pred-plain {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
}

/* ── Notice / alert bar ─────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  border: 1px solid;
}
.alert-warn {
  background: var(--risk-high-bg);
  color: #7c2d12;
  border-color: var(--risk-high-bd);
}
.alert-info {
  background: var(--primary-lt);
  color: var(--primary-dk);
  border-color: #bdd4f4;
}
.alert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Auth page ───────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-brand {
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}
.auth-brand-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}
.auth-brand-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.auth-headline {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.auth-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 380px;
}
.auth-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.auth-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.auth-stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--bg);
}
.auth-form-wrap {
  width: 100%;
  max-width: 380px;
}
.auth-form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.auth-form-sub {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--surface);
  color: var(--text);
  transition: border 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 82, 160, 0.12);
}
select.form-control {
  cursor: pointer;
}
.form-hint {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}
.form-check input {
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.auth-submit {
  width: 100%;
  padding: 11px;
  margin-top: 4px;
}
.auth-switch {
  text-align: center;
  font-size: 12px;
  color: var(--text-2);
  margin-top: 20px;
}
.auth-switch a {
  color: var(--primary);
  font-weight: 500;
}
.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.role-btn {
  border: 2px solid var(--border-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--surface);
}
.role-btn.selected {
  border-color: var(--primary);
  background: var(--primary-lt);
}
.role-btn svg {
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
  display: block;
  color: var(--text-2);
}
.role-btn.selected svg {
  color: var(--primary);
}
.role-btn-label {
  font-size: 12px;
  font-weight: 600;
}

/* ── Case filing form ────────────────────────────────────── */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}
.section-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Mini bar chart ──────────────────────────────────────── */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 70px;
}
.mini-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mini-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
}
.mini-bar-label {
  font-size: 9px;
  color: var(--text-3);
}

/* ── Misc ─────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.text-sm {
  font-size: 12px;
}
.text-xs {
  font-size: 11px;
}
.text-muted {
  color: var(--text-2);
}
.text-danger {
  color: #b91c1c;
}
.text-ok {
  color: var(--teal);
}
.text-gold {
  color: var(--gold);
}
.fw-600 {
  font-weight: 600;
}
.mt-4 {
  margin-top: 4px;
}
.mt-8 {
  margin-top: 8px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-5 {
  margin-bottom: 5;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.ml-auto {
  margin-left: auto;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
}
.page-btns {
  display: flex;
  gap: 4px;
}
.page-btn {
  padding: 4px 10px;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  background: var(--surface);
  color: var(--text-2);
}
.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
}

.court-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary-lt);
  color: var(--primary-dk);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #bdd4f4;
}

.update-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  background: var(--primary-lt);
  color: var(--primary-dk);
  border: 1px solid #bdd4f4;
  transition: background 0.15s;
}
.update-btn:hover {
  background: #d4e5f9;
}
.update-btn svg {
  width: 12px;
  height: 12px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border-radius: 3px;
}

/* =====================================================
   JaliHaki Select2 Theme
===================================================== */

.select2-container {
  width: 100% !important;
  font-size: 14px;
}

/* ===============================
   Main Select
================================ */

.select2-container--default .select2-selection--single {
  height: 42px !important;
  min-height: 42px !important;
  background: #fff;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.select2-container--default .select2-selection--single:hover {
  border-color: #c4ccd8;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 92, 168, 0.1);
}

/* ===============================
   Selected Text
================================ */

.select2-container--default .select2-selection__rendered {
  line-height: 40px !important;
  padding-left: 0 !important;
  padding-right: 22px !important;
  color: var(--text-1, #2b3445);
  font-size: 14px !important;
  font-weight: 400;
}

.select2-container--default .select2-selection__placeholder {
  color: #98a2b3;
}

/* ===============================
   Arrow
================================ */

.select2-container--default .select2-selection__arrow {
  height: 40px !important;
  width: 36px;
  right: 6px;
}

.select2-container--default .select2-selection__arrow b {
  border-width: 5px 5px 0;
  border-color: #7b8794 transparent transparent transparent;
}

/* ===============================
   Dropdown
================================ */

.select2-dropdown {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 999999;
}

/* ===============================
   Search Box
================================ */

.select2-search--dropdown {
  padding: 8px;
  background: #fafbfc;
  border-bottom: 1px solid #eef2f7;
}

.select2-search--dropdown .select2-search__field {
  height: 36px;
  border: 1px solid #d9dee8;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
}

.select2-search--dropdown .select2-search__field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 92, 168, 0.1);
}

/* ===============================
   Options
================================ */

.select2-results__option {
  padding: 10px 14px;
  font-size: 14px;
  color: #2b3445;
}

.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--primary);
  color: #fff;
}

.select2-container--default .select2-results__option--selected {
  background: #eef4ff;
  color: var(--primary);
  font-weight: 600;
}

/* ===============================
   Scrollbar
================================ */

.select2-results__options::-webkit-scrollbar {
  width: 6px;
}

.select2-results__options::-webkit-scrollbar-track {
  background: transparent;
}

.select2-results__options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

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