@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════
   بحر ستور — Ultra Modern 2025 Design System
   Aesthetic: Dark Luxury × Neon Glass × Fluid Motion
═══════════════════════════════════════════════════════════ */

:root {
  --bg-base:      #060910;
  --bg-surface:   #0C1220;
  --bg-card:      #111827;
  --bg-raised:    #161F30;
  --bg-hover:     #1C2840;

  --border-subtle: rgba(255,255,255,0.06);
  --border-mid:    rgba(255,255,255,0.1);
  --border-accent: rgba(99,179,255,0.3);

  --neon-blue:   #63B3FF;
  --neon-cyan:   #22D3EE;
  --neon-violet: #A78BFA;
  --neon-green:  #34D399;
  --neon-gold:   #FCD34D;
  --neon-pink:   #F472B6;

  --text-1: #F0F6FF;
  --text-2: #94A3B8;
  --text-3: #4B6280;
  --text-inv: #060910;

  --green:  #34D399;
  --red:    #F87171;
  --orange: #FB923C;
  --gold:   #FCD34D;
  --purple: #A78BFA;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --shadow-card: 0 1px 3px rgba(0,0,0,.8), 0 8px 24px rgba(0,0,0,.5);
  --shadow-glow-blue:   0 0 30px rgba(99,179,255,.18);
  --shadow-glow-cyan:   0 0 30px rgba(34,211,238,.18);
  --shadow-glow-violet: 0 0 30px rgba(167,139,250,.18);
  --shadow-glow-green:  0 0 30px rgba(52,211,153,.18);

  --grad-brand:  linear-gradient(135deg, #2563EB, #06B6D4);
  --grad-gold:   linear-gradient(135deg, #D97706, #FCD34D);
  --grad-violet: linear-gradient(135deg, #7C3AED, #A78BFA);
  --grad-green:  linear-gradient(135deg, #059669, #34D399);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 100% 60% at 60% -10%, rgba(37,99,235,.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at -10% 80%,  rgba(124,58,237,.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 110% 60%,  rgba(6,182,212,.06) 0%, transparent 50%);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #2563EB, #06B6D4); border-radius: 10px; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  height: 64px;
  background: rgba(6,9,16,.75);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky;
}
.navbar::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-blue) 30%, var(--neon-cyan) 70%, transparent 100%);
  opacity: .4;
}
.navbar-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; position: relative; z-index: 1; }
.brand-logo {
  width: 40px; height: 40px;
  background: var(--grad-brand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(99,179,255,.4), inset 0 1px 0 rgba(255,255,255,.1);
}
.brand-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.35rem; font-weight: 900;
  background: linear-gradient(135deg, #E0F2FE 20%, var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.navbar-nav { display: flex; align-items: center; gap: .3rem; }
.nav-link {
  padding: .45rem .9rem; border-radius: var(--radius-sm);
  color: var(--text-2); text-decoration: none;
  font-size: .875rem; font-weight: 600;
  transition: all .2s; position: relative;
}
.nav-link:hover { color: var(--text-1); background: rgba(255,255,255,.04); }
.nav-link.active { color: var(--neon-cyan); background: rgba(34,211,238,.06); }

.wallet-badge {
  display: flex; align-items: center; gap: .45rem;
  background: rgba(52,211,153,.06);
  border: 1px solid rgba(52,211,153,.2);
  padding: .38rem 1rem; border-radius: var(--radius-full);
  color: var(--green); font-weight: 700; font-size: .875rem;
  transition: all .2s; text-decoration: none;
}
.wallet-badge:hover { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Cairo', sans-serif;
  font-size: .875rem; font-weight: 700;
  cursor: pointer; border: none;
  text-decoration: none; white-space: nowrap;
  transition: all .22s cubic-bezier(.4,0,.2,1);
}
.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,.3), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.4), 0 0 30px rgba(6,182,212,.2); }
.btn-gold { background: var(--grad-gold); color: #000; font-weight: 800; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(252,211,77,.3); }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid var(--border-mid); color: var(--text-1); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-danger { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.2); color: var(--red); }
.btn-success { background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2); color: var(--green); }
.btn-sm { padding: .32rem .85rem; font-size: .8rem; border-radius: 7px; }
.btn-lg { padding: .75rem 2rem; font-size: 1rem; border-radius: var(--radius-md); }

/* ── LAYOUT ── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.page-body { padding: 2.5rem 0; }

/* ── HERO ── */
.hero {
  padding: 6rem 0 5rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, rgba(6,182,212,.1) 40%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(99,179,255,.06); border: 1px solid rgba(99,179,255,.2);
  padding: .4rem 1.2rem; border-radius: var(--radius-full);
  color: var(--neon-cyan); font-size: .82rem; font-weight: 600;
  margin-bottom: 1.8rem; position: relative; z-index: 1;
  animation: fadeDown .6s ease both;
}
.hero-tag::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse 2s ease infinite;
}
.hero h1 {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900; line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 1.2rem; position: relative; z-index: 1;
  animation: fadeUp .7s .1s ease both;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-cyan) 50%, var(--neon-violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-2); font-size: 1.1rem;
  max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.7;
  position: relative; z-index: 1;
  animation: fadeUp .7s .2s ease both;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; animation: fadeUp .7s .3s ease both; }
.hero-stats { display: flex; justify-content: center; gap: 4rem; margin-top: 4rem; position: relative; z-index: 1; animation: fadeUp .7s .4s ease both; }
.hero-stat .num {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.2rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #E0F2FE, var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat .lbl { color: var(--text-3); font-size: .78rem; margin-top: .35rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ── SECTION HEADERS ── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.section-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: .7rem;
}
.section-title::before {
  content: ''; width: 4px; height: 22px;
  background: var(--grad-brand); border-radius: 2px; flex-shrink: 0;
}

/* ── GRIDS ── */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ── CARD ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-card), var(--shadow-glow-blue); transform: translateY(-3px); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-subtle); }
.card-title { font-size: 1rem; font-weight: 700; }

/* ── CAT CARDS ── */
.cat-card {
  border-radius: var(--radius-lg); padding: 1.4rem 1.2rem;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  text-decoration: none; color: inherit;
  display: flex; align-items: center; gap: 1rem;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.cat-card:hover {
  border-color: color-mix(in srgb, var(--cat-color, #2563EB) 40%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  background: color-mix(in srgb, var(--cat-color, #2563EB) 5%, var(--bg-card));
}
.cat-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: color-mix(in srgb, var(--cat-color, #2563EB) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat-color, #2563EB) 25%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.cat-name { font-weight: 700; font-size: .95rem; }
.cat-count { color: var(--text-3); font-size: .78rem; margin-top: .25rem; font-weight: 600; }

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.service-card:hover { border-color: rgba(99,179,255,.25); transform: translateY(-5px); box-shadow: var(--shadow-card), var(--shadow-glow-blue); }
.service-img {
  height: 150px; background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  position: relative; overflow: hidden;
}
.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.service-provider { color: var(--text-3); font-size: .72rem; margin-bottom: .4rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.service-name { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.service-desc { color: var(--text-2); font-size: .8rem; flex: 1; line-height: 1.6; }
.service-footer { padding: 1rem 1.2rem; border-top: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; }
.service-price {
  font-family: 'Tajawal', sans-serif; font-size: 1.15rem; font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── FORMS ── */
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; margin-bottom: .5rem; font-size: .8rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.form-control {
  width: 100%; padding: .75rem 1.1rem;
  background: rgba(255,255,255,.03); border: 1px solid var(--border-mid);
  border-radius: var(--radius-md); color: var(--text-1);
  font-family: 'Cairo', sans-serif; font-size: .9rem;
  transition: all .2s; direction: rtl;
}
.form-control::placeholder { color: var(--text-3); }
.form-control:focus { outline: none; border-color: rgba(99,179,255,.5); background: rgba(99,179,255,.03); box-shadow: 0 0 0 3px rgba(99,179,255,.1); }
.form-control option { background: var(--bg-card); }
select.form-control { cursor: pointer; }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); background: var(--bg-card); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: rgba(255,255,255,.02); }
th { padding: .9rem 1.2rem; text-align: right; font-size: .72rem; font-weight: 800; color: var(--text-3); border-bottom: 1px solid var(--border-subtle); white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
td { padding: .9rem 1.2rem; font-size: .875rem; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
tbody tr:hover { background: rgba(255,255,255,.02); }
tbody tr:last-child td { border-bottom: none; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .75rem; border-radius: var(--radius-full); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.status-pending    { background: rgba(251,146,60,.08);  color: var(--orange); border: 1px solid rgba(251,146,60,.2); }
.status-processing { background: rgba(99,179,255,.08);  color: var(--neon-blue); border: 1px solid rgba(99,179,255,.2); }
.status-completed  { background: rgba(52,211,153,.08);  color: var(--green); border: 1px solid rgba(52,211,153,.2); }
.status-cancelled  { background: rgba(100,116,139,.08); color: #64748B; border: 1px solid rgba(100,116,139,.2); }
.status-rejected   { background: rgba(248,113,113,.08); color: var(--red); border: 1px solid rgba(248,113,113,.2); }

/* ── ALERTS ── */
.alert { padding: .9rem 1.2rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: .7rem; }
.alert-success { background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.2); color: var(--green); }
.alert-error   { background: rgba(248,113,113,.07); border: 1px solid rgba(248,113,113,.2); color: var(--red); }
.alert-info    { background: rgba(99,179,255,.07); border: 1px solid rgba(99,179,255,.2); color: var(--neon-blue); }
.alert-warning { background: rgba(252,211,77,.07); border: 1px solid rgba(252,211,77,.2); color: var(--gold); }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.4rem; display: flex; align-items: center; gap: 1rem; transition: all .3s; }
.stat-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-num { font-family: 'Tajawal', sans-serif; font-size: 1.7rem; font-weight: 900; line-height: 1; }
.stat-lbl { color: var(--text-3); font-size: .75rem; margin-top: .3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ── ADMIN SIDEBAR ── */
.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.sidebar {
  width: 250px; flex-shrink: 0;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  padding: 1.5rem .75rem;
  display: flex; flex-direction: column; gap: .2rem;
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
.sidebar-title { color: var(--text-3); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: .6rem .75rem .3rem; margin-top: .5rem; }
.sidebar-link { display: flex; align-items: center; gap: .75rem; padding: .65rem .85rem; border-radius: var(--radius-sm); color: var(--text-2); text-decoration: none; font-size: .85rem; font-weight: 600; transition: all .18s; }
.sidebar-link:hover { background: rgba(255,255,255,.04); color: var(--text-1); }
.sidebar-link.active { background: rgba(99,179,255,.07); color: var(--neon-blue); border: 1px solid rgba(99,179,255,.15); }
.sidebar-icon { font-size: .95rem; width: 18px; text-align: center; flex-shrink: 0; }
.admin-content { flex: 1; padding: 2rem; min-width: 0; }

/* ── WALLET ── */
.wallet-card {
  background: linear-gradient(135deg, #0D1F4E 0%, #1a3a7a 50%, #0e2d6b 100%);
  border: 1px solid rgba(99,179,255,.2);
  border-radius: var(--radius-xl); padding: 2.2rem;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), var(--shadow-glow-blue);
}
.wallet-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(34,211,238,.2) 0%, transparent 70%); }
.wallet-balance { font-family: 'Tajawal', sans-serif; font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1; position: relative; z-index: 1; }
.wallet-currency { font-size: 1rem; color: rgba(255,255,255,.5); margin-top: .4rem; position: relative; z-index: 1; }

/* ── TABS ── */
.tabs { display: flex; gap: .3rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn { padding: .45rem 1.1rem; border-radius: var(--radius-sm); cursor: pointer; background: transparent; border: 1px solid var(--border-subtle); color: var(--text-2); font-family: 'Cairo', sans-serif; font-size: .82rem; font-weight: 700; transition: all .18s; }
.tab-btn:hover { border-color: var(--border-mid); color: var(--text-1); }
.tab-btn.active { background: rgba(99,179,255,.07); border-color: rgba(99,179,255,.25); color: var(--neon-blue); }

/* ── AUTH ── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem;
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,.2) 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(124,58,237,.12) 0%, transparent 60%);
}
.auth-box {
  width: 100%; max-width: 430px;
  background: rgba(17,24,39,.9); backdrop-filter: blur(24px);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl); padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), var(--shadow-glow-blue);
  position: relative;
}
.auth-box::before { content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, rgba(99,179,255,.4), transparent); }
.auth-logo { text-align: center; margin-bottom: 2rem; }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-box { background: var(--bg-card); border: 1px solid var(--border-mid); border-radius: var(--radius-xl); padding: 2rem; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-size: 1.05rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-2); cursor: pointer; font-size: 1.3rem; transition: color .2s; }
.modal-close:hover { color: var(--text-1); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border-subtle); margin: 1.5rem 0; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text-3); }
.empty-icon { font-size: 3.5rem; margin-bottom: 1.2rem; opacity: .25; }
.empty-text { font-size: .95rem; color: var(--text-2); }

/* ── FOOTER ── */
footer { background: var(--bg-surface); border-top: 1px solid var(--border-subtle); padding: 2.5rem 0; text-align: center; color: var(--text-3); font-size: .82rem; margin-top: 5rem; }
footer a { color: var(--neon-cyan); text-decoration: none; }
footer a:hover { opacity: .7; }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:.4; } }

.fade-up { animation: fadeUp .5s ease both; }
.pulse   { animation: pulse 2s ease infinite; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { gap: 2rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; position: static; height: auto; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: .75rem; }
  .sidebar-title { display: none; }
  .sidebar-link { padding: .5rem .75rem; font-size: .78rem; white-space: nowrap; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .auth-box { padding: 1.8rem 1.4rem; }
}
