/* ============================================================
   ระบบแบบตอบรับการเข้าร่วมประชุม กองนโยบายและแผน
   Design system: Modern SaaS Enterprise (MSSE)

   Palette:
     --navy      #16324F  (primary — นโยบาย/ความน่าเชื่อถือ)
     --navy-700  #1E4066
     --navy-900  #0E2338
     --teal      #0E8E86  (accent / interactive)
     --teal-600  #0B756E
     --bg        #F4F6F9  (คูล เกรย์ ไม่ใช่ครีม)
     --surface   #FFFFFF
     --ink       #16202C
     --ink-soft  #5B6B7C
     --line      #E3E8EF

   Type:
     Display/body: 'Sarabun' — ฟอนต์มาตรฐานราชการไทย ให้ความรู้สึกทางการ+อ่านง่าย
     Data/mono:    'JetBrains Mono' — ตัวเลขสถิติ, ตาราง, timestamp (เอกลักษณ์เชิงข้อมูล)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --navy: #16324F;
  --navy-700: #1E4066;
  --navy-900: #0E2338;
  --navy-50: #EEF2F7;
  --teal: #0E8E86;
  --teal-600: #0B756E;
  --teal-50: #E6F5F3;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #16202C;
  --ink-soft: #5B6B7C;
  --ink-faint: #97A3B1;
  --line: #E3E8EF;
  --line-strong: #CBD5E1;

  --success: #157F49;
  --success-bg: #E4F6EC;
  --warning: #B7791F;
  --warning-bg: #FBF0DC;
  --danger: #C13A3A;
  --danger-bg: #FBE9E9;
  --info: #2A5DB0;
  --info-bg: #E9EFFB;
  --neutral-bg: #EEF1F5;
  --neutral: #48566B;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(14, 35, 56, 0.06);
  --shadow: 0 4px 16px rgba(14, 35, 56, 0.08);
  --shadow-lg: 0 12px 32px rgba(14, 35, 56, 0.14);

  --font-body: 'Sarabun', 'Noto Sans Thai', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0 0 4px; font-weight: 700; color: var(--navy-900); letter-spacing: -0.01em; }
p { margin: 0 0 8px; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------------- Layout shells ---------------- */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.topbar__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-900); }
.topbar__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 130%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
}
.topbar__title-group { line-height: 1.2; }
.topbar__title { font-size: 15px; font-weight: 700; }
.topbar__subtitle { font-size: 11.5px; color: var(--ink-soft); font-weight: 400; }
.topbar__nav { display: flex; align-items: center; gap: 4px; }
.topbar__nav a {
  color: var(--ink-soft); font-weight: 500; font-size: 14px; padding: 8px 14px;
  border-radius: 999px; transition: background .15s, color .15s;
}
.topbar__nav a:hover, .topbar__nav a.active { background: var(--navy-50); color: var(--navy); text-decoration: none; }
.topbar__user { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}

.main { flex: 1; padding: 28px 24px 64px; max-width: 1180px; margin: 0 auto; width: 100%; }
.main--wide { max-width: 1360px; }

.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-header__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 4px; }
.page-header h1 { font-size: 22px; }
.page-header__desc { color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }

/* ---------------- Admin shell (sidebar) ---------------- */
.admin-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 248px; flex-shrink: 0; background: var(--navy-900); color: #EAF1F8;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.sidebar__brand { display: flex; align-items: center; gap: 10px; padding: 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar__brand-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.sidebar__brand-sub { font-size: 10.5px; color: #9FB4C8; }
.sidebar__nav { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.sidebar__section { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: #71889D; padding: 14px 12px 6px; }
.sidebar__link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px;
  color: #C9D8E6; font-size: 13.5px; font-weight: 500; transition: background .15s, color .15s;
}
.sidebar__link svg { flex-shrink: 0; opacity: .85; }
.sidebar__link:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.sidebar__link.active { background: var(--teal); color: #fff; }
.sidebar__foot { padding: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-main { flex: 1; min-width: 0; }
.admin-topbar {
  background: var(--surface); border-bottom: 1px solid var(--line);
  height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
}

/* ---------------- Cards ---------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card__body { padding: 20px; }
.card__header { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__title { font-size: 15px; font-weight: 700; color: var(--navy-900); }
.card--pad-lg .card__body { padding: 26px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.stat-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.stat-card__label { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.stat-card__value { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--navy-900); }
.stat-card__meta { font-size: 12px; color: var(--ink-faint); }
.stat-card__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }

/* ---------------- Meeting cards ---------------- */
.meeting-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: box-shadow .15s, transform .15s; display: flex; flex-direction: column; gap: 10px;
}
.meeting-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line-strong); }
.meeting-card.is-open::before { background: var(--success); }
.meeting-card.is-closed::before { background: var(--warning); }
.meeting-card.is-cancelled::before { background: var(--danger); }
.meeting-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.meeting-card__title { font-size: 16px; font-weight: 700; color: var(--navy-900); }
.meeting-card__title a { color: inherit; }
.meeting-card__title a:hover { text-decoration: none; color: var(--teal-600); }
.meeting-card__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.meeting-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.meeting-card__desc { font-size: 13px; color: var(--ink-soft); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.meeting-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); }

/* ---------------- Org chip (signature element) ---------------- */
.org-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500;
  background: var(--navy-50); color: var(--navy); border-radius: 999px; padding: 4px 10px 4px 8px;
  border: 1px solid #DCE6F0; max-width: 100%;
}
.org-chip__main { font-weight: 600; }
.org-chip__sep { color: var(--ink-faint); }
.org-chip__sub { color: var(--ink-soft); }
.org-chip--lg { font-size: 13px; padding: 6px 12px 6px 10px; }

/* ---------------- Badges ---------------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: var(--neutral-bg); color: var(--neutral); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px;
  border-radius: 10px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .1s;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-600); text-decoration: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); text-decoration: none; }
.btn-outline { background: var(--surface); color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--neutral-bg); text-decoration: none; color: var(--ink); }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: #F6D6D6; text-decoration: none; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-icon { padding: 8px; width: 36px; height: 36px; }

/* ---------------- Forms ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }
.field .error-text { font-size: 12px; color: var(--danger); margin-top: 4px; font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; font-family: inherit; font-size: 14px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.input.is-invalid { border-color: var(--danger); }
.input.is-valid { border-color: var(--success); }
textarea.input { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------------- Searchable Select (dropdown ค้นหาได้) ---------------- */
.searchable-select { position: relative; }
.searchable-select__native { position: absolute; opacity: 0; pointer-events: none; height: 1px; width: 1px; overflow: hidden; }
.searchable-select__control {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; font-size: 14px; padding: 10px 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.searchable-select__control::after { content: "▾"; color: var(--ink-faint); font-size: 11px; flex-shrink: 0; }
.searchable-select__control:hover { border-color: var(--line-strong); }
.searchable-select.is-open .searchable-select__control { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.searchable-select__control.is-placeholder .searchable-select__value { color: var(--ink-faint); }
.searchable-select__control.is-disabled { background: var(--neutral-bg); color: var(--ink-faint); cursor: not-allowed; }
.searchable-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchable-select__panel {
  display: none; flex-direction: column; gap: 6px;
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 45;
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow);
  padding: 8px;
}
.searchable-select.is-open .searchable-select__panel { display: flex; }
.searchable-select__search { padding: 8px 10px; font-size: 13.5px; }
.searchable-select__options { overflow-y: auto; max-height: 200px; display: flex; flex-direction: column; gap: 1px; }
.searchable-select__option { padding: 8px 10px; font-size: 13.5px; border-radius: 6px; cursor: pointer; }
.searchable-select__option:hover { background: var(--navy-50); }
.searchable-select__option.is-selected { background: var(--teal-50); color: var(--teal-600); font-weight: 600; }
.searchable-select__empty { padding: 8px 10px; font-size: 13px; color: var(--ink-faint); }
.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 560px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-card { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card__title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.radio-card__desc { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.radio-card.attend:has(input:checked) { border-color: var(--success); background: var(--success-bg); }
.radio-card.not-attend:has(input:checked) { border-color: var(--danger); background: var(--danger-bg); }
.radio-cards.is-invalid .radio-card { border-color: var(--danger); }

/* ---------------- Data table ---------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--surface); }
table.data-table thead th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-soft); font-weight: 600; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data-table tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data-table tbody tr:last-child td { border-bottom: none; }
table.data-table tbody tr:hover { background: var(--bg); }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; flex-wrap: wrap; }
.table-search { position: relative; max-width: 280px; flex: 1; min-width: 180px; }
.table-search .input { padding-left: 34px; }
.table-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }

/* ---------------- Stepper ---------------- */
.stepper { display: flex; align-items: center; margin-bottom: 24px; }
.stepper__step { display: flex; align-items: center; gap: 10px; flex: 1; }
.stepper__circle {
  width: 30px; height: 30px; border-radius: 50%; background: var(--neutral-bg); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
  border: 2px solid var(--line);
}
.stepper__step.done .stepper__circle { background: var(--teal); color: #fff; border-color: var(--teal); }
.stepper__step.active .stepper__circle { background: var(--surface); color: var(--teal); border-color: var(--teal); }
.stepper__label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.stepper__step.active .stepper__label, .stepper__step.done .stepper__label { color: var(--navy-900); }
.stepper__line { flex: 1; height: 2px; background: var(--line); margin: 0 6px; }
.stepper__step.done + .stepper__line { background: var(--teal); }

/* ---------------- Timeline ---------------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 20px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: -26px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal); }
.timeline__item.not-attend .timeline__dot { border-color: var(--danger); }
.timeline__title { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.timeline__meta { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }

/* ---------------- Progress / donut ---------------- */
.progress { height: 8px; border-radius: 999px; background: var(--neutral-bg); overflow: hidden; }
.progress__bar { height: 100%; background: var(--teal); border-radius: 999px; transition: width .4s ease; }
.donut {
  width: 118px; height: 118px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.donut__inner { width: 78px; height: 78px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut__value { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: var(--navy-900); }
.donut__label { font-size: 10px; color: var(--ink-soft); }

/* ---------------- Bars (simple css chart) ---------------- */
.bar-chart { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 42px; align-items: center; gap: 10px; font-size: 12.5px; }
.bar-row__label { color: var(--ink-soft); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row__track { height: 10px; border-radius: 999px; background: var(--neutral-bg); overflow: hidden; }
.bar-row__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--navy)); }
.bar-row__value { font-family: var(--font-mono); color: var(--navy-900); font-weight: 600; }

/* ---------------- Empty state ---------------- */
.empty-state { text-align: center; padding: 56px 24px; color: var(--ink-soft); }
.empty-state__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--navy-50); color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.empty-state__title { font-size: 15px; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.empty-state__desc { font-size: 13px; max-width: 340px; margin: 0 auto 18px; }

/* ---------------- Toast ---------------- */
.toast-stack { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border-radius: 11px;
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-left-width: 4px;
  animation: toast-in .25s ease;
  font-size: 13.5px;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(16px);} to { opacity: 1; transform: translateX(0);} }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--info); }
.toast__close { margin-left: auto; background: none; border: none; color: var(--ink-faint); font-size: 15px; }

/* ---------------- Modal / Drawer ---------------- */
.overlay { position: fixed; inset: 0; background: rgba(14,35,56,.42); z-index: 90; display: none; }
.overlay.show { display: block; }
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 91;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: min(480px, 92vw); max-height: 86vh; overflow-y: auto; display: none;
}
.modal.show { display: block; }
.modal__header { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal__body { padding: 22px; }
.modal__footer { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(420px, 92vw);
  background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.drawer.show { transform: translateX(0); }

/* ---------------- Skeleton ---------------- */
.skeleton { background: linear-gradient(90deg, #EEF1F5 25%, #E4E9EF 37%, #EEF1F5 63%); background-size: 400% 100%; animation: skeleton 1.4s ease infinite; border-radius: 8px; }
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------- Pagination ---------------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; }
.pagination a, .pagination span {
  min-width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); border: 1px solid transparent;
}
.pagination a:hover { background: var(--navy-50); text-decoration: none; }
.pagination .active { background: var(--navy); color: #fff; }

/* ---------------- Auth pages ---------------- */
.auth-shell { min-height: 100vh; display: flex; }
.auth-shell__aside {
  flex: 1; background: radial-gradient(120% 120% at 15% 10%, var(--navy-700) 0%, var(--navy-900) 60%), var(--navy-900);
  color: #E7EFF6; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-shell__aside::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,142,134,.35), transparent 70%);
}
.auth-shell__form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--surface); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 21px; margin-bottom: 6px; }
.auth-card__desc { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 26px; }
@media (max-width: 880px) { .auth-shell__aside { display: none; } }

/* ---------------- Utility ---------------- */
.text-soft { color: var(--ink-soft); }
.text-faint { color: var(--ink-faint); }
.text-sm { font-size: 12.5px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
