/* ============================================
   WANDERLUST TOURS — ADMIN PANEL (TROPICAL THEME)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&family=Lora:ital,wght@0,400;0,600&display=swap');

:root {
  --teal:        #0B8A8A;
  --teal-light:  #14B8B8;
  --teal-dark:   #065F5F;
  --forest:      #2D6A4F;
  --forest-light:#40916C;
  --sand:        #F4E0C0;
  --coral:       #E07A5F;
  --bg:          #0F1E1E;
  --bg-card:     #162828;
  --bg-mid:      #1D3535;
  --bg-light:    #254040;
  --text:        #EFF6F4;
  --text-muted:  #7AADA0;
  --white:       #FFFFFF;
  --success:     #34C98A;
  --danger:      #E05C5C;
  --warning:     #F59E0B;
  --info:        #38BDF8;
  --sidebar-w:   256px;
  --transition:  all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:      0 6px 24px rgba(0,0,0,0.4);
  --radius:      10px;
  --radius-lg:   16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
a { text-decoration: none; color: inherit; }

/* ══════════════════
   SIDEBAR
══════════════════ */
.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-card);
  border-right: 1px solid rgba(11,138,138,0.15);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: var(--transition);
  overflow-y: auto;
}

.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(11,138,138,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  flex-shrink: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 38px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100px;
  height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo-mark img:hover {
  transform: scale(1.1);
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
.logo-text span { color: var(--teal-light); }
.sidebar-logo small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-top: 1px;
}

.sidebar-nav { flex: 1; padding: 16px 0; }

.nav-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 20px 7px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-item:hover {
  color: var(--text);
  background: rgba(11,138,138,0.07);
}
.nav-item.active {
  color: var(--teal-light);
  border-left-color: var(--teal-light);
  background: rgba(11,138,138,0.1);
}
.nav-item .icon { font-size: 1.05rem; width: 18px; text-align: center; flex-shrink: 0; }
.nav-item .badge {
  margin-left: auto;
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.sidebar-user {
  padding: 18px 20px;
  border-top: 1px solid rgba(11,138,138,0.12);
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-dark);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--text);
  font-size: 0.88rem;
  flex-shrink: 0;
}
.user-info .name { font-weight: 700; font-size: 0.88rem; }
.user-info .role { font-size: 0.72rem; color: var(--text-muted); }
.sidebar-logout {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.sidebar-logout:hover { color: var(--danger); }

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

/* Topbar */
.topbar {
  background: var(--bg-card);
  border-bottom: 1px solid rgba(11,138,138,0.12);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 16px;
}
.topbar-left h1 {
  font-size: 1.25rem;
  font-family: 'Lora', serif;
  font-weight: 600;
}
.topbar-left p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 14px;
}
.topbar-search input {
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.84rem;
  outline: none;
  width: 170px;
}
.topbar-search input::placeholder { color: var(--text-muted); }
.notif-btn {
  position: relative;
  width: 38px; height: 38px;
  background: var(--bg-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}
.notif-btn:hover { color: var(--text); border-color: var(--teal); }
.notif-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  background: var(--danger);
  border-radius: 50%;
}
.hamburger-admin {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger-admin span {
  display: block;
  width: 19px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--teal-light);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-danger-soft {
  background: rgba(224,92,92,0.1);
  color: var(--danger);
  border: 1px solid rgba(224,92,92,0.2);
}
.btn-danger-soft:hover { background: var(--danger); color: white; }
.btn-sm { padding: 7px 15px; font-size: 0.76rem; }

/* ══════════════════
   PAGES
══════════════════ */
.page-content { padding: 28px; flex: 1; }
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.28s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════
   STAT CARDS
══════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(11,138,138,0.25); transform: translateY(-2px); }
.stat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.stat-icon.teal   { background: rgba(11,138,138,0.15); color: var(--teal-light); }
.stat-icon.green  { background: rgba(52,201,138,0.15); color: var(--success); }
.stat-icon.blue   { background: rgba(56,189,248,0.15); color: var(--info); }
.stat-icon.coral  { background: rgba(224,122,95,0.15); color: var(--coral); }
.stat-info .label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.stat-info .value { font-family: 'Lora', serif; font-size: 1.7rem; font-weight: 600; color: var(--text); line-height: 1; }
.stat-info .change { font-size: 0.76rem; margin-top: 4px; }
.change.up   { color: var(--success); }
.change.down { color: var(--danger); }
.change.warn { color: var(--warning); }

/* ══════════════════
   TABLE CARD
══════════════════ */
.table-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.table-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.table-header h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}
.table-search {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 7px 13px;
}
.table-search input {
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem;
  outline: none;
  width: 150px;
}
.table-search input::placeholder { color: var(--text-muted); }
.table-container { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }
thead tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
th {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
td {
  padding: 14px 18px;
  font-size: 0.87rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
tr:last-child td { border-bottom: none; }
tbody tr { transition: var(--transition); }
tbody tr:hover td { background: rgba(11,138,138,0.04); }

/* Booking status dropdown */

.status-select{
  background: var(--navy-light);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
}

/* Dropdown options */

.status-select option{
  background: #0f2a2a;
  color: #ffffff;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}
.status-badge.active    { background: rgba(52,201,138,0.12); color: var(--success); }
.status-badge.inactive  { background: rgba(224,92,92,0.1);   color: var(--danger);  }
.status-badge.pending   { background: rgba(245,158,11,0.12); color: var(--warning); }
.status-badge.confirmed { background: rgba(56,189,248,0.12); color: var(--info);    }
.status-badge.completed { background: rgba(52,201,138,0.12); color: var(--success); }
.status-badge.cancelled { background: rgba(224,92,92,0.1);   color: var(--danger);  }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.action-btns { display: flex; gap: 6px; }
.icon-btn {
  width: 30px; height: 30px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: var(--transition);
}
.icon-btn.edit   { background: rgba(56,189,248,0.12);  color: var(--info);    }
.icon-btn.edit:hover   { background: var(--info);    color: white; }
.icon-btn.delete { background: rgba(224,92,92,0.1);   color: var(--danger);  }
.icon-btn.delete:hover { background: var(--danger);  color: white; }
.icon-btn.view   { background: rgba(11,138,138,0.1);  color: var(--teal-light); }
.icon-btn.view:hover   { background: var(--teal);    color: white; }

.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 2.8rem; margin-bottom: 14px; opacity: 0.4; }
.empty-state p { font-size: 0.88rem; }

/* ══════════════════
   BOOKINGS FILTERS
══════════════════ */
.bookings-filter {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-chip {
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.09);
  background: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Josefin Sans', sans-serif;
}
.filter-chip:hover { border-color: var(--teal); color: var(--teal-light); }
.filter-chip.active { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ══════════════════
   CHARTS
══════════════════ */
.chart-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.chart-header h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 150px;
  padding: 0 4px;
}
.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, var(--teal-dark), var(--teal-light));
  cursor: pointer;
  transition: all 0.4s ease;
  min-height: 4px;
}
.bar:hover { filter: brightness(1.25); }
.bar-label { font-size: 0.65rem; color: var(--text-muted); font-weight: 700; }

/* ══════════════════
   GRIDS
══════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }

/* ══════════════════
   ADMIN TOUR CARDS
══════════════════ */
.admin-tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.admin-tour-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.admin-tour-card:hover { border-color: rgba(11,138,138,0.25); }
.admin-tour-img { position: relative; height: 155px; overflow: hidden; }
.admin-tour-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.admin-tour-img .tour-status { position: absolute; top: 10px; right: 10px; }
.admin-tour-body { padding: 15px; }
.admin-tour-body h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.admin-tour-body > p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.admin-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.admin-price {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sand);
}

/* ══════════════════
   FORM CARD
══════════════════ */
.form-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.form-card-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.form-card-header h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  background: var(--bg-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 85px; }
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11,138,138,0.12);
}
.form-group select option { background: var(--bg-mid); }
.error-msg {
  color: var(--danger);
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}
.error-msg.show { display: block; }

/* Image upload */
.img-upload-area {
  border: 2px dashed rgba(11,138,138,0.3);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.img-upload-area:hover { border-color: var(--teal); background: rgba(11,138,138,0.04); }
.img-upload-area input { display: none; }
.img-upload-area .upload-icon { font-size: 1.8rem; margin-bottom: 8px; color: var(--teal-light); }
.img-upload-area p { font-size: 0.82rem; color: var(--text-muted); }
.img-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.img-preview-item {
  width: 76px; height: 56px;
  border-radius: 7px;
  object-fit: cover;
  border: 2px solid rgba(11,138,138,0.3);
}

/* Toggle */
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle { position: relative; width: 42px; height: 22px; display: inline-block; }
.toggle input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}
.slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}
.toggle input:checked + .slider { background: var(--teal); }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* ══════════════════
   MODALS
══════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid rgba(11,138,138,0.18);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.modal-header {
  padding: 22px 26px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}
.modal-header h2 {
  font-size: 1.1rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.05rem;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 22px 26px; }
.modal-footer {
  padding: 14px 26px 22px;
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ══════════════════
   TOAST
══════════════════ */
.toast-container {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.toast {
  background: var(--bg-mid);
  border: 1px solid rgba(11,138,138,0.22);
  border-radius: var(--radius);
  padding: 13px 16px;
  min-width: 255px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  animation: slideInRight 0.28s ease;
}
.toast.success { border-color: rgba(52,201,138,0.3); }
.toast.error   { border-color: rgba(224,92,92,0.3);  }
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: none; }
}

/* ══════════════════
   ADMIN LOGIN SCREEN
══════════════════ */
.admin-logo {
  width: 400px;   /* adjust size here */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px; /* optional */
}
.admin-logo:hover{transform: scale(1.1);
}
#adminLogin {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

/* ══════════════════
   RESPONSIVE
══════════════════ */
@media (max-width: 1024px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .grid-2    { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sidebar           { transform: translateX(-100%); }
  .sidebar.open      { transform: translateX(0); }
  .main-content      { margin-left: 0; }
  .hamburger-admin   { display: flex; }
  .stats-row         { grid-template-columns: 1fr 1fr; }
  .page-content      { padding: 16px; }
  .topbar            { padding: 12px 16px; }
  .topbar-search     { display: none; }
}
@media (max-width: 480px) {
  .stats-row         { grid-template-columns: 1fr; }
}
