/* ── eZizz Events — Frontend Styles ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --ez-green:       #2ab391;
  --ez-green-light: #3fd1ac;
  --ez-green-dark:  #1c7a63;
  --ez-green-subtle:rgba(42,179,145,.14);
  --ez-dark:        #0d1214;
  --ez-surface:     #161d1f;
  --ez-surface-2:   #1e2729;
  --ez-border:      #283130;
  --ez-text:        #edf3f1;
  --ez-muted:       #8b9997;
  --ez-amber:       #d9a441;
  --ez-blue:        #4f9bd9;
  --ez-red:         #e5555c;
  --ez-radius:      10px;
  --ez-radius-lg:   16px;
  --ez-shadow:      0 8px 24px rgba(0,0,0,.4);
  --ez-font-display: 'Sora', 'Inter', sans-serif;
  --ez-font-body:    'Inter', -apple-system, sans-serif;
  --ez-font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.ezizz-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--ez-radius); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: background .18s, border-color .18s, color .18s, transform .1s;
  white-space: nowrap;
}
.ezizz-btn:active { transform: translateY(1px); }
.ezizz-btn:focus-visible { outline: 2px solid var(--ez-green); outline-offset: 2px; }

.ezizz-btn-primary       { background: var(--ez-green); color: #06120e; }
.ezizz-btn-primary:hover { background: var(--ez-green-light); color: #06120e; }

.ezizz-btn-secondary     { background: var(--ez-surface-2); color: var(--ez-text); border-color: var(--ez-border); }
.ezizz-btn-secondary:hover { border-color: var(--ez-green); color: var(--ez-green-light); }

.ezizz-btn-ghost         { background: transparent; color: var(--ez-text); border-color: var(--ez-border); }
.ezizz-btn-ghost:hover   { border-color: var(--ez-green); color: var(--ez-green-light); }

.ezizz-btn-danger        { background: transparent; color: var(--ez-red); border-color: rgba(229,85,92,.3); }
.ezizz-btn-danger:hover  { background: rgba(229,85,92,.1); }

.ezizz-btn-sm            { padding: 6px 12px; font-size: 12px; }
.ezizz-btn-lg            { padding: 14px 28px; font-size: 16px; }

/* ── Inputs ───────────────────────────────────────────────────────────────── */
.ezizz-input, .ezizz-gate-input {
  width: 100%; padding: 10px 14px; background: var(--ez-surface-2);
  border: 1px solid var(--ez-border); border-radius: var(--ez-radius);
  color: var(--ez-text); font-size: 14px; box-sizing: border-box;
  transition: border-color .18s, box-shadow .18s;
}
.ezizz-input::placeholder, .ezizz-gate-input::placeholder { color: var(--ez-muted); }
.ezizz-input:focus, .ezizz-gate-input:focus {
  outline: none; border-color: var(--ez-green);
  box-shadow: 0 0 0 3px var(--ez-green-subtle);
}
.ezizz-textarea      { resize: vertical; min-height: 100px; line-height: 1.5; }
.ezizz-select        { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238b9997' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.ezizz-search-input  { max-width: 280px; }

/* ── Badges ───────────────────────────────────────────────────────────────── */
.ezizz-badge         { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.badge-green         { background: var(--ez-green-subtle); color: var(--ez-green-light); }
.badge-amber         { background: rgba(217,164,65,.15); color: var(--ez-amber); }
.badge-blue          { background: rgba(79,155,217,.15); color: var(--ez-blue); }

/* ── Flash messages ───────────────────────────────────────────────────────── */
.ezizz-flash         { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--ez-radius); margin-bottom: 20px; font-size: 14px; border-left: 3px solid transparent; }
.ezizz-flash-success { background: var(--ez-green-subtle); color: var(--ez-green-light); border-color: var(--ez-green); }
.ezizz-flash-error   { background: rgba(229,85,92,.12); color: #ff9a9e; border-color: var(--ez-red); }

/* ══════════════════════════════════════════════════════════════════════════
   DASHBOARD — redesigned around a boarding-pass / ticket-stub motif.
   Every event you host is, functionally, an admission pass — so the list
   treats each one as a torn ticket, and the create-flow nav reads like a
   boarding sequence: gate 1, gate 2, gate 3…
   ══════════════════════════════════════════════════════════════════════════ */
.ezizz-dashboard     { max-width: 880px; margin: 0 auto; font-family: var(--ez-font-body); }

/* ── Header — perforated edge instead of a flat rule ─────────────────────── */
.ezizz-dash-header    { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; padding-bottom: 24px; flex-wrap: wrap; }
.ezizz-dash-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background-image: repeating-linear-gradient(to right, var(--ez-border) 0 6px, transparent 6px 13px);
}
.ezizz-dash-eyebrow   { display: block; font-family: var(--ez-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ez-green-light); margin-bottom: 10px; }
.ezizz-dash-header h2 { font-family: var(--ez-font-display); font-size: 29px; font-weight: 700; letter-spacing: -.02em; color: var(--ez-text); margin: 0 0 6px; }
.ezizz-dash-subtitle  { color: var(--ez-muted); font-size: 14px; margin: 0; }
.ezizz-dash-back      { display: inline-flex; align-items: center; gap: 6px; }
.ezizz-dash-back svg  { width: 15px; height: 15px; }

/* ── Stat strip — quiet ambient glow behind each icon ─────────────────────── */
.ezizz-dash-stats     { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.ezizz-dash-stat      { position: relative; overflow: hidden; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); padding: 18px 20px; transition: border-color .18s; }
.ezizz-dash-stat:hover { border-color: var(--ez-border-strong, #35403f); }
.ezizz-dash-stat::before {
  content: ''; position: absolute; top: -34px; right: -34px; width: 100px; height: 100px;
  background: radial-gradient(circle, var(--ez-green-subtle) 0%, transparent 70%); pointer-events: none;
}
.ezizz-dash-stat-icon { position: relative; width: 32px; height: 32px; border-radius: 9px; background: var(--ez-green-subtle); color: var(--ez-green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ezizz-dash-stat-icon svg { width: 16px; height: 16px; }
.ezizz-dash-stat-value { position: relative; display: block; font-family: var(--ez-font-mono); font-size: 27px; font-weight: 600; color: var(--ez-text); line-height: 1; }
.ezizz-dash-stat-label { position: relative; display: block; font-size: 12px; color: var(--ez-muted); margin-top: 7px; }

/* ── Event list — each row is a torn admission ticket ─────────────────────── */
.ezizz-dash-list      { display: flex; flex-direction: column; gap: 12px; }
.ezizz-dash-row       {
  position: relative; display: flex; align-items: stretch; gap: 0; overflow: hidden;
  background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ezizz-dash-row:hover { border-color: var(--ez-green); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(42,179,145,.14); }

.ezizz-dash-row-date  {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 76px; flex-shrink: 0; background: var(--ez-surface-2); font-family: var(--ez-font-mono);
  border-right: 2px dashed var(--ez-border);
}
/* punched notches at the perforation, top and bottom */
.ezizz-dash-row-date::before,
.ezizz-dash-row-date::after {
  content: ''; position: absolute; right: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ez-dark); border: 1px solid var(--ez-border);
}
.ezizz-dash-row-date::before { top: -8px; }
.ezizz-dash-row-date::after  { bottom: -8px; }
.ezizz-dash-day       { font-size: 20px; font-weight: 600; color: var(--ez-text); line-height: 1; }
.ezizz-dash-mon       { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--ez-green-light); text-transform: uppercase; margin-top: 4px; }

.ezizz-dash-row-main  { flex: 1; min-width: 0; padding: 14px 18px; }
.ezizz-dash-row-title { display: block; font-weight: 600; font-size: 15px; color: var(--ez-text); text-decoration: none; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ezizz-dash-row-title:hover { color: var(--ez-green-light); }
.ezizz-dash-row-meta  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ezizz-dash-row-rsvp  { display: inline-flex; align-items: center; gap: 5px; font-family: var(--ez-font-mono); font-size: 12px; color: var(--ez-muted); letter-spacing: .02em; }
.ezizz-dash-row-rsvp svg { width: 13px; height: 13px; }

.ezizz-dash-row-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 0 14px; }
.ezizz-dash-icon-btn  { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--ez-border); background: transparent; color: var(--ez-muted); cursor: pointer; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.ezizz-dash-icon-btn svg { width: 15px; height: 15px; }
.ezizz-dash-icon-btn:hover { border-color: var(--ez-green); color: var(--ez-green-light); }
.ezizz-dash-icon-btn.is-danger:hover { border-color: var(--ez-red); color: var(--ez-red); background: rgba(229,85,92,.08); }

/* ── Empty states ─────────────────────────────────────────────────────────── */
.ezizz-empty-state   { text-align: center; padding: 60px 20px; color: var(--ez-muted); }
.ezizz-empty-state h3 { color: var(--ez-text); margin: 0 0 6px; font-size: 16px; }
.ezizz-empty-state p { margin-bottom: 16px; }

.ezizz-dash-empty     { text-align: center; padding: 72px 24px; background: var(--ez-surface); border: 1px dashed var(--ez-border); border-radius: var(--ez-radius-lg); }
.ezizz-dash-empty-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ez-green-subtle); color: var(--ez-green-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.ezizz-dash-empty-icon svg { width: 24px; height: 24px; }
.ezizz-dash-empty h3 { font-family: var(--ez-font-display); font-size: 18px; color: var(--ez-text); margin: 0 0 6px; }
.ezizz-dash-empty p  { color: var(--ez-muted); font-size: 14px; margin: 0; }

/* ── Create/edit form — nav reads as a boarding sequence ──────────────────── */
.ezizz-dash-form-layout { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }

.ezizz-dash-form-nav  { position: sticky; top: 24px; display: flex; flex-direction: column; }
.ezizz-dash-form-nav::before {
  content: ''; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 1px; background: var(--ez-border);
}
.ezizz-dash-form-nav a {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 11px 12px 11px 28px; color: var(--ez-muted); text-decoration: none;
  font-size: 13px; font-weight: 500; transition: color .15s;
}
.ezizz-dash-form-nav a::after {
  content: ''; position: absolute; left: 5px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--ez-surface-2); border: 2px solid var(--ez-border);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.ezizz-dash-form-nav a svg { display: none; }
.ezizz-dash-form-nav a:hover { color: var(--ez-text); }
.ezizz-dash-form-nav a.is-active { color: var(--ez-green-light); font-weight: 600; }
.ezizz-dash-form-nav a.is-active::after { background: var(--ez-green); border-color: var(--ez-green); box-shadow: 0 0 0 4px var(--ez-green-subtle); }

.ezizz-event-form    { max-width: none; display: flex; flex-direction: column; gap: 16px; }
.ezizz-form-section  { scroll-margin-top: 24px; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); padding: 26px; margin-bottom: 0; }
.ezizz-form-section h3 { font-family: var(--ez-font-display); margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--ez-border); font-size: 16px; font-weight: 700; color: var(--ez-text); display: flex; align-items: center; gap: 10px; }
.ezizz-form-section h3 svg { width: 18px; height: 18px; color: var(--ez-green); flex-shrink: 0; }
.ezizz-field         { margin-bottom: 16px; }
.ezizz-field:last-child { margin-bottom: 0; }
.ezizz-field label   { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--ez-muted); text-transform: uppercase; letter-spacing: .4px; }
.ezizz-field-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ezizz-field-inline  { display: flex; align-items: center; justify-content: space-between; }

.ezizz-dash-form-footer { position: sticky; bottom: 0; margin-top: 4px; padding: 16px 20px; background: rgba(13,18,20,.9); backdrop-filter: blur(8px); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); display: flex; gap: 12px; align-items: center; z-index: 5; }
.ezizz-form-actions  { display: flex; gap: 12px; align-items: center; }

.ezizz-current-image { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--ez-muted); }
.ezizz-current-image img { width: 60px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid var(--ez-border); }

/* ── Visibility radio cards ───────────────────────────────────────────────── */
.ezizz-radio-group   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ezizz-radio-card    { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1.5px solid var(--ez-border); border-radius: var(--ez-radius); cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s; }
.ezizz-radio-card:hover    { border-color: var(--ez-muted); }
.ezizz-radio-card.selected { border-color: var(--ez-green); background: var(--ez-green-subtle); box-shadow: 0 0 0 1px var(--ez-green); }
.ezizz-radio-card.selected::after {
  content: '✓'; position: absolute; top: -8px; right: -8px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--ez-green); color: #06120e; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--ez-surface);
}
.ezizz-radio-card input    { position: absolute; opacity: 0; }
.ezizz-radio-icon    { width: 30px; height: 30px; border-radius: 8px; background: var(--ez-surface-2); color: var(--ez-muted); display: flex; align-items: center; justify-content: center; transition: background .18s, color .18s; }
.ezizz-radio-icon svg { width: 15px; height: 15px; }
.ezizz-radio-card.selected .ezizz-radio-icon { background: rgba(42,179,145,.2); color: var(--ez-green-light); }
.ezizz-radio-title   { display: block; font-size: 13px; font-weight: 700; color: var(--ez-text); }
.ezizz-radio-desc    { display: block; font-size: 11px; color: var(--ez-muted); line-height: 1.4; }

/* ── Toggle switch ────────────────────────────────────────────────────────── */
.ezizz-toggle        { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.ezizz-toggle input  { opacity: 0; width: 0; height: 0; }
.ezizz-toggle-slider { position: absolute; inset: 0; background: var(--ez-border); border-radius: 12px; transition: background .2s; cursor: pointer; }
.ezizz-toggle-slider::before { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
.ezizz-toggle input:checked + .ezizz-toggle-slider { background: var(--ez-green); }
.ezizz-toggle input:checked + .ezizz-toggle-slider::before { transform: translateX(18px); }
.ezizz-toggle input:focus-visible + .ezizz-toggle-slider { outline: 2px solid var(--ez-green); outline-offset: 2px; }

/* ── Dashboard responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ezizz-dash-form-layout { grid-template-columns: 1fr; }
  .ezizz-dash-form-nav    { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .ezizz-dash-form-nav::before { display: none; }
  .ezizz-dash-form-nav a  { white-space: nowrap; padding-left: 12px; }
  .ezizz-dash-form-nav a::after { display: none; }
  .ezizz-dash-form-nav a svg { display: inline-flex; width: 16px; height: 16px; }
}
@media (max-width: 640px) {
  .ezizz-dash-stats  { grid-template-columns: 1fr; }
  .ezizz-dash-row    { flex-wrap: wrap; }
  .ezizz-dash-row-date { width: 100%; flex-direction: row; gap: 6px; padding: 8px 0; border-right: none; border-bottom: 2px dashed var(--ez-border); }
  .ezizz-dash-row-date::before,
  .ezizz-dash-row-date::after { right: auto; }
  .ezizz-dash-row-date::before { left: -8px; top: 50%; transform: translateY(-50%); }
  .ezizz-dash-row-date::after  { right: -8px; left: auto; top: 50%; transform: translateY(-50%); bottom: auto; }
  .ezizz-dash-row-actions { width: 100%; justify-content: flex-end; padding: 10px 14px 14px; }
  .ezizz-dash-header { align-items: flex-start; }
}

/* ── Events listing page (Page Template) ─────────────────────────────────── */
.ezizz-explore-page   { max-width: 1100px; margin: 0 auto; padding: 24px 20px 80px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.ezizz-explore-hero   { margin-bottom: 28px; }
.ezizz-explore-title  { font-family: var(--ez-font-display); font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; color: var(--ez-text); margin: 0 0 12px; line-height: 1.15; }
.ezizz-explore-title::selection { background: var(--ez-green-subtle); }
.ezizz-explore-intro  { color: var(--ez-muted); font-size: 15px; line-height: 1.6; max-width: 640px; margin-bottom: 20px; }
.ezizz-explore-intro p { margin: 0 0 10px; }
.ezizz-explore-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Search / filter bar ──────────────────────────────────────────────────── */
.ezizz-explore-searchbar { margin-bottom: 32px; }
.ezizz-searchbar-row  { display: flex; gap: 10px; flex-wrap: wrap; }
.ezizz-search-wrap    { position: relative; flex: 1; min-width: 220px; }
.ezizz-search-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ez-muted); pointer-events: none; }
.ezizz-search-wrap .ezizz-search-input { padding-left: 38px; width: 100%; max-width: none; }
.ezizz-searchbar-row .ezizz-select { width: auto; flex-shrink: 0; }

.ezizz-filter-panel   { display: none; gap: 10px; margin-top: 10px; padding: 14px; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius); flex-wrap: wrap; align-items: center; }
.ezizz-filter-panel.is-open { display: flex; }

/* ── Section shell used by every section below the search bar ────────────── */
.ezizz-explore-section { margin-bottom: 40px; }
.ezizz-explore-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ezizz-explore-section-head h2 { font-family: var(--ez-font-display); font-size: 19px; font-weight: 700; color: var(--ez-text); margin: 0; }
.ezizz-explore-viewall { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ez-green-light); text-decoration: none; white-space: nowrap; }
.ezizz-explore-viewall svg { width: 14px; height: 14px; }
.ezizz-explore-viewall:hover { color: var(--ez-green); }

/* ── Category strip ───────────────────────────────────────────────────────── */
.ezizz-category-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.ezizz-category-pill  { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: 999px; color: var(--ez-text); text-decoration: none; font-size: 13px; font-weight: 600; transition: border-color .15s, color .15s, background .15s; }
.ezizz-category-pill:hover { border-color: var(--ez-green); color: var(--ez-green-light); background: var(--ez-green-subtle); }
.ezizz-category-pill-icon { display: inline-flex; width: 16px; height: 16px; color: var(--ez-green-light); }
.ezizz-category-pill-icon svg { width: 100%; height: 100%; }
.ezizz-category-pill-count { margin-left: 2px; color: var(--ez-muted); font-weight: 500; font-size: 12px; }

/* ── Category modal ───────────────────────────────────────────────────────── */
.ezizz-modal          { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.ezizz-modal.is-open  { display: flex; }
.ezizz-modal-backdrop { position: absolute; inset: 0; background: rgba(4,7,8,.72); backdrop-filter: blur(2px); }
.ezizz-modal-panel    { position: relative; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); max-width: 640px; width: 100%; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--ez-shadow); }
.ezizz-modal-header   { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--ez-border); }
.ezizz-modal-header h3 { font-family: var(--ez-font-display); font-size: 16px; margin: 0; color: var(--ez-text); }
.ezizz-modal-close    { background: none; border: none; color: var(--ez-muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
.ezizz-modal-close:hover { color: var(--ez-text); }
.ezizz-modal-body     { padding: 20px 22px; overflow-y: auto; }
.ezizz-category-grid  { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Carousel ─────────────────────────────────────────────────────────────── */
.ezizz-carousel       { position: relative; display: flex; align-items: center; gap: 8px; }
.ezizz-carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; padding: 4px 2px 12px; flex: 1; scrollbar-width: thin; scrollbar-color: var(--ez-border) transparent; }
.ezizz-carousel-track::-webkit-scrollbar { height: 6px; }
.ezizz-carousel-track::-webkit-scrollbar-thumb { background: var(--ez-border); border-radius: 3px; }
.ezizz-carousel-item  { flex: 0 0 280px; scroll-snap-align: start; }
.ezizz-carousel-item .ezizz-event-card { height: 100%; }
.ezizz-carousel-btn   { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ez-surface); border: 1px solid var(--ez-border); color: var(--ez-text); cursor: pointer; transition: border-color .15s, color .15s; }
.ezizz-carousel-btn svg { width: 16px; height: 16px; }
.ezizz-carousel-btn:hover { border-color: var(--ez-green); color: var(--ez-green-light); }

/* ── Featured badge ───────────────────────────────────────────────────────── */
.ezizz-badge-featured { background: var(--ez-green); color: #06120e; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 4px; }

/* ── Load more ────────────────────────────────────────────────────────────── */
.ezizz-load-more-wrap { display: flex; justify-content: center; margin-top: 28px; }

/* ── FAQ accordion (native <details>, no JS) ──────────────────────────────── */
.ezizz-faq-section    { max-width: 760px; }
.ezizz-faq-list       { display: flex; flex-direction: column; gap: 10px; }
.ezizz-faq-item       { background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius); padding: 4px 20px; }
.ezizz-faq-item summary { padding: 16px 0; font-size: 14px; font-weight: 600; color: var(--ez-text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.ezizz-faq-item summary::-webkit-details-marker { display: none; }
.ezizz-faq-item summary::after { content: '+'; font-size: 20px; color: var(--ez-muted); flex-shrink: 0; margin-left: 12px; transition: transform .15s; }
.ezizz-faq-item[open] summary::after { transform: rotate(45deg); }
.ezizz-faq-item p     { margin: 0 0 16px; color: var(--ez-muted); font-size: 13.5px; line-height: 1.6; }

@media (max-width: 640px) {
  .ezizz-searchbar-row { flex-direction: column; align-items: stretch; }
  .ezizz-searchbar-row .ezizz-select,
  .ezizz-searchbar-row button { width: 100%; }
  .ezizz-carousel-item { flex-basis: 240px; }
  .ezizz-explore-section-head { flex-wrap: wrap; }
}

/* ── Explore grid ─────────────────────────────────────────────────────────── */
.ezizz-explore       { max-width: 1100px; margin: 0 auto; }
.ezizz-explore-filters { margin-bottom: 28px; }
.ezizz-filter-form   { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ezizz-filter-form .ezizz-input { width: auto; }

.ezizz-events-grid        { display: grid; gap: 24px; }
.ezizz-grid-cols-3        { grid-template-columns: repeat(3, 1fr); }
.ezizz-grid-cols-2        { grid-template-columns: repeat(2, 1fr); }
.ezizz-grid-cols-1        { grid-template-columns: 1fr; }

/* ── Event card ───────────────────────────────────────────────────────────── */
.ezizz-event-card    { background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ezizz-event-card:hover { transform: translateY(-3px); box-shadow: var(--ez-shadow); border-color: var(--ez-green); }
.ezizz-event-card.is-past { opacity: .65; }

.ezizz-card-img-wrap { display: block; position: relative; }
.ezizz-card-img      { width: 100%; height: 180px; object-fit: cover; display: block; }
.ezizz-card-img-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, var(--ez-surface-2) 0%, var(--ez-green-dark) 100%); }
.ezizz-card-badge    { position: absolute; top: 10px; left: 10px; }
.ezizz-badge-past    { background: rgba(0,0,0,.7); color: var(--ez-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 4px; }

.ezizz-card-body     { padding: 16px; }
.ezizz-card-tags     { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ezizz-tag           { background: var(--ez-green-subtle); color: var(--ez-green-light); font-size: 11px; padding: 2px 8px; border-radius: 20px; font-weight: 600; }
.ezizz-card-title    { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.ezizz-card-title a  { color: var(--ez-text); text-decoration: none; }
.ezizz-card-title a:hover { color: var(--ez-green-light); }
.ezizz-card-meta     { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ez-muted); margin-bottom: 6px; }
.ezizz-meta-icon     { font-size: 13px; }
.ezizz-card-cta      { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ez-green-light); text-decoration: none; }
.ezizz-card-cta:hover { color: var(--ez-green); }

/* ── Capacity bar ─────────────────────────────────────────────────────────── */
.ezizz-rsvp-capacity,
.ezizz-card-capacity { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 12px; color: var(--ez-muted); }
.ezizz-capacity-bar  { flex: 1; height: 5px; background: var(--ez-surface-2); border-radius: 3px; overflow: hidden; min-width: 60px; }
.ezizz-capacity-fill { height: 100%; background: var(--ez-green); border-radius: 3px; transition: width .4s; }
.ezizz-capacity-text { white-space: nowrap; color: var(--ez-muted); }

/* ── RSVP widget ──────────────────────────────────────────────────────────── */
.ezizz-rsvp-widget   { background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); padding: 24px; margin: 24px 0; }
.ezizz-rsvp-form     { display: flex; flex-direction: column; gap: 12px; }
.ezizz-rsvp-status   { padding: 12px 16px; border-radius: var(--ez-radius); font-size: 14px; font-weight: 600; }
.ezizz-rsvp-status.confirmed { background: var(--ez-green-subtle); color: var(--ez-green-light); }
.ezizz-rsvp-status.waitlist  { background: rgba(217,164,65,.15); color: var(--ez-amber); }
.ezizz-cancel-rsvp   { margin-top: 10px; }
.ezizz-rsvp-closed   { color: var(--ez-muted); font-size: 14px; }
.ezizz-rsvp-message  { padding: 12px 16px; border-radius: var(--ez-radius); font-size: 14px; }

/* ── Gate pages ───────────────────────────────────────────────────────────── */
.ezizz-gate-wrap     { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 40px 20px; }
.ezizz-gate-card     { background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); padding: 40px; max-width: 440px; width: 100%; text-align: center; }
.ezizz-gate-icon     { font-size: 32px; margin-bottom: 16px; }
.ezizz-gate-icon .dashicons { font-size: 40px; width: 40px; height: 40px; color: var(--ez-green); }
.ezizz-gate-title    { font-size: 20px; font-weight: 700; color: var(--ez-text); margin: 0 0 8px; }
.ezizz-gate-subtitle { color: var(--ez-muted); font-size: 14px; margin-bottom: 24px; }
.ezizz-gate-error    { background: rgba(229,85,92,.12); color: #ff9a9e; padding: 10px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; }
.ezizz-gate-form     { display: flex; flex-direction: column; gap: 12px; }
.ezizz-gate-login-hint { font-size: 12px; color: var(--ez-muted); margin-top: 12px; }
.ezizz-gate-login-hint a { color: var(--ez-green-light); }

/* ── Onboarding gate (no startup yet) ─────────────────────────────────────── */
.ezizz-onboarding   { max-width: 520px; margin: 0 auto; text-align: center; padding: 56px 24px; }
.ezizz-onboarding-compact { max-width: 460px; padding: 40px 24px; }
.ezizz-onboarding-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ez-green-subtle); color: var(--ez-green-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.ezizz-onboarding-icon svg { width: 26px; height: 26px; }
.ezizz-onboarding h2 { font-family: var(--ez-font-display); font-size: 24px; font-weight: 700; color: var(--ez-text); margin: 0 0 10px; }
.ezizz-onboarding-subtitle { color: var(--ez-muted); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.ezizz-onboarding-benefits { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; text-align: left; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); padding: 20px 24px; }
.ezizz-onboarding-benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ez-text); }
.ezizz-onboarding-benefits svg { width: 17px; height: 17px; color: var(--ez-green-light); flex-shrink: 0; }
.ezizz-onboarding-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Startup picker ───────────────────────────────────────────────────────── */
.ezizz-startup-picker { max-width: 520px; margin: 0 auto; }
.ezizz-startup-picker h2 { font-family: var(--ez-font-display); font-size: 22px; margin: 4px 0 8px; color: var(--ez-text); }
.ezizz-startup-picker-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.ezizz-startup-picker-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius); text-decoration: none; color: var(--ez-text); transition: border-color .15s, transform .15s; }
.ezizz-startup-picker-item:hover { border-color: var(--ez-green); transform: translateX(2px); }
.ezizz-startup-picker-logo { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.ezizz-startup-picker-logo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--ez-green-subtle); color: var(--ez-green-light); font-family: var(--ez-font-display); font-weight: 700; }
.ezizz-startup-picker-name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }

/* ── Organizer block (create/edit form) ───────────────────────────────────── */
.ezizz-organizer-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--ez-surface-2); border: 1px solid var(--ez-border); border-radius: var(--ez-radius); }
.ezizz-organizer-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.ezizz-organizer-logo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--ez-green-subtle); color: var(--ez-green-light); font-family: var(--ez-font-display); font-weight: 700; font-size: 16px; }
.ezizz-organizer-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ezizz-organizer-info strong { font-size: 14px; color: var(--ez-text); }
.ezizz-organizer-sub { font-size: 12px; color: var(--ez-muted); }
.ezizz-organizer-change { font-size: 12px; font-weight: 600; color: var(--ez-green-light); text-decoration: none; }
.ezizz-organizer-change:hover { text-decoration: underline; }
.ezizz-organizer-note { font-size: 12px; color: var(--ez-muted); margin: 10px 0 0; }

/* ── Verified badge inline with a name ────────────────────────────────────── */
.ezizz-single-verified-badge { display: inline-flex; color: var(--ez-green-light); vertical-align: middle; margin-left: 4px; }
.ezizz-single-verified-badge svg { width: 15px; height: 15px; }

/* ── Related events list ──────────────────────────────────────────────────── */
.ezizz-single-related-list { display: flex; flex-direction: column; gap: 8px; }
.ezizz-single-related-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius); text-decoration: none; transition: border-color .15s; }
.ezizz-single-related-item:hover { border-color: var(--ez-green); }
.ezizz-single-related-date { font-family: var(--ez-font-mono); font-size: 12px; color: var(--ez-green-light); flex-shrink: 0; width: 44px; }
.ezizz-single-related-title { font-size: 14px; color: var(--ez-text); font-weight: 500; }

/* ── Single event page ────────────────────────────────────────────────────── */
.ezizz-single-event  { max-width: 1100px; margin: 0 auto; padding: 24px 20px 80px; font-family: var(--ez-font-body); }

.ezizz-breadcrumbs  { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ez-muted); margin-bottom: 18px; }
.ezizz-breadcrumbs a { color: var(--ez-muted); text-decoration: none; transition: color .15s; }
.ezizz-breadcrumbs a:hover { color: var(--ez-green-light); }
.ezizz-breadcrumb-sep { color: var(--ez-border); font-size: 12px; }
.ezizz-breadcrumb-current { color: var(--ez-text); font-weight: 600; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ezizz-single-back   { display: inline-flex; align-items: center; gap: 6px; color: var(--ez-muted); text-decoration: none; font-size: 13px; font-weight: 600; margin-bottom: 20px; transition: color .15s; }
.ezizz-single-back svg { width: 15px; height: 15px; }
.ezizz-single-back:hover { color: var(--ez-green-light); }

.ezizz-single-hero   { position: relative; border-radius: var(--ez-radius-lg); overflow: hidden; margin-bottom: 0; min-height: 320px; display: flex; align-items: flex-end; }
.ezizz-single-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ezizz-single-hero-placeholder { background: linear-gradient(135deg, var(--ez-surface-2) 0%, var(--ez-green-dark) 100%); }
.ezizz-single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,18,20,0) 30%, rgba(13,18,20,.92) 100%); }
.ezizz-single-past-badge { position: absolute; top: 16px; left: 16px; }
.ezizz-single-hero-content { position: relative; padding: 28px; width: 100%; }
.ezizz-single-cats   { margin-bottom: 12px; }
.ezizz-single-title  { font-family: var(--ez-font-display); font-size: clamp(24px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0; line-height: 1.15; }

/* Meta strip — sits astride the hero, like a boarding pass info bar */
.ezizz-single-meta-strip {
  position: relative; z-index: 2; margin: -28px 16px 0; padding: 20px 24px;
  background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg);
  box-shadow: var(--ez-shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.ezizz-single-meta-item { display: flex; align-items: flex-start; gap: 10px; }
.ezizz-single-meta-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--ez-green-subtle); color: var(--ez-green-light); display: flex; align-items: center; justify-content: center; }
.ezizz-single-meta-icon svg { width: 15px; height: 15px; }
.ezizz-single-meta-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ez-muted); margin-bottom: 3px; }
.ezizz-single-meta-value { display: block; font-size: 13px; font-weight: 600; color: var(--ez-text); }
.ezizz-single-meta-value a { color: var(--ez-green-light); text-decoration: none; }
.ezizz-single-meta-value a:hover { text-decoration: underline; }

/* Body layout */
.ezizz-single-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin-top: 36px; align-items: start; }
.ezizz-single-main   { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.ezizz-single-section h2 { font-family: var(--ez-font-display); font-size: 17px; font-weight: 700; color: var(--ez-text); margin: 0 0 14px; }
.ezizz-single-content { color: var(--ez-text); font-size: 15px; line-height: 1.7; }
.ezizz-single-content p { margin: 0 0 14px; }
.ezizz-single-content a { color: var(--ez-green-light); }

.ezizz-single-host   { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ez-text); }
.ezizz-single-host-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.ezizz-single-host-logo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--ez-green-subtle); color: var(--ez-green-light); font-family: var(--ez-font-display); font-weight: 700; font-size: 17px; }
.ezizz-single-host strong { display: block; font-size: 14px; }
.ezizz-single-host-sub { display: block; font-size: 12px; color: var(--ez-muted); margin-top: 2px; }
a.ezizz-single-host:hover .ezizz-single-host-sub { color: var(--ez-green-light); }

/* Sidebar — the RSVP widget wrapped as a ticket with a stub header */
.ezizz-single-sidebar { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.ezizz-single-ticket { background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); overflow: hidden; }
.ezizz-single-ticket-stub {
  position: relative; padding: 18px 20px; background: var(--ez-surface-2);
  border-bottom: 2px dashed var(--ez-border); font-family: var(--ez-font-mono);
  display: flex; flex-direction: column; gap: 2px;
}
.ezizz-single-ticket-stub::before,
.ezizz-single-ticket-stub::after {
  content: ''; position: absolute; left: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ez-dark); border: 1px solid var(--ez-border);
}
.ezizz-single-ticket-stub::before { top: -8px; }
.ezizz-single-ticket-stub::after  { bottom: -8px; }
.ezizz-single-ticket-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ez-green-light); }
.ezizz-single-ticket-date  { font-size: 17px; font-weight: 600; color: var(--ez-text); }
.ezizz-single-ticket-time  { font-size: 12px; color: var(--ez-muted); }
.ezizz-single-ticket-body  { padding: 20px; }
.ezizz-single-ticket-body .ezizz-rsvp-widget { background: none; border: none; padding: 0; margin: 0; }

.ezizz-single-gcal   { justify-content: center; width: 100%; }
.ezizz-single-gcal svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .ezizz-single-layout     { grid-template-columns: 1fr; }
  .ezizz-single-sidebar    { position: static; }
  .ezizz-single-meta-strip { grid-template-columns: repeat(2, 1fr); margin-left: 0; margin-right: 0; }
}
@media (max-width: 480px) {
  .ezizz-single-meta-strip { grid-template-columns: 1fr; margin: -20px 0 0; }
  .ezizz-single-hero       { min-height: 220px; }
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.ezizz-pagination    { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.ezizz-page-btn      { padding: 8px 14px; border: 1px solid var(--ez-border); border-radius: 6px; color: var(--ez-text); text-decoration: none; font-size: 14px; transition: border-color .15s, color .15s; }
.ezizz-page-btn:hover { border-color: var(--ez-green); color: var(--ez-green-light); }
.ezizz-page-btn.active { background: var(--ez-green); border-color: var(--ez-green); color: #06120e; font-weight: 600; }

/* ── Notice ───────────────────────────────────────────────────────────────── */
.ezizz-notice        { padding: 14px 18px; background: var(--ez-surface); border-left: 3px solid var(--ez-green); border-radius: 4px; font-size: 14px; color: var(--ez-muted); }
.ezizz-notice a      { color: var(--ez-green-light); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media ( max-width: 768px ) {
  .ezizz-grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .ezizz-radio-group { grid-template-columns: 1fr; }
  .ezizz-field-row   { grid-template-columns: 1fr; }
  .ezizz-table-header,
  .ezizz-table-row   { grid-template-columns: 2fr 1fr 80px; }
  .ezizz-table-header span:nth-child(4),
  .ezizz-table-row   span:nth-child(4),
  .ezizz-table-header span:nth-child(5),
  .ezizz-table-row   span:nth-child(5) { display: none; }
}
@media ( max-width: 480px ) {
  .ezizz-grid-cols-3,
  .ezizz-grid-cols-2 { grid-template-columns: 1fr; }
  .ezizz-filter-form { flex-direction: column; }
  .ezizz-filter-form .ezizz-input,
  .ezizz-search-input { max-width: 100%; width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
