/* ═══════════════════════════════════════════════════════════
   SOFIAMEDIA — Design System v2
   Aesthetic: Racing editorial · Dark accent · Bold type
═══════════════════════════════════════════════════════════ */

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

:root {
  --c-bg:        #f5f3ef;
  --c-surface:   #ffffff;
  --c-dark:      #111110;
  --c-accent:    #e8311a;
  --c-accent2:   #f5a623;
  --c-green:     #1a8a4a;
  --c-muted:     #7a7570;
  --c-border:    #e2dfd9;
  --c-border-dk: #d0cdc7;
  --font-display:'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 2px 12px rgba(0,0,0,.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-dark);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── TYPOGRAPHY ──────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.eyebrow { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }

/* ── PORTAL NAVBAR ───────────────────────────────────── */
.sm-navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-dark);
  border-bottom: 3px solid var(--c-accent);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.sm-navbar__logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
  letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.sm-navbar__logo span { color: var(--c-accent); }
.sm-navbar__logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.sm-navbar__links { display: flex; align-items: center; gap: 4px; }
.sm-navbar__links a {
  color: #ccc; font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.sm-navbar__links a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.sm-navbar__cta {
  background: var(--c-accent) !important;
  color: #fff !important; font-weight: 600 !important;
  padding: 6px 16px !important; border-radius: 6px !important;
}
.sm-navbar__cta:hover { background: #cc2a15 !important; }

.sm-navbar__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.sm-navbar__hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s;
}

/* ── HERO ────────────────────────────────────────────── */
.sm-hero {
  background: var(--c-dark);
  position: relative; overflow: hidden;
  padding: 64px 24px 56px;
  text-align: center;
}
.sm-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(232,49,26,.04) 40px,
    rgba(232,49,26,.04) 41px
  );
}
.sm-hero__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,49,26,.15);
  border: 1px solid rgba(232,49,26,.3);
  color: var(--c-accent);
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 20px;
}
.sm-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900; line-height: 1;
  text-transform: uppercase; letter-spacing: -.02em;
  color: #fff; margin-bottom: 14px;
}
.sm-hero__title em { color: var(--c-accent); font-style: normal; }
.sm-hero__sub { color: #999; font-size: 15px; max-width: 400px; margin: 0 auto 28px; }

/* ── FILTER BAR ──────────────────────────────────────── */
.sm-filter {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  position: sticky; top: 58px; z-index: 90;
}
.sm-filter__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sm-chip {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  border: 1.5px solid var(--c-border-dk);
  background: transparent; color: var(--c-muted);
  cursor: pointer; transition: all .15s;
}
.sm-chip:hover { border-color: var(--c-dark); color: var(--c-dark); }
.sm-chip.active { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.sm-chip.active.open { background: var(--c-green); border-color: var(--c-green); }
.sm-filter__count { font-size: 12px; color: var(--c-muted); white-space: nowrap; }

/* ── EVENT LIST ──────────────────────────────────────── */
.sm-events { padding: 24px; max-width: 800px; margin: 0 auto; }

.sm-status-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 20px 0 12px;
}
.sm-status-divider__label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-muted);
  white-space: nowrap;
}
.sm-status-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--c-border);
}

/* ── EVENT CARD ──────────────────────────────────────── */
.sm-event-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  display: flex; align-items: stretch;
  margin-bottom: 10px;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
  position: relative;
}
.sm-event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sm-event-card__accent {
  width: 4px; flex-shrink: 0;
}
.sm-event-card__accent.open   { background: var(--c-green); }
.sm-event-card__accent.coming { background: var(--c-accent2); }
.sm-event-card__accent.done   { background: var(--c-border-dk); }

.sm-event-card__thumb {
  width: 88px; height: 88px; flex-shrink: 0;
  object-fit: cover;
  background: var(--c-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--c-border-dk);
  margin: 10px 0 10px 10px;
  border-radius: 8px; overflow: hidden;
}
.sm-event-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.sm-event-card__body { flex: 1; padding: 14px 16px; min-width: 0; }
.sm-event-card__name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em;
  line-height: 1.2; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sm-event-card__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.sm-event-card__meta-item { font-size: 12px; color: var(--c-muted); display: flex; align-items: center; gap: 4px; }

.sm-event-card__action {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  padding: 14px 16px; gap: 8px; flex-shrink: 0;
}

/* ── BADGE ───────────────────────────────────────────── */
.sm-badge {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.sm-badge--open   { background: #e6f7ee; color: #1a6e3c; border: 1px solid #a8dfc0; }
.sm-badge--coming { background: #fff6e0; color: #8a5e00; border: 1px solid #f5d98a; }
.sm-badge--done   { background: #f0ede8; color: #7a7570; border: 1px solid var(--c-border); }
.sm-badge--closed { background: #fdecea; color: #a82020; border: 1px solid #f5b0b0; }

/* ── BUTTON ──────────────────────────────────────────── */
.sm-btn {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px; border-radius: 7px; border: none;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s; white-space: nowrap;
  text-decoration: none;
}
.sm-btn--primary { background: var(--c-accent); color: #fff; }
.sm-btn--primary:hover { background: #cc2a15; color: #fff; text-decoration: none; }
.sm-btn--dark { background: var(--c-dark); color: #fff; }
.sm-btn--dark:hover { background: #2a2a28; color: #fff; text-decoration: none; }
.sm-btn--outline { background: transparent; color: var(--c-dark); border: 1.5px solid var(--c-border-dk); }
.sm-btn--outline:hover { border-color: var(--c-dark); text-decoration: none; }
.sm-btn--ghost { background: transparent; color: var(--c-muted); border: 1.5px solid var(--c-border); }
.sm-btn--ghost:hover { color: var(--c-dark); border-color: var(--c-dark); text-decoration: none; }
.sm-btn--sm { font-size: 11px; padding: 5px 12px; }
.sm-btn--lg { font-size: 15px; padding: 12px 28px; }
.sm-btn--block { width: 100%; justify-content: center; }

/* ── PORTAL FOOTER ───────────────────────────────────── */
.sm-footer {
  background: var(--c-dark);
  border-top: 3px solid var(--c-accent);
  padding: 28px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-top: 48px;
}
.sm-footer__logo {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 900;
  letter-spacing: .04em; text-transform: uppercase; color: #fff;
}
.sm-footer__logo span { color: var(--c-accent); }
.sm-footer__links { display: flex; gap: 20px; }
.sm-footer__links a { color: #888; font-size: 13px; }
.sm-footer__links a:hover { color: #fff; text-decoration: none; }
.sm-footer__copy { color: #555; font-size: 12px; width: 100%; }

/* ── EVENT PAGE HEADER ───────────────────────────────── */
.ev-topbar {
  background: var(--c-dark);
  border-bottom: 3px solid var(--c-accent);
  padding: 0 20px; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.ev-topbar__brand {
  display: flex; align-items: center; gap: 10px;
}
.ev-topbar__logo-box {
  width: 36px; height: 36px; border-radius: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.ev-topbar__name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800;
  text-transform: uppercase; color: #fff; line-height: 1.1;
}
.ev-topbar__loc { font-size: 11px; color: #888; }
.ev-topbar__actions { display: flex; gap: 8px; }
.ev-access-btn {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px; border-radius: 5px; border: 1px solid;
  cursor: pointer; text-decoration: none; transition: all .15s;
}
.ev-access-btn--bpjs { border-color: #2ea866; color: #2ea866; }
.ev-access-btn--bpjs:hover { background: #2ea866; color: #fff; text-decoration: none; }
.ev-access-btn--admin { border-color: #e6a817; color: #e6a817; }
.ev-access-btn--admin:hover { background: #e6a817; color: #fff; text-decoration: none; }

/* ── EVENT PAGE BODY ─────────────────────────────────── */
.ev-body { max-width: 680px; margin: 0 auto; padding: 24px 20px; }
.ev-section-title {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-muted);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.ev-section-title::after { content:''; flex:1; height:1px; background: var(--c-border); }

.ev-flyer-box {
  background: #1a1a18; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 20px;
  border: 1.5px solid #333;
}
.ev-flyer-box img { width: 100%; display: block; }
.ev-flyer-empty {
  height: 200px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #555; gap: 8px;
}

.ev-menu-list { display: flex; flex-direction: column; gap: 8px; }
.ev-menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  text-decoration: none; color: var(--c-dark);
  font-weight: 600; font-size: 14px;
  transition: all .15s;
}
.ev-menu-item:hover {
  border-color: var(--c-dark); background: var(--c-bg);
  text-decoration: none; color: var(--c-dark);
  transform: translateX(4px);
}
.ev-menu-item__icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--c-bg); border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ev-menu-item__arrow { margin-left: auto; color: var(--c-muted); font-size: 18px; }

.ev-cta-bar {
  position: sticky; bottom: 0;
  background: var(--c-surface);
  border-top: 1.5px solid var(--c-border);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ev-cta-bar__text { font-size: 13px; color: var(--c-muted); }

/* ── FOOTER EVENT ────────────────────────────────────── */
.ev-footer {
  border-top: 1px solid var(--c-border);
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 32px;
}
.ev-footer__brand {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--c-muted);
}
.ev-footer__logo-text {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; color: var(--c-muted);
}
.ev-footer__logo-text span { color: var(--c-accent); }

/* ── FORM ────────────────────────────────────────────── */
.sm-form-wrap { max-width: 640px; margin: 0 auto; padding: 24px 20px 40px; }
.sm-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.sm-card__head {
  padding: 12px 20px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
  display: flex; align-items: center; gap: 8px;
}
.sm-card__head-title {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-muted);
}
.sm-card__body { padding: 20px; }

.sm-field { margin-bottom: 16px; }
.sm-field:last-child { margin-bottom: 0; }
.sm-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--c-dark); margin-bottom: 5px;
  letter-spacing: .02em;
}
.sm-label .req { color: var(--c-accent); }
.sm-input, .sm-select {
  width: 100%; height: 42px;
  border: 1.5px solid var(--c-border-dk);
  border-radius: var(--radius); background: var(--c-bg);
  font-family: var(--font-body); font-size: 14px; color: var(--c-dark);
  padding: 0 12px; transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.sm-input:focus, .sm-select:focus {
  outline: none; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(232,49,26,.1);
}
.sm-input.error { border-color: var(--c-accent); }
.sm-hint { font-size: 11px; color: var(--c-muted); margin-top: 4px; }

/* kelas list */
.kelas-list { border: 1.5px solid var(--c-border-dk); border-radius: var(--radius); overflow: hidden; }
.kelas-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--c-border);
  cursor: pointer; transition: background .1s;
}
.kelas-row:last-of-type { border-bottom: none; }
.kelas-row:hover { background: var(--c-bg); }
.kelas-row.selected { background: #f0f7ff; }
.kelas-cb {
  width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid var(--c-border-dk);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .15s;
}
.kelas-cb.on { background: var(--c-accent); border-color: var(--c-accent); color: #fff; font-size: 11px; }
.kelas-name { flex: 1; font-weight: 600; font-size: 14px; }
.kelas-fee {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--c-green); background: #e6f7ee;
  border: 1px solid #a8dfc0; border-radius: 5px; padding: 2px 10px;
}

.motor-block {
  background: #f0f7ff; border-top: 1px solid #c8dff5;
  padding: 14px 16px 16px 48px; display: none;
}
.motor-block.show { display: block; }
.motor-block__title { font-size: 11px; font-weight: 700; color: #1a6fa8; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

/* checklist */
.sm-checklist {
  border: 2px solid var(--c-accent2);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 16px;
}
.sm-checklist__head {
  background: #fff8e0; padding: 10px 18px;
  border-bottom: 1px solid #f5e8a0;
  font-family: var(--font-display); font-size: 12px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #8a5e00;
}
.sm-checklist__body { background: #fffdf0; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.sm-check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--c-dark); line-height: 1.5; cursor: pointer; }
.sm-check-item input[type=checkbox] { margin-top: 3px; accent-color: var(--c-accent); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }

.total-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--c-bg);
  border-top: 1px solid var(--c-border); margin-top: 4px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.total-bar__label { font-size: 12px; color: var(--c-muted); font-weight: 600; }
.total-bar__val { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--c-accent); }

/* ── ADMIN ───────────────────────────────────────────── */
.adm-wrap { display: flex; min-height: 100vh; }
.adm-sidebar {
  width: 230px; flex-shrink: 0;
  background: var(--c-dark);
  border-right: 3px solid var(--c-accent);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.adm-sidebar__logo {
  padding: 20px 18px 16px;
  border-bottom: 1px solid #222;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  letter-spacing: .04em; text-transform: uppercase; color: #fff;
}
.adm-sidebar__logo span { color: var(--c-accent); }
.adm-sidebar__section {
  font-size: 9px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #444;
  padding: 16px 18px 4px;
}
.adm-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 18px; margin: 1px 8px;
  border-radius: 7px; color: #999; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: all .15s;
}
.adm-nav-link:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.adm-nav-link.active { background: rgba(232,49,26,.15); color: var(--c-accent); font-weight: 600; }
.adm-nav-link__icon { width: 18px; text-align: center; font-size: 14px; flex-shrink: 0; }
.adm-sidebar__footer {
  margin-top: auto; padding: 16px 18px;
  border-top: 1px solid #222;
}
.adm-sidebar__user { font-size: 12px; color: #666; margin-bottom: 8px; }
.adm-sidebar__user strong { color: #aaa; display: block; font-size: 13px; }

.adm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-topbar {
  background: var(--c-surface); border-bottom: 1px solid var(--c-border);
  padding: 0 24px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.adm-topbar__title {
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
}
.adm-content { padding: 24px; flex: 1; }

/* stat cards */
.adm-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.adm-stat {
  background: var(--c-surface); border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  position: relative; overflow: hidden;
}
.adm-stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.adm-stat--peserta::before { background: var(--c-accent); }
.adm-stat--starter::before { background: var(--c-accent2); }
.adm-stat--waiting::before { background: #e6a817; }
.adm-stat--income::before { background: var(--c-green); }
.adm-stat__val {
  font-family: var(--font-display); font-size: 32px; font-weight: 900;
  line-height: 1; margin-bottom: 4px;
}
.adm-stat--peserta .adm-stat__val { color: var(--c-accent); }
.adm-stat--starter .adm-stat__val { color: var(--c-accent2); }
.adm-stat--waiting .adm-stat__val { color: #e6a817; }
.adm-stat--income .adm-stat__val { color: var(--c-green); font-size: 20px; }
.adm-stat__label { font-size: 11px; color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* table */
.adm-table-wrap { background: var(--c-surface); border: 1.5px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th {
  background: var(--c-bg); padding: 10px 16px;
  text-align: left; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
}
.adm-table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: var(--c-bg); }

/* tab nav */
.adm-tabs { display: flex; border-bottom: 2px solid var(--c-border); margin-bottom: 20px; }
.adm-tab {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 18px; color: var(--c-muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  text-decoration: none; transition: all .15s;
}
.adm-tab:hover { color: var(--c-dark); text-decoration: none; }
.adm-tab.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .sm-navbar__links { display: none; }
  .sm-navbar__hamburger { display: flex; }
  .sm-navbar__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 58px; left: 0; right: 0;
    background: var(--c-dark); padding: 12px;
    border-bottom: 2px solid var(--c-accent); gap: 2px; z-index: 200;
  }
  .sm-hero { padding: 40px 16px 36px; }
  .sm-events { padding: 16px; }
  .sm-event-card__thumb { width: 70px; height: 70px; }
  .sm-event-card__name { font-size: 15px; }
  .adm-sidebar { display: none; }
  .adm-stats { grid-template-columns: repeat(2,1fr); }
  .sm-filter { top: 54px; }
}

@media (max-width: 480px) {
  .sm-event-card__action { padding: 10px; }
  .sm-btn--sm { font-size: 10px; padding: 4px 9px; }
  .adm-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .motor-block { padding-left: 16px; }
}
