/* ==========================================================================
   MarkasMainan — Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --bg:           #080e1a;
  --surface:      #0f1c30;
  --card:         #12203a;
  --card-hover:   #162840;
  --border:       #1e3350;
  --border-light: #2a4468;
  --accent:       #f59e0b;
  --accent-dim:   rgba(245,158,11,0.12);
  --accent-glow:  rgba(245,158,11,0.22);
  --text:         #dde8f5;
  --text-muted:   #6b8ab0;
  --text-subtle:  #3a5475;
  --success:      #10b981;
  --warning:      #f59e0b;
  --danger:       #ef4444;
  --info:         #3b82f6;
  --sidebar-w:    240px;
  --radius:       10px;
  --radius-sm:    6px;
  --shadow:       0 1px 3px rgba(0,0,0,0.4);
  --font:         'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --------------------------------------------------------------------------
   App Shell — sidebar + main
   -------------------------------------------------------------------------- */
.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;    /* cegah horizontal scroll di level app */
}

/* --------------------------------------------------------------------------
   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: 50;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
}

.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #000;
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark.lg { width: 48px; height: 48px; font-size: 1.5rem; border-radius: var(--radius); }

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-text strong { color: var(--accent); }

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 0.5rem 0.35rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.15s;
  text-decoration: none;
}
.nav-item:hover { background: var(--border); color: var(--text); text-decoration: none; }
.nav-item.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
  border: 1px solid rgba(245,158,11,0.2);
}
.nav-icon { font-size: 0.95rem; width: 18px; text-align: center; }

.sidebar-footer {
  padding: 1rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 0.82rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 0.72rem; color: var(--text-muted); text-transform: capitalize; }
.btn-logout {
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 0.3rem;
  border-radius: 5px;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-logout:hover { color: var(--danger); background: rgba(239,68,68,0.1); text-decoration: none; }

/* --------------------------------------------------------------------------
   Main Content
   -------------------------------------------------------------------------- */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1 1 0%;              /* ambil semua sisa ruang */
  min-width: 0;              /* kunci utama agar flex child tidak overflow */
  min-height: 100vh;
  overflow-x: hidden;        /* konten dalam tidak bocor keluar */
  background-image: radial-gradient(ellipse 70% 40% at 80% 0%, rgba(245,158,11,0.04) 0%, transparent 60%);
}
.content-inner {
  padding: 2rem 2rem 4rem;
  width: 100%;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.page-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.page-sub { font-size: 0.88rem; color: var(--text-muted); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Stats Grid
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
}
.stat-val.accent  { color: var(--accent); }
.stat-val.warning { color: var(--warning); }
.stat-val.danger  { color: var(--danger); }

/* --------------------------------------------------------------------------
   Toolbar & Filter
   -------------------------------------------------------------------------- */
.toolbar { margin-bottom: 1rem; }

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* Input/select di dalam filter-form TIDAK boleh 100% width —
   biarkan flex menentukan ukurannya */
.filter-form input,
.filter-form select {
  width: auto;
  min-width: 130px;
}
.filter-form input[type="date"] {
  min-width: 140px;
}

.search-wrap { flex: 1; min-width: 220px; }
.search-wrap input { width: 100%; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-subtle); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b8ab0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
  -webkit-appearance: none;
}
select option { background: var(--surface); }
textarea { resize: vertical; min-height: 90px; }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 0.9rem; }
.form-group:last-child { margin-bottom: 0; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
}
.checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}

.btn-secondary {
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.25);
}
.btn-secondary:hover { background: rgba(59,130,246,0.2); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-light); color: var(--text); }

.btn-danger {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
}
.btn-danger:hover { background: rgba(239,68,68,0.2); }

.btn-full { width: 100%; }
.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.78rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

/* --------------------------------------------------------------------------
   Table
   -------------------------------------------------------------------------- */
.table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;               /* scroll horizontal, radius tetap */
  -webkit-overflow-scrolling: touch;
}
.table-wrap table,
.table-wrap > div > table {
  width: 100%;
  min-width: 600px;               /* tidak gepeng di layar sempit */
}

table { width: 100%; border-collapse: collapse; }

thead { background: rgba(255,255,255,0.025); }

th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

td {
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(30,51,80,0.5);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255,255,255,0.02); }
tr.row-expired td { background: rgba(239,68,68,0.04); }

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}
.badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.badge-gray    { background: rgba(107,114,128,0.15); color: #9ca3af; }
.badge-yellow  { background: rgba(245,158,11,0.12);  color: #f59e0b; }
.badge-blue    { background: rgba(59,130,246,0.12);  color: #60a5fa; }
.badge-indigo  { background: rgba(99,102,241,0.12);  color: #818cf8; }
.badge-green   { background: rgba(16,185,129,0.12);  color: #34d399; }
.badge-red     { background: rgba(239,68,68,0.12);   color: #f87171; }
.badge-orange  { background: rgba(249,115,22,0.12);  color: #fb923c; }
.badge-purple  { background: rgba(168,85,247,0.12);  color: #c084fc; }

/* --------------------------------------------------------------------------
   Flags (mini badges di tabel)
   -------------------------------------------------------------------------- */
.flags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.flag {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}
.flag-purple { background: rgba(168,85,247,0.12);  color: #c084fc; }
.flag-blue   { background: rgba(59,130,246,0.12);  color: #60a5fa; }
.flag-green  { background: rgba(16,185,129,0.12);  color: #34d399; }
.flag-yellow { background: rgba(245,158,11,0.12);  color: #f59e0b; }
.flag-red    { background: rgba(239,68,68,0.12);   color: #f87171; }

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.page-btn {
  min-width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all 0.15s;
  padding: 0 0.5rem;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #000; }
.page-info { margin-left: auto; font-size: 0.78rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Detail Page Layout (2 kolom)
   -------------------------------------------------------------------------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-col { display: flex; flex-direction: column; gap: 1.1rem; }

.detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.detail-card form,
.detail-card > .form-group,
.detail-card > * { padding: 1.1rem 1.25rem; }
.detail-card form { padding: 1.1rem 1.25rem 1.1rem; }
.detail-card-title + form { margin-top: 0; }

.detail-rows { padding: 0.5rem 0; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(30,51,80,0.4);
}
.detail-row:last-child { border-bottom: none; }
.detail-row > span:first-child { color: var(--text-muted); flex-shrink: 0; }
.detail-row > span:last-child  { text-align: right; }
.detail-row.total-row { background: rgba(245,158,11,0.05); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Timeline (riwayat status)
   -------------------------------------------------------------------------- */
.timeline { padding: 0.5rem 1.25rem 1rem; display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: flex;
  gap: 0.85rem;
  position: relative;
  padding-bottom: 1rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px; top: 18px; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  background: var(--border);
  border: 2px solid var(--surface);
}
.timeline-dot.badge-green  { background: #10b981; }
.timeline-dot.badge-yellow { background: #f59e0b; }
.timeline-dot.badge-blue   { background: #3b82f6; }
.timeline-dot.badge-red    { background: #ef4444; }
.timeline-dot.badge-gray   { background: #6b7280; }
.timeline-dot.badge-indigo { background: #6366f1; }
.timeline-dot.badge-orange { background: #f97316; }

.timeline-content { flex: 1; min-width: 0; }
.timeline-status  { font-size: 0.88rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.timeline-meta    { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.timeline-note    { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; background: var(--surface); padding: 0.4rem 0.7rem; border-radius: var(--radius-sm); border-left: 2px solid var(--border-light); }

/* --------------------------------------------------------------------------
   Alert / Flash
   -------------------------------------------------------------------------- */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}
.alert-success { background: rgba(16,185,129,0.1); color: #34d399; border-color: rgba(16,185,129,0.25); }
.alert-error   { background: rgba(239,68,68,0.1);  color: #f87171; border-color: rgba(239,68,68,0.25); }
.alert-info    { background: rgba(59,130,246,0.1); color: #60a5fa; border-color: rgba(59,130,246,0.25); }

/* --------------------------------------------------------------------------
   Login Page
   -------------------------------------------------------------------------- */
.blank-body {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245,158,11,0.07) 0%, transparent 70%);
}
.login-wrap { width: 100%; max-width: 400px; padding: 1.5rem; }
.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.login-appname {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.login-sub { font-size: 0.82rem; color: var(--text-muted); }
.login-card .form-group { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 3.5rem 2rem;
  color: var(--text-muted);
}
.empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.5; }
.empty-state h3 { font-family: 'Syne', sans-serif; font-size: 1rem; margin-bottom: 0.4rem; }
.empty-state p  { font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.mono        { font-family: var(--font-mono); }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-xs     { font-size: 0.75rem; }
.text-sm     { font-size: 0.82rem; }
.fw-600      { font-weight: 600; }
.mt-1        { margin-top: 0.25rem; }
.mb-4        { margin-bottom: 1rem; }
.flex        { display: flex; }
.gap-2       { gap: 0.5rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .sidebar       { transform: translateX(-100%); transition: transform 0.25s; }
  .sidebar.open  { transform: translateX(0); z-index: 200; }
  .main-content  { margin-left: 0; }
  .content-inner { padding: 1.25rem 1rem 3rem; }
  .table-wrap    { overflow-x: auto; }
  table          { min-width: 600px; }
}

/* ── Mobile topbar ── */
.mobile-topbar {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.mobile-logo {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Syne', sans-serif;
}
.mobile-logo strong { color: var(--accent); }

/* ── Hamburger button ── */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Sidebar overlay (mobile) ── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 199;
}
.sidebar-overlay.show { display: block; }

@media (max-width: 768px) {
  .mobile-topbar { display: flex; }
}

/* ── Modal overlay (popup) ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { margin: 0; font-size: 1rem; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--text); }
