/* ============================================
   VOLUNTENS - Unified Design System
   Matching landing page: Syne + Space Grotesk
   Palette: Blue #2185c5, Green #6cc04a, Teal #2dd4a8
   ============================================ */

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

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

:root {
  --blue: #2185c5;
  --blue-light: #3da5e0;
  --blue-dark: #1a6fa3;
  --green: #6cc04a;
  --green-light: #8cdb6a;
  --green-dark: #4da832;
  --teal: #2dd4a8;
  --teal-light: #5ee8c5;
  --bg: #ffffff;
  --bg-page: #f8f9fb;
  --bg-card: #f5f7fa;
  --fg: #1a1a2e;
  --fg-dim: #6b7280;
  --fg-dimmer: #9ca3af;
  --border: #e5e7eb;
  --border-light: rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --transition: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  /* Emil Kowalski easing tokens — stronger curves than the CSS built-ins */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Gradient Text Utility ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- Buttons ---- */
.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; line-height: 1;
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  min-height: 44px;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.vt-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0; transition: opacity 200ms var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .vt-btn:hover::after { opacity: 1; }
}
/* Scale-down feedback on press — Emil's "buttons must feel responsive" */
.vt-btn:active { transform: scale(0.97); }

/* ---- Touch-only flourish: make tap feel alive on phones ----
   On devices without hover (iPhone/Android), the ::after shine
   sweeps in on :active so pressing feels dazzling, not dead. */
@media (hover: none) {
  .vt-btn {
    -webkit-tap-highlight-color: transparent; /* kill iOS grey flash */
  }
  .vt-btn:active {
    transform: scale(0.96);
    transition: transform 80ms var(--ease-out), box-shadow 120ms var(--ease-out);
  }
  .vt-btn:active::after {
    opacity: 1;
    transition: opacity 120ms var(--ease-out);
  }
  .vt-btn--primary:active  { box-shadow: 0 0 0 6px rgba(33,133,197,0.18),  0 4px 16px rgba(33,133,197,0.35); }
  .vt-btn--secondary:active{ box-shadow: 0 0 0 6px rgba(108,192,74,0.18),  0 4px 16px rgba(108,192,74,0.35); }
  .vt-btn--accent:active   { box-shadow: 0 0 0 6px rgba(45,212,168,0.18),  0 4px 16px rgba(45,212,168,0.35); }
  .vt-btn--outline:active  { border-color: var(--blue); color: var(--blue); background: rgba(33,133,197,0.06); }
}

.vt-btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .vt-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(33,133,197,0.28); }
}
.vt-btn--primary:active { transform: scale(0.97); }
.vt-btn--secondary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .vt-btn--secondary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,192,74,0.28); }
}
.vt-btn--secondary:active { transform: scale(0.97); }
.vt-btn--accent {
  background: linear-gradient(135deg, var(--teal), #25b893);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .vt-btn--accent:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,212,168,0.28); }
}
.vt-btn--accent:active { transform: scale(0.97); }
.vt-btn--outline {
  background: transparent; border: 2px solid var(--border);
  color: var(--fg);
}
@media (hover: hover) and (pointer: fine) {
  .vt-btn--outline:hover { border-color: var(--blue); color: var(--blue); background: rgba(33,133,197,0.04); transform: translateY(-1px); }
}
.vt-btn--outline:active { transform: scale(0.97); }
.vt-btn--ghost { background: transparent; color: var(--fg-dim); }
.vt-btn--ghost::after { display: none; }
.vt-btn--ghost:hover { background: var(--bg-card); color: var(--fg); }
.vt-btn--sm { padding: 8px 16px; font-size: 0.813rem; min-height: 36px; border-radius: 8px; }
.vt-btn--danger { background: #ef4444; color: #fff; }
.vt-btn--danger:hover { background: #dc2626; }
.vt-btn--danger::after { display: none; }
.vt-btn--success { background: #22c55e; color: #fff; }
.vt-btn--success:hover { background: #16a34a; }
.vt-btn--success::after { display: none; }
.vt-btn--lg { padding: 16px 32px; font-size: 1rem; }
.vt-btn--full { width: 100%; }
.vt-btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---- Form Inputs ---- */
.vt-form-group { margin-bottom: 20px; }
.vt-label {
  display: block; margin-bottom: 6px;
  font-weight: 500; font-size: 0.85rem; color: var(--fg);
  letter-spacing: 0.01em;
}
.vt-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; background: var(--bg);
  transition: all var(--transition);
  min-height: 44px; color: var(--fg);
}
.vt-input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33,133,197,0.1);
  background: #fff;
}
.vt-input--error { border-color: #ef4444; }
.vt-error-msg { color: #ef4444; font-size: 0.813rem; margin-top: 4px; }
.vt-helper { color: var(--fg-dimmer); font-size: 0.813rem; margin-top: 4px; }

/* ---- Cards ---- */
.vt-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.vt-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(33,133,197,0.12);
}
.vt-card__image { width: 100%; height: 200px; overflow: hidden; }
.vt-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vt-card:hover .vt-card__image img { transform: scale(1.05); }
.vt-card__body { padding: 20px; }
.vt-card__title {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em;
}
.vt-card__subtitle { color: var(--fg-dim); font-size: 0.85rem; margin-bottom: 12px; }
.vt-card__content { font-size: 0.9rem; color: var(--fg-dim); line-height: 1.6; }
.vt-card__footer {
  padding: 16px 20px; border-top: 1px solid var(--border-light);
  display: flex; gap: 8px; align-items: center;
}

/* ---- Tabs ---- */
.vt-tabs { margin-bottom: 24px; }
.vt-tab__header {
  display: flex; gap: 4px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0;
}
.vt-tab__btn {
  padding: 12px 20px; border: none; background: none;
  font-family: var(--font-body); font-weight: 500;
  color: var(--fg-dim); font-size: 0.9rem;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--transition); min-height: 44px;
  position: relative;
}
.vt-tab__btn:hover { color: var(--blue); }
.vt-tab__btn--active {
  color: var(--blue); font-weight: 600;
  border-bottom-color: var(--blue);
}
.vt-tab__panel { display: none; padding: 24px 0; }
.vt-tab__panel--active { display: block; animation: fadeIn 0.4s ease; }

/* ---- Toast ---- */
.vt-toast {
  position: fixed; bottom: 24px; right: 24px; padding: 14px 24px;
  border-radius: var(--radius-sm); color: #fff;
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  z-index: 9999; opacity: 0; transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 400px; backdrop-filter: blur(10px);
}
.vt-toast--visible { opacity: 1; transform: translateY(0) scale(1); }
.vt-toast--success { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.vt-toast--error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.vt-toast--info { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }

/* ---- Loader ---- */
.vt-loader { display: flex; justify-content: center; align-items: center; padding: 60px; }
.vt-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(0,0,0,0.06);
  border-top-color: var(--blue); border-right-color: var(--green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Badge ---- */
.vt-badge {
  display: inline-flex; padding: 4px 12px; border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.vt-badge--default { background: var(--bg-card); color: var(--fg-dim); border: 1px solid var(--border-light); }
.vt-badge--success { background: rgba(108,192,74,0.1); color: var(--green-dark); border: 1px solid rgba(108,192,74,0.2); }
.vt-badge--warning { background: rgba(251,191,36,0.1); color: #92400e; border: 1px solid rgba(251,191,36,0.2); }
.vt-badge--danger { background: rgba(239,68,68,0.1); color: #991b1b; border: 1px solid rgba(239,68,68,0.2); }
.vt-badge--info { background: rgba(33,133,197,0.1); color: var(--blue-dark); border: 1px solid rgba(33,133,197,0.2); }

/* ---- Stat Card ---- */
.vt-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.vt-stat {
  position: relative;
  background: var(--bg);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
  transition: all var(--transition);
}
.vt-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33,133,197,0.15);
}
.vt-stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0; transition: opacity var(--transition);
}
.vt-stat:hover::before { opacity: 1; }
.vt-stat__icon { font-size: 1.5rem; margin-bottom: 8px; }
.vt-stat__value {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.vt-stat__label {
  color: var(--fg-dim); font-size: 0.85rem; margin-top: 8px;
  font-weight: 500; letter-spacing: 0.01em;
}

/* ---- Overview Dashboard ---- */
.vt-overview-alert {
  display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a33); border: 1px solid #f59e0b44;
  border-radius: 14px; padding: 18px 22px; margin-bottom: 24px;
}
.vt-overview-alert__icon { color: #f59e0b; flex-shrink: 0; margin-top: 2px; }
.vt-overview-alert__content { flex: 1; }
.vt-overview-alert__content strong { font-family: var(--font-display); font-size: 1rem; color: #92400e; display: block; margin-bottom: 8px; }
.vt-overview-alert__items { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-overview-alert__item {
  background: #fff; border: 1px solid #f59e0b55; border-radius: 8px;
  padding: 6px 14px; font-size: 0.85rem; color: #92400e; font-weight: 500;
  transition: background .15s, transform .15s;
}
.vt-overview-alert__item:hover { background: #fef3c7; transform: translateY(-1px); }

.vt-overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 4px;
}
.vt-overview-col { display: flex; flex-direction: column; gap: 24px; }

.vt-overview-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.vt-overview-card__header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 22px 0; color: var(--fg);
}
.vt-overview-card__header h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.02em; margin: 0;
}
.vt-overview-card__body { padding: 14px 22px 18px; }

.vt-overview-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.vt-overview-row:last-child { border-bottom: none; }
.vt-overview-row__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vt-overview-row__main strong { font-size: 0.9rem; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-overview-row__sub { font-size: 0.8rem; color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-overview-row__badge { flex-shrink: 0; }

.vt-overview-metric {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.vt-overview-metric:last-child { border-bottom: none; }
.vt-overview-metric span { font-size: 0.88rem; color: var(--fg-dim); }
.vt-overview-metric strong { font-size: 1rem; font-family: var(--font-display); color: var(--fg); }

.vt-overview-chart { width: 100%; height: 200px; position: relative; }

@media (max-width: 900px) {
  .vt-overview-grid { grid-template-columns: 1fr; }
}

/* ---- Empty State ---- */
.vt-empty { text-align: center; padding: 60px 20px; color: var(--fg-dimmer); }
.vt-empty__icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.vt-empty__message { font-size: 0.95rem; font-weight: 400; }

/* ---- Modal ---- */
/* Bottom sheet modal */
.vt-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0);
  z-index: 1000;
  pointer-events: none;
  transition: background 0.3s ease;
}
.vt-modal-overlay--open {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  pointer-events: auto;
}
.vt-modal {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  width: 100%; max-width: 700px;
  max-height: 85vh; overflow-y: auto;
  margin: 0 auto;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.vt-modal-overlay--open .vt-modal {
  transform: translateY(0);
}
.vt-modal__handle {
  width: 36px; height: 4px;
  background: #d1d5db; border-radius: 2px;
  margin: 10px auto 0;
}
.vt-modal--wide {
  max-width: 1000px;
}

/* Shift list inside bottom sheet */
.vt-shift-list { display: flex; flex-direction: column; gap: 12px; }
.vt-shift-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.vt-shift-item:hover { border-color: rgba(33,133,197,0.15); box-shadow: var(--shadow-sm); }
.vt-shift-item__info { flex: 1; min-width: 0; }
.vt-shift-item__title {
  font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 700; letter-spacing: -0.01em;
  display: block; margin-bottom: 6px;
}
.vt-shift-item__time,
.vt-shift-item__spots {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--fg-dim);
  margin-bottom: 4px;
}
.vt-shift-item__time svg,
.vt-shift-item__spots svg { color: var(--blue); flex-shrink: 0; }
.vt-shift-item__desc {
  font-size: 0.8rem; color: var(--fg-dim);
  margin-top: 6px; line-height: 1.4;
}

/* File upload button */
.vt-file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafbfc;
}
.vt-file-upload:hover {
  border-color: #2185c5;
  background: #f0f7ff;
}
.vt-file-upload__icon {
  font-size: 1.4rem;
}
.vt-file-upload__text {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Ad popup overlay */
#vt-ad-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: vtAdFadeIn 0.3s ease;
}
#vt-ad-overlay.vt-ad-fade-out {
  animation: vtAdFadeOut 0.3s ease forwards;
}
@keyframes vtAdFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes vtAdFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
.vt-ad-popup {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: vtAdSlideIn 0.3s ease;
}
@keyframes vtAdSlideIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.vt-ad-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #9ca3af;
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
@media (hover: hover) {
  .vt-ad-close:hover {
    background: #f3f4f6;
    color: #1f2937;
  }
}
.vt-ad-content {
  text-align: center;
}

.vt-modal__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid var(--border-light);
}
.vt-modal__header h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: -0.02em;
}
.vt-modal__close {
  background: none; border: none; font-size: 1.5rem; color: var(--fg-dim);
  min-width: 44px; min-height: 44px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.vt-modal__close:hover { background: var(--bg-card); color: var(--fg); }
.vt-modal__body { padding: 28px; }
.vt-modal__footer { padding: 16px 28px; border-top: 1px solid var(--border-light); display: flex; justify-content: flex-end; gap: 12px; }

/* ===== DASHBOARD LAYOUT ===== */
.vt-dashboard {
  display: flex; min-height: 100vh;
  background: var(--bg);
}

/* ---- Sidebar ---- */
.vt-sidebar {
  width: 260px;
  background: var(--bg);
  border-right: 1px solid var(--border-light);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  overflow: hidden;
}

/* Subtle grid background on sidebar */
.vt-sidebar::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.vt-sidebar__header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 1;
}
.vt-sidebar__logo {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(33,133,197,0.25);
}
.vt-sidebar__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  display: block; color: var(--fg);
  letter-spacing: -0.02em;
}
.vt-sidebar__role {
  font-size: 0.72rem; color: var(--fg-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 500;
}
.vt-sidebar__nav {
  flex: 1; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative; z-index: 1;
}
.vt-sidebar__link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; color: var(--fg-dim);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: 0.9rem; min-height: 44px;
  position: relative; font-weight: 500;
}
.vt-sidebar__link:hover {
  background: var(--bg-card);
  color: var(--fg);
}
.vt-sidebar__link--active {
  background: rgba(33,133,197,0.08);
  color: var(--blue);
  font-weight: 600;
}
.vt-sidebar__link--active::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(to bottom, var(--blue), var(--green));
}
.vt-sidebar__icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vt-sidebar__footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border-light);
  position: relative; z-index: 1;
}
.vt-sidebar__link--mobile-logout { display: none; }

/* Mobile sticky banner ad (hidden on desktop) */
.vt-mobile-ad { display: none; }

/* Sidebar banner ad (student only) */
.vt-sidebar-ad {
  padding: 12px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.vt-sidebar-ad__label {
  font-size: 0.65rem;
  color: #9ca3af;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vt-sidebar-ad__slot {
  display: flex;
  justify-content: center;
}
.vt-sidebar-ad__placeholder {
  width: 160px;
  height: calc(100vh - 390px);
  max-height: 480px;
  min-height: 200px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.8rem;
  border: 1px dashed #d1d5db;
}

/* ---- Main Content ---- */
.vt-main {
  flex: 1; margin-left: 260px; padding: 40px;
  position: relative;
  min-height: 100vh;
}

/* Subtle gradient orb in background */
.vt-main::before {
  content: ''; position: fixed;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33,133,197,0.04) 0%, rgba(108,192,74,0.03) 50%, transparent 70%);
  top: 20%; right: -100px;
  pointer-events: none; z-index: 0;
}

.vt-main > *:not(.vt-modal-overlay):not(.vt-sticky-header) { position: relative; z-index: 1; }

.vt-main__header { margin-bottom: 36px; }
.vt-main__title {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px;
}
.vt-main__subtitle {
  color: var(--fg-dim); font-size: 0.95rem;
  font-weight: 400;
}

/* Sticky header + tabs */
.vt-sticky-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  padding-bottom: 0;
  border-bottom: 1px solid var(--border-light);
}
.vt-sticky-header .vt-main__header { margin-bottom: 8px; }

/* Header row: title left, ad right */
.vt-header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.vt-header-row .vt-main__header { flex-shrink: 0; }

/* Inline header ad */
.vt-header-ad { text-align: center; min-width: 0; }
.vt-header-ad__label {
  font-size: 0.55rem; color: #9ca3af;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.vt-header-ad__slot { display: flex; justify-content: center; }
.vt-header-ad { min-width: 0; flex: 1; }
.vt-header-ad__placeholder {
  width: 100%; height: 90px;
  background: #f3f4f6; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; font-size: 0.75rem;
  border: 1px dashed #d1d5db;
}

/* Smaller ad on medium screens */
@media (max-width: 1200px) {
  .vt-header-ad__placeholder { height: 60px; }
}

/* ---- Event Grid ---- */
.vt-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

/* ---- Event Card (modern) ---- */
.vt-event-card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.vt-event-card:hover {
  box-shadow: 0 8px 30px rgba(33,133,197,0.1);
  transform: translateY(-4px);
  border-color: rgba(33,133,197,0.15);
}
.vt-event-card__image {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--blue-light), var(--green));
  background-size: cover; background-position: center;
  position: relative;
}
.vt-event-card__date {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 10px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--fg); letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.vt-event-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.vt-event-card__title {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 10px; color: var(--fg);
}
.vt-event-card__meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.vt-event-card__location {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.82rem; color: var(--fg-dim);
}
.vt-event-card__location svg { color: var(--blue); flex-shrink: 0; }
.vt-event-card__desc {
  font-size: 0.85rem; color: var(--fg-dim);
  line-height: 1.5; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.vt-event-card__btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---- Contract View ---- */
.vt-contract {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: all var(--transition);
}
.vt-contract:hover {
  box-shadow: var(--shadow);
  border-color: rgba(33,133,197,0.12);
  transform: translateX(4px);
}
.vt-contract__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; flex-wrap: wrap; gap: 12px;
}
.vt-contract__title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.vt-contract__meta { color: var(--fg-dim); font-size: 0.85rem; }

/* ---- Table ---- */
.vt-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.vt-table th {
  background: var(--bg-card);
  padding: 14px 18px; text-align: left;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border-light);
}
.vt-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem; color: var(--fg);
}
.vt-table tr:last-child td { border-bottom: none; }
.vt-table tbody tr {
  transition: background var(--transition);
}
.vt-table tbody tr:hover td { background: rgba(33,133,197,0.02); }
.vt-table tr.student-under16 td {
  background: rgba(251,191,36,0.06);
  border-left: 3px solid #fbbf24;
}

/* ---- Auth Forms ---- */
.vt-auth {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg); padding: 40px 24px;
}
.vt-auth__card {
  padding: 40px; border-radius: var(--radius-xl);
  width: 100%; max-width: 440px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px) saturate(1.3);
  -webkit-backdrop-filter: blur(8px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.vt-auth__title {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; text-align: center; margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.vt-auth__subtitle { text-align: center; color: var(--fg-dim); margin-bottom: 32px; font-size: 0.9rem; }
.vt-auth__footer { text-align: center; margin-top: 24px; font-size: 0.85rem; color: var(--fg-dim); }

/* ---- Organisation Login ---- */
.vt-auth--org { position: relative; overflow: hidden; background: #ffffff; }
#org-dotted-surface { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
#org-dotted-surface canvas { display: block; width: 100% !important; height: 100% !important; }
@media (max-width: 768px) {
  #org-dotted-surface { top: -18vh; bottom: 0; height: auto; }
}
.org-card {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(108, 192, 74, 0.12); border-radius: 24px;
  box-shadow: 0 4px 24px rgba(108, 192, 74, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.org-card-icon { width: 64px; height: 64px; margin: 0 auto 16px; color: #6cc04a; animation: icon-float 3s ease-in-out infinite; }
.org-card-icon svg { width: 100%; height: 100%; }
.org-title { color: #2d3a2e; }
.org-btn {
  background: linear-gradient(135deg, #6cc04a, #4da832);
  color: #fff; border: none; font-weight: 600; transition: all 0.3s ease;
}
.org-btn:hover { background: linear-gradient(135deg, #5aab3d, #3f8f28); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108, 192, 74, 0.35); }
.org-btn:disabled { opacity: 0.6; transform: none; box-shadow: none; }
.vt-auth--org .vt-auth__footer a { color: #6cc04a; }
.vt-auth--org .vt-auth__footer a:hover { color: #4da832; }
.vt-auth--org .vt-input { background: rgba(255,255,255,0.7); border: 2px solid rgba(108,192,74,0.25); }
.vt-auth--org .vt-input:focus { border-color: #6cc04a; background: rgba(255,255,255,0.85); box-shadow: 0 0 0 3px rgba(108,192,74,0.15); }

/* ---- Student Login ---- */
.vt-auth--student { position: relative; overflow: hidden; background: #ffffff; }
#student-shader-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
#student-shader-bg canvas { display: block; width: 100% !important; height: 100% !important; }
.student-card {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px) saturate(1.2); -webkit-backdrop-filter: blur(6px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 24px;
  box-shadow: 0 4px 24px rgba(33, 133, 197, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.student-card-icon { width: 64px; height: 64px; margin: 0 auto 16px; color: #2185c5; animation: icon-float 3s ease-in-out infinite; }
.student-card-icon svg { width: 100%; height: 100%; }
.student-title { color: #152352; }
.student-btn {
  background: linear-gradient(135deg, #2185c5, #1a6fa3);
  color: #fff; border: none; font-weight: 600; transition: all 0.3s ease;
}
.student-btn:hover { background: linear-gradient(135deg, #1a6fa3, #155a85); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(33, 133, 197, 0.35); }
.student-btn:disabled { opacity: 0.6; transform: none; box-shadow: none; }
.vt-auth--student .vt-auth__footer a { color: #2185c5; }
.vt-auth--student .vt-auth__footer a:hover { color: #1a6fa3; }
.vt-auth--student .vt-input { background: rgba(255,255,255,0.7); border: 2px solid rgba(33,133,197,0.25); }
.vt-auth--student .vt-input:focus { border-color: #2185c5; background: rgba(255,255,255,0.85); box-shadow: 0 0 0 3px rgba(33,133,197,0.15); }

/* ---- Individual Login ---- */
.vt-auth--individual { position: relative; overflow: hidden; background: #ffffff; }
#individual-shader-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
#individual-shader-bg canvas { display: block; width: 100% !important; height: 100% !important; }
.individual-card {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px) saturate(1.1); -webkit-backdrop-filter: blur(2px) saturate(1.1);
  border: 1px solid rgba(45, 212, 168, 0.18); border-radius: 24px;
  box-shadow: 0 4px 24px rgba(45, 212, 168, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  .individual-card {
    background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border: 1px solid rgba(45, 212, 168, 0.22);
    box-shadow: none;
  }
}
.individual-card-icon { width: 64px; height: 64px; margin: 0 auto 16px; color: #2dd4a8; animation: icon-float 3s ease-in-out infinite; }
.individual-card-icon svg { width: 100%; height: 100%; }
.individual-title { color: #1a3a32; }
.individual-btn {
  background: linear-gradient(135deg, #2dd4a8, #25b893);
  color: #fff; border: none; font-weight: 600; transition: all 0.3s ease;
}
.individual-btn:hover { background: linear-gradient(135deg, #25b893, #1f9f7e); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(45, 212, 168, 0.35); }
.individual-btn:disabled { opacity: 0.6; transform: none; box-shadow: none; }
.vt-auth--individual .vt-auth__footer a { color: #2dd4a8; }
.vt-auth--individual .vt-auth__footer a:hover { color: #25b893; }
.vt-auth--individual .vt-input { background: rgba(255,255,255,0.7); border: 2px solid rgba(45,212,168,0.25); }
.vt-auth--individual .vt-input:focus { border-color: #2dd4a8; background: rgba(255,255,255,0.85); box-shadow: 0 0 0 3px rgba(45,212,168,0.15); }

/* ---- Checkbox Grid & Toggle ---- */
.vt-checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vt-checkbox-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 0.85rem; transition: all var(--transition); user-select: none;
}
.vt-checkbox-item:hover { border-color: var(--blue); background: rgba(33,133,197,0.03); }
.vt-checkbox-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.vt-checkbox-item input[type="checkbox"]:checked + span { font-weight: 600; color: var(--fg); }
.vt-toggle-group { display: flex; gap: 0; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); }
.vt-toggle-btn {
  flex: 1; padding: 10px 20px; border: none; background: var(--bg-card);
  font-size: 0.85rem; font-weight: 500; color: var(--fg-dim);
  cursor: pointer; transition: all var(--transition); min-height: 42px;
}
.vt-toggle-btn:first-child { border-right: 1px solid var(--border); }
.vt-toggle-btn--active { background: var(--blue); color: #fff; font-weight: 600; }
.vt-toggle-btn:hover:not(.vt-toggle-btn--active) { background: var(--bg); color: var(--fg); }

/* ---- Google Sign-In ---- */
.vt-google-divider { display: flex; align-items: center; margin: 16px 0 12px; gap: 12px; }
.vt-google-divider::before, .vt-google-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.vt-google-divider span { font-size: 0.8rem; color: var(--fg-dimmer); text-transform: lowercase; }
.vt-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.7);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--fg);
  cursor: pointer; transition: all var(--transition);
}
.vt-google-btn:hover { background: rgba(255,255,255,0.9); box-shadow: var(--shadow-sm); border-color: rgba(0,0,0,0.1); }
.vt-google-btn svg { flex-shrink: 0; }

/* ---- Welcome Section (Parent dashboard) ---- */
.vt-welcome-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.vt-welcome-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(33,133,197,0.12);
}
.vt-welcome-card__title {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em;
}
.vt-welcome-card__content {
  font-size: 0.9rem; color: var(--fg-dim); line-height: 1.7;
}

/* ---- Step Indicator ---- */
.vt-steps { counter-reset: step; }
.vt-step {
  position: relative;
  padding: 0 0 20px 48px;
  font-size: 0.9rem; color: var(--fg-dim);
  line-height: 1.6;
}
.vt-step:last-child { padding-bottom: 0; }
.vt-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.vt-step::after {
  content: ''; position: absolute; left: 15px; top: 36px; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--blue), var(--green));
  opacity: 0.2;
}
.vt-step:last-child::after { display: none; }

/* ---- Filter Bar ---- */
.vt-filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 24px; padding: 16px 20px;
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.vt-filters__label {
  font-weight: 600; font-size: 0.8rem; color: var(--fg-dim);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.vt-filters .vt-input {
  width: auto; min-width: 150px; padding: 8px 14px;
  font-size: 0.85rem; min-height: 38px;
  border-radius: 8px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes org-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Page entrance animation — strong ease-out, 50ms stagger (Emil Kowalski) */
.vt-animate-in { animation: fadeInUp 360ms var(--ease-out) backwards; }
.vt-animate-in:nth-child(1) { animation-delay: 0ms; }
.vt-animate-in:nth-child(2) { animation-delay: 50ms; }
.vt-animate-in:nth-child(3) { animation-delay: 100ms; }
.vt-animate-in:nth-child(4) { animation-delay: 150ms; }
.vt-animate-in:nth-child(5) { animation-delay: 200ms; }
.vt-animate-in:nth-child(6) { animation-delay: 250ms; }

/* Reduced motion: keep fade, drop the movement */
@media (prefers-reduced-motion: reduce) {
  .vt-animate-in { animation: fadeIn 200ms ease backwards; }
  .vt-btn, .vt-btn--primary, .vt-btn--secondary, .vt-btn--accent, .vt-btn--outline {
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease !important;
  }
  .vt-btn:hover, .vt-btn:active,
  .vt-btn--primary:hover, .vt-btn--primary:active,
  .vt-btn--secondary:hover, .vt-btn--secondary:active,
  .vt-btn--accent:hover, .vt-btn--accent:active,
  .vt-btn--outline:hover, .vt-btn--outline:active {
    transform: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .vt-dashboard { flex-direction: column; padding-bottom: 72px; }

  /* Sidebar → top bar + bottom nav */
  .vt-sidebar {
    width: 100%; height: auto; position: relative;
    flex-direction: column; flex-wrap: nowrap;
    border-right: none; border-bottom: 1px solid var(--border-light);
    overflow-y: visible;
  }
  .vt-sidebar::before { display: none; }

  .vt-sidebar__header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
  }
  .vt-sidebar__logo { width: 36px; height: 36px; font-size: 0.85rem; border-radius: 10px; }
  .vt-sidebar__name { font-size: 0.88rem; }
  .vt-sidebar__role { font-size: 0.65rem; }

  /* Nav → fixed bottom tab bar */
  .vt-sidebar__nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    flex-direction: row; justify-content: space-around;
    padding: 0; gap: 0; z-index: 200;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  }
  .vt-sidebar__link {
    flex-direction: column; gap: 3px;
    padding: 8px 4px; font-size: 0.68rem;
    justify-content: center; align-items: center;
    min-height: 56px; border-radius: 0; flex: 1;
  }
  .vt-sidebar__link--active { background: transparent; }
  .vt-sidebar__link--active::before { display: none; }
  .vt-sidebar__icon { width: 22px; height: 22px; }

  /* Hide sidebar extras on mobile, show mobile logout in bottom nav */
  .vt-sidebar__footer { display: none; }
  .vt-sidebar-ad { display: none; }
  .vt-sidebar__link--mobile-logout { display: flex; color: #ef4444; }

  /* Mobile sticky banner above bottom nav */
  .vt-mobile-ad {
    display: block;
    position: fixed; bottom: 56px; left: 0; right: 0;
    z-index: 199;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    padding: 4px 0;
    text-align: center;
  }
  .vt-mobile-ad__label {
    font-size: 0.55rem; color: #9ca3af;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 2px;
  }
  .vt-mobile-ad__slot { display: flex; justify-content: center; }
  .vt-mobile-ad__placeholder {
    width: 320px; max-width: 100%; height: 50px;
    background: #f3f4f6; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af; font-size: 0.7rem;
    border: 1px dashed #d1d5db;
  }

  /* Adjust padding for mobile banner + bottom nav */
  .vt-dashboard { padding-bottom: 130px; }

  /* Main content */
  .vt-main { margin-left: 0; padding: 20px 16px; min-height: auto; }
  .vt-main::before { display: none; }
  .vt-main__header { margin-bottom: 8px; }
  .vt-main__title { font-size: 1.3rem; }
  .vt-main__subtitle { font-size: 0.85rem; }

  /* Sticky header + tabs block on mobile */
  .vt-sticky-header {
    margin: 0 -16px; padding: 16px 16px 0;
  }
  .vt-sticky-header .vt-tabs { margin-bottom: 0; }
  .vt-sticky-header .vt-tab__header { border-bottom: none; }

  /* Header ad: smaller on mobile, stacks above title */
  .vt-header-row { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .vt-header-ad__placeholder { width: 100%; max-width: 320px; height: 50px; margin: 0 auto; }

  /* Cards & grid */
  .vt-events-grid { grid-template-columns: 1fr; gap: 14px; }
  .vt-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vt-stat { padding: 16px; }
  .vt-stat__value { font-size: 1.4rem; }

  /* Contracts */
  .vt-contract { padding: 16px; margin-bottom: 12px; }
  .vt-contract:hover { transform: none; }
  .vt-contract__header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vt-contract__title { font-size: 0.88rem; }
  .vt-contract__meta { font-size: 0.8rem; }

  /* Tables → horizontal scroll */
  .vt-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vt-table th, .vt-table td { padding: 10px 12px; font-size: 0.8rem; white-space: nowrap; }

  /* Tabs */
  .vt-tab__header { gap: 0; }
  .vt-tab__btn { padding: 10px 14px; font-size: 0.82rem; }
  .vt-tab__panel { padding: 16px 0; }

  /* Modals — full width bottom sheet on mobile */
  .vt-modal { max-width: 100%; border-radius: 16px 16px 0 0; }
  .vt-modal__header { padding: 16px; }
  .vt-modal__header h3 { font-size: 1rem; }
  .vt-modal__body { padding: 16px; }
  .vt-modal__footer { padding: 12px 16px; }

  /* Filters */
  .vt-filters { flex-direction: column; align-items: stretch; padding: 12px; gap: 8px; }
  .vt-filters .vt-input { min-width: 0; width: 100%; }

  /* Buttons */
  .vt-btn { font-size: 0.82rem; padding: 10px 16px; }
  .vt-btn--sm { padding: 8px 12px; font-size: 0.78rem; }

  /* Auth pages */
  .vt-auth { padding: 24px 16px; }
  .vt-auth__card { padding: 28px 20px; }
  .vt-auth__title { font-size: 1.25rem; }

  /* Forms */
  .vt-form-group { margin-bottom: 14px; }
  .vt-input, .vt-select { font-size: 16px; } /* prevents iOS zoom on focus */

  /* Ad popup */
  .vt-ad-popup { margin: 16px; max-width: calc(100vw - 32px); }
  .vt-ad-placeholder div { width: 250px !important; height: 200px !important; }

  /* Checkbox grid */
  .vt-checkbox-grid { grid-template-columns: 1fr; }

  /* Profile form grid */
  #profile-form [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .vt-stats-grid { grid-template-columns: 1fr; }
  .vt-main { padding: 16px 12px; }
  .vt-main__title { font-size: 1.15rem; }
  .vt-sidebar__header { padding: 12px; }
  .vt-contract__header { gap: 6px; }
  .vt-auth__card { padding: 24px 16px; border-radius: var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Star Rating & Review Section ---- */
.vt-review-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
}
.vt-review-section__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.vt-star-rating {
  display: flex;
  gap: 4px;
}
.vt-star {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--border);
  transition: color 0.15s, transform 0.15s;
  padding: 0 2px;
  line-height: 1;
}
.vt-star:hover { transform: scale(1.15); }
.vt-star--active { color: #f59e0b; }

/* ---- Event Request Wizard ---- */
.vt-wizard {
  max-width: 560px;
  position: relative;
  overflow: hidden;
}
.vt-wizard__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.vt-wizard__bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.4s;
}
.vt-wizard__bar--active {
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.vt-wizard__bar--done {
  background: var(--teal);
}
.vt-wizard__step {
  display: none;
  animation: wizardFadeIn 0.35s ease;
}
.vt-wizard__step--active {
  display: block;
}
@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.vt-wizard__question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.vt-wizard__question-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.4rem;
}
.vt-wizard__nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.vt-wizard__nav .vt-btn { flex: 1; }

/* Slider */
.vt-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.vt-slider-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  min-width: 70px;
  text-align: center;
}
.vt-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  transition: background 0.2s;
}
.vt-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33, 133, 197, 0.3);
  transition: transform 0.15s;
}
.vt-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Counter +/- */
.vt-counter {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.vt-counter__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vt-counter__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(33, 133, 197, 0.05);
}
.vt-counter__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  min-width: 60px;
  text-align: center;
}

/* Shift cards in wizard */
.vt-shift-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  animation: wizardFadeIn 0.25s ease;
}
.vt-shift-card__info {
  flex: 1;
}
.vt-shift-card__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.vt-shift-card__meta {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-top: 2px;
}
.vt-shift-card__remove {
  background: none;
  border: none;
  color: var(--fg-dimmer);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.vt-shift-card__remove:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

/* Preview card */
.vt-preview-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.vt-preview-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.vt-preview-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.vt-preview-card__desc {
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.5;
  margin: 16px 0;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
}

/* Contact fallback */
.vt-or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  color: var(--fg-dimmer);
  font-size: 0.85rem;
}
.vt-or-divider::before,
.vt-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---- Legacy Landing Styles (kept for /app SPA hero) ---- */
.vt-hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0d1642 0%, #1a237e 50%, #3949ab 100%);
  color: #fff; text-align: center; padding: 40px 24px; position: relative; overflow: hidden;
}
.vt-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,137,123,.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,107,107,.2) 0%, transparent 50%);
}

/* Hover helpers — replace inline onmouseover/onmouseout so the CSP can drop
   'unsafe-inline' from script-src. */
.vt-hover-lift:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,0.08); }
.vt-hover-bg:hover { background: var(--bg); }
.vt-hover-bg-light:hover { background: #f9fafb; }
