/* ============================================================
   تكت زون / Zone Tickets — Design System
   Ported from design with brand colors #005e51 + #fedb5f
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors — user-specified */
  --tz-green-900: #003d33;
  --tz-green-800: #005e51;   /* PRIMARY */
  --tz-green-700: #0f6e58;
  --tz-green-600: #137f66;
  --tz-green-50:  #e8f2ee;

  --tz-yellow-500: #fedb5f;  /* SECONDARY */
  --tz-yellow-600: #e5b511;
  --tz-yellow-100: #fff4c2;

  --tz-cream:    #f7f5f0;
  --tz-cream-2:  #f2efe8;
  --tz-white:    #ffffff;
  --tz-ink-900:  #0e1f1a;
  --tz-ink-700:  #2c3e37;tz-phone-cc
  --tz-ink-500:  #5c6e66;
  --tz-ink-300:  #98a8a1;
  --tz-line:     #e2ded5;

  --tz-red:   #d14545;
  --tz-amber: #e5942a;

  --tz-r-sm: 6px;
  --tz-r-md: 10px;
  --tz-r-lg: 14px;
  --tz-r-xl: 18px;

  --tz-shadow-1: 0 1px 2px rgba(8,71,56,.04), 0 2px 8px rgba(8,71,56,.04);
  --tz-shadow-2: 0 2px 6px rgba(8,71,56,.06), 0 8px 24px rgba(8,71,56,.06);
  --tz-shadow-3: 0 8px 28px rgba(8,71,56,.12);

  --tz-font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --tz-font-en: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--tz-cream);
  font-family: var(--tz-font-ar);
  color: var(--tz-ink-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html[dir="ltr"], html[dir="ltr"] body { font-family: var(--tz-font-en); }
html[lang="en"] { direction: ltr; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Buttons ───────────────────────────────────────────── */
.tz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  transition: transform .08s, background .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap; border: 0; cursor: pointer;
}
.tz-btn:active { transform: translateY(1px); }
.tz-btn:disabled { opacity: .5; cursor: not-allowed; }
.tz-btn-primary { background: var(--tz-green-800); color: #fff; }
.tz-btn-primary:hover { background: var(--tz-green-700); }
.tz-btn-yellow  { background: var(--tz-yellow-500); color: var(--tz-ink-900); }
.tz-btn-yellow:hover { background: var(--tz-yellow-600); }
.tz-btn-ghost   { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.tz-btn-ghost:hover { background: rgba(255,255,255,.08); }
.tz-btn-outline { background: #fff; color: var(--tz-green-800); border: 1px solid var(--tz-green-800); }
.tz-btn-outline:hover { background: var(--tz-green-50); }
.tz-btn-block { width: 100%; }
.tz-btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.tz-btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }

/* ── Inputs ────────────────────────────────────────────── */
.tz-input, .tz-select, .tz-textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  background: #fff; border: 1px solid var(--tz-line); font-size: 15px;
  outline: none; transition: border-color .15s, box-shadow .15s;
  font-family: inherit; color: inherit;
}
.tz-textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.tz-input:focus, .tz-select:focus, .tz-textarea:focus {
  border-color: var(--tz-green-700);
  box-shadow: 0 0 0 3px rgba(15,110,88,.12);
}
.tz-input::placeholder { color: var(--tz-ink-300); }
.tz-input.has-error { border-color: var(--tz-red); }
.tz-error { color: var(--tz-red); font-size: 13px; margin-top: 6px; }

/* Phone input */
.tz-phone-input {
  display: flex; align-items: center; height: 48px;
  border: 1px solid var(--tz-line); border-radius: 10px; background: #fff; overflow: hidden;
}
.tz-phone-input:focus-within { border-color: var(--tz-green-700); box-shadow: 0 0 0 3px rgba(15,110,88,.12); }
.tz-phone-cc {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 100%; background: var(--tz-cream-2);
  border-inline-end: 1px solid var(--tz-line);
  font-weight: 600; font-size: 14px; color: var(--tz-ink-700);
}
.tz-phone-input input {
  flex: 1; height: 100%; border: 0; background: transparent;
   direction: ltr; text-align: start;
}

/* ── Cards ─────────────────────────────────────────────── */
.tz-card {
  background: #fff; border-radius: var(--tz-r-lg);
  box-shadow: var(--tz-shadow-1); overflow: hidden;
}
.tz-card-elev { box-shadow: var(--tz-shadow-2); }
.tz-card-pad  { padding: 20px; }

/* ── Chips ─────────────────────────────────────────────── */
.tz-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--tz-green-50); color: var(--tz-green-800);
}
.tz-chip-yellow { background: var(--tz-yellow-100); color: #6b5210; }
.tz-chip-red    { background: #fce6e6; color: var(--tz-red); }
.tz-chip-gray   { background: #edeae3; color: var(--tz-ink-700); }

.tz-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tz-dot-green { background: #2bb16a; }
.tz-dot-red   { background: var(--tz-red); }
.tz-dot-amber { background: var(--tz-amber); }

/* ── Header / Footer ───────────────────────────────────── */
.tz-header {
  position: sticky; top: 0; z-index: 30;
  height: 64px; background: var(--tz-green-900);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; color: #fff;
}
.tz-header-mob { height: 56px; padding: 0 16px; }

.tz-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; flex-wrap: nowrap; }
.tz-nav a {
  color: rgba(255,255,255,.85); transition: color .15s; white-space: nowrap;
  cursor: pointer; padding: 4px 0;
}
.tz-nav a:hover, .tz-nav a.active { color: #fff; }
.tz-nav a.active::after {
  content:''; display:block; height:2px; background: var(--tz-yellow-500);
  margin-top: 4px; border-radius: 2px;
}

.tz-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tz-lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-size: 14px; padding: 8px 10px; border-radius: 8px;
  white-space: nowrap;
}
.tz-lang-toggle:hover { background: rgba(255,255,255,.06); }

.tz-footer {
  background: var(--tz-green-900); color: rgba(255,255,255,.85);
  padding: 56px 32px 28px; margin-top: 60px;
}
.tz-footer-grid {
  display: grid; gap: 32px; max-width: 1200px; margin: 0 auto;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
}
.tz-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 18px; }
.tz-footer a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.78); cursor: pointer; }
.tz-footer a:hover { color: #fff; }
.tz-footer-divider { height: 1px; background: rgba(255,255,255,.12); margin: 32px auto 20px; max-width: 1200px; }
.tz-footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.7); flex-wrap: wrap; gap: 12px;
}
.tz-footer-bottom-links { display: flex; gap: 20px; }
.tz-footer-socials { display: flex; gap: 14px; }

/* The HTML `hidden` attribute must beat custom display rules */
[hidden] { display: none !important; }

/* Mobile drawer */
.tz-drawer {
  position: fixed; inset: 0; z-index: 50;
  background: var(--tz-green-900); color: #fff; padding: 18px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.tz-drawer[hidden] { display: none !important; }
.tz-drawer a, .tz-drawer button {
  padding: 12px 4px; color: rgba(255,255,255,.92); font-size: 15px;
  text-align: center; cursor: pointer;
}
.tz-drawer .lang-pill { display: flex; justify-content: center; gap: 8px; margin: 14px 0; }
.tz-drawer .lang-pill button { padding: 4px 10px; }
.tz-drawer .lang-pill .active { color: var(--tz-yellow-500); font-weight: 700; }

/* ── Logo ──────────────────────────────────────────────── */
.tz-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 20px; color: #fff; letter-spacing: -0.01em;
  white-space: nowrap; flex-shrink: 0; line-height: 1;
}
.tz-logo > span { white-space: nowrap; flex-shrink: 0; }
.tz-logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--tz-yellow-500); color: var(--tz-green-900);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  position: relative; font-family: var(--tz-font-en);
}
.tz-logo-mark::after {
  content: ''; position: absolute; bottom: -3px; right: 6px;
  width: 8px; height: 8px; background: var(--tz-yellow-500);
  border-radius: 2px; transform: rotate(45deg);
}
.tz-logo-sm  { font-size: 16px; }
.tz-logo-sm .tz-logo-mark { width: 24px; height: 24px; font-size: 13px; }
.tz-logo-lg  { font-size: 26px; }
.tz-logo-lg .tz-logo-mark { width: 40px; height: 40px; font-size: 22px; }

/* ── Hero (slider) ─────────────────────────────────────── */
.tz-hero {
  position: relative; height: 520px; overflow: hidden;
  background: linear-gradient(135deg, #1a3a5c, #0a1c2e);
  user-select: none;
}
.tz-hero-track {
  display: flex; height: 100%;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.tz-hero-track.no-anim { transition: none; }
.tz-hero-track.dragging { transition: none; cursor: grabbing; }
.tz-hero-slide {
  position: relative; flex: 0 0 100%;
  background: linear-gradient(135deg, #1a3a5c, #0a1c2e);
  overflow: hidden;
}
.tz-hero-stars {
  position: absolute; inset: 0; pointer-events: none;
}
.tz-hero-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; user-select: none;
}
.tz-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}
.tz-hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 60px; max-width: 700px; color: #fff;
}
.tz-hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--tz-yellow-500); margin-bottom: 12px; text-transform: uppercase;
}
.tz-hero-title { font-size: 38px; font-weight: 700; margin: 0 0 14px; line-height: 1.2; }
.tz-hero-meta { display: flex; gap: 18px; font-size: 14px; margin-bottom: 8px; opacity: .9; flex-wrap: wrap; }
.tz-hero-meta span { display: inline-flex; gap: 6px; align-items: center; }
.tz-hero-venue { font-size: 14px; margin-bottom: 22px; opacity: .85; display: flex; gap: 6px; align-items: center; }
.tz-hero-price { display: flex; gap: 14px; align-items: baseline; }
.tz-hero-price-amount { font-size: 22px; font-weight: 700; }
.tz-hero-cta { margin-top: 18px; width: fit-content; height: 48px; padding: 0 28px; }

.tz-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px); color: #fff;
  display: grid; place-items: center; z-index: 4;
  cursor: pointer; transition: background .15s, transform .12s;
}
.tz-hero-arrow:hover { background: rgba(255,255,255,.28); }
.tz-hero-arrow:active { transform: translateY(-50%) scale(.92); }
.tz-hero-arrow-next:active { transform: translateY(-50%) rotate(180deg) scale(.92); }
.tz-hero-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 4;
}
.tz-hero-dots button {
  width: 8px; height: 8px; padding: 0; border: 0;
  border-radius: 4px; background: rgba(255,255,255,.4);
  cursor: pointer; transition: width .25s, background .25s;
}
.tz-hero-dots button.active { width: 22px; background: var(--tz-yellow-500); }
.tz-hero-dots button:hover { background: rgba(255,255,255,.7); }
.tz-hero-dots button.active:hover { background: var(--tz-yellow-500); }

/* ── Categories ────────────────────────────────────────── */
.tz-section { padding: 48px 0; }
.tz-section-title {
  text-align: center; font-size: 22px; font-weight: 600;
  color: var(--tz-ink-900); margin: 36px 0 22px;
}
.tz-cat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; max-width: 1200px; margin: 0 auto; padding: 0 60px;
}
.tz-cat {
  background: #fff; padding: 20px 12px; border-radius: 12px;
  box-shadow: var(--tz-shadow-1);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all .15s; cursor: pointer; color: var(--tz-ink-900);
}
.tz-cat:hover { box-shadow: var(--tz-shadow-2); transform: translateY(-2px); }
.tz-cat.active { background: var(--tz-green-800); color: #fff; box-shadow: var(--tz-shadow-2); }
.tz-cat .icon { color: var(--tz-green-800); }
.tz-cat.active .icon { color: var(--tz-yellow-500); }
.tz-cat .name { font-weight: 600; font-size: 14px; }
.tz-cat .count { font-size: 11px; opacity: .7; }

/* ── Event grid ────────────────────────────────────────── */
.tz-events-section { padding: 16px 60px 60px; max-width: 1200px; margin: 0 auto; }
.tz-events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.tz-event-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--tz-shadow-1);
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
  position: relative; cursor: pointer;
}
.tz-event-card:hover { transform: translateY(-2px); box-shadow: var(--tz-shadow-2); }
.tz-event-poster {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1c4a3d, #0b5d4a);
  width: 100%; aspect-ratio: 1;
}
.tz-event-poster .poster-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tz-event-poster .poster-title {
  position: absolute; bottom: 14px; right: 14px; left: 14px;
  color: #fff; font-weight: 700; font-size: 17px; line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.tz-event-poster .poster-badge {
  position: absolute; top: 14px;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(8px);
  color: #fff; font-size: 10px; font-weight: 600;
  padding: 4px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .04em;
}
[dir="rtl"] .tz-event-poster .poster-badge { right: 14px; }
[dir="ltr"] .tz-event-poster .poster-badge { left: 14px; }
.tz-event-status {
  position: absolute; top: 10px; z-index: 2;
}
[dir="rtl"] .tz-event-status { left: 10px; }
[dir="ltr"] .tz-event-status { right: 10px; }
.tz-event-body { padding: 14px 16px 18px; }
.tz-event-title { font-weight: 600; font-size: 15px; margin: 0 0 6px; line-height: 1.35; }
.tz-event-meta {
  font-size: 12.5px; color: var(--tz-ink-500);
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.tz-event-price-row {
  margin-top: 10px; display: flex; justify-content: space-between; align-items: center;
}
.tz-event-price { color: var(--tz-green-800); font-weight: 700; font-size: 14px; }

/* ── Search bar / filters ──────────────────────────────── */
.tz-page-head {
  background: var(--tz-green-900); color: #fff;
  padding: 32px 60px 40px;
}
.tz-page-head h1 { font-size: 30px; font-weight: 700; margin: 0 0 6px; }
.tz-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); font-size: 13px; margin-bottom: 14px;
}
.tz-filter-bar {
  background: #fff; padding: 20px; border-radius: 12px;
  box-shadow: var(--tz-shadow-1);
  display: grid; gap: 12px;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr auto;
  max-width: 1200px; margin: -28px auto 28px;
  position: relative; z-index: 5;
}
.tz-search-input { position: relative; }
.tz-search-input .icon {
  position: absolute; top: 14px; color: var(--tz-ink-300);
}
[dir="rtl"] .tz-search-input .icon { right: 12px; }
[dir="ltr"] .tz-search-input .icon { left: 12px; }
[dir="rtl"] .tz-search-input input { padding-right: 40px; }
[dir="ltr"] .tz-search-input input { padding-left: 40px; }

/* ── Event detail ──────────────────────────────────────── */
.tz-event-hero {
  background: var(--tz-green-900); padding: 24px 60px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center;
}
.tz-event-hero .poster-wrap {
  width: 320px; height: 320px; flex-shrink: 0;
  border-radius: 12px; overflow: hidden;
}
.tz-event-hero-text { color: #fff; }
.tz-event-hero-text h1 { font-size: 28px; font-weight: 700; margin: 0 0 14px; line-height: 1.3; }
.tz-event-hero-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; opacity: .9; }
.tz-event-hero-meta div { display: flex; align-items: center; gap: 8px; }

.tz-event-body-grid {
  display: grid; grid-template-columns: 360px 1fr; gap: 24px;
  max-width: 1200px; margin: 24px auto; padding: 0 24px;
}
@media (max-width: 900px) {
  .tz-event-body-grid { grid-template-columns: 1fr; }
}
.tz-tickets-card {
  background: #fff; border-radius: 14px; box-shadow: var(--tz-shadow-1);
  padding: 20px; position: sticky; top: 84px;
}
.tz-tickets-card h3 { font-size: 16px; margin: 0 0 14px; }
.tz-empty-msg { text-align: center; color: var(--tz-ink-500); padding: 24px 8px; font-size: 14px; }

/* Seat map area */
.tz-seatmap-card {
  background: #fff; border-radius: 14px; box-shadow: var(--tz-shadow-1);
  padding: 20px;
}

/* Seatsio chart — minimal wrapper, matching the proven working pattern.
   DO NOT add position:relative, z-index, transform, or overflow:hidden to
   #chart or its ancestors — Seatsio uses absolute positioning internally
   and any extra stacking context breaks touch/click hit-testing. */
#chart { width: 100%; height: 600px; background: var(--tz-cream-2); border-radius: 8px; }
@media (max-width: 900px) { #chart { height: 500px !important; } }
@media (max-width: 640px) { #chart { height: 420px !important; } }
.tz-seat-legend {
  display: flex; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--tz-line); border-radius: 8px;
  padding: 8px 12px; font-size: 12px; margin-bottom: 12px; justify-content: center;
}
.tz-seat-legend .item { display: inline-flex; gap: 6px; align-items: center; }
.tz-seat-legend .swatch { width: 10px; height: 10px; border-radius: 50%; }
.tz-seat { cursor: pointer; transition: transform .1s; }
.tz-seat:hover:not(.taken):not(.selected) { transform: scale(1.18); }
.tz-seat.taken    { fill: #dcd7cc !important; cursor: not-allowed; }
.tz-seat.selected { fill: #fff !important; stroke-width: 2.5px; stroke: var(--tz-green-800); }

/* GA tier cards */
.tz-tier-row {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  border: 1px solid var(--tz-line); border-radius: 12px; margin-bottom: 10px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.tz-tier-row.selected { border-color: var(--tz-green-800); box-shadow: 0 0 0 3px rgba(15,110,88,.08); }
.tz-tier-swatch { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
.tz-tier-info { flex: 1; }
.tz-tier-info .name { font-weight: 600; font-size: 15px; }
.tz-tier-info .price { color: var(--tz-green-800); font-weight: 600; font-size: 14px; }
.tz-qty { display: flex; align-items: center; gap: 6px; }
.tz-qty button {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--tz-line);
  font-size: 18px; font-weight: 600; background: #fff;
}
.tz-qty button:disabled { opacity: .4; cursor: not-allowed; }
.tz-qty .val { min-width: 24px; text-align: center; font-weight: 600; }

/* ── Step progress ─────────────────────────────────────── */
.tz-progress { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.tz-progress .step { display: flex; align-items: center; gap: 8px; }
.tz-progress .num {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 12px;
  background: rgba(255,255,255,.18); color: #fff;
}
.tz-progress .step.active .num { background: var(--tz-yellow-500); color: var(--tz-ink-900); }
.tz-progress .step.done .num   { background: #fff; color: var(--tz-green-800); }
.tz-progress .sep { width: 28px; height: 1px; background: rgba(255,255,255,.25); }

/* ── Seat hold timer ───────────────────────────────────── */
.tz-hold-bar {
  background: var(--tz-yellow-100);
  border: 1px solid var(--tz-yellow-500);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px; font-size: 13px;
}
.tz-hold-bar.urgent { background: #fef1e0; border-color: var(--tz-amber); }
.tz-hold-bar .progress { height: 3px; background: rgba(0,0,0,.08); border-radius: 2px; overflow: hidden; flex: 1; margin-top: 4px; }
.tz-hold-bar .bar { height: 100%; background: #b8901a; transition: width 1s linear; }
.tz-hold-bar.urgent .bar { background: var(--tz-amber); }

/* ── OTP boxes ─────────────────────────────────────────── */
.tz-otp { display: flex; gap: 8px; justify-content: center; direction: ltr; }
.tz-otp input {
  width: 48px; height: 56px; text-align: center;
  font-size: 22px; font-weight: 600;
  border: 1px solid var(--tz-line); border-radius: 10px; background: #fff;
}
.tz-otp input:focus { border-color: var(--tz-green-700); box-shadow: 0 0 0 3px rgba(15,110,88,.12); outline: none; }

/* ── Toast / Alert ─────────────────────────────────────── */
.tz-alert {
  padding: 12px 16px; border-radius: 10px;
  background: #fff; box-shadow: var(--tz-shadow-2); font-size: 14px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.tz-alert-error { background: #fde8e8; color: #8d1f1f; border: 1px solid #f5b3b3; }
.tz-alert-success { background: #e9f7ee; color: #1f5f3a; border: 1px solid #b3e0c2; }

/* ── Result pages ──────────────────────────────────────── */
.tz-result-card {
  max-width: 560px; margin: 60px auto;
  background: #fff; border-radius: 16px; padding: 40px; text-align: center;
  box-shadow: var(--tz-shadow-2);
}
.tz-result-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 20px;
}
.tz-result-icon.success { background: #e9f7ee; color: #1f7f3a; }
.tz-result-icon.fail    { background: #fde8e8; color: #8d1f1f; }
.tz-result-icon.warn    { background: var(--tz-yellow-100); color: #6b5210; }
.tz-result-card h1 { font-size: 24px; margin: 0 0 10px; }
.tz-result-card p  { color: var(--tz-ink-500); margin: 0 0 24px; }

/* ── Ticket-list card ──────────────────────────────────── */
.tz-ticket-list-card {
  display: flex; gap: 16px; background: #fff; border-radius: 12px;
  padding: 14px; box-shadow: var(--tz-shadow-1); margin-bottom: 12px;
}
.tz-ticket-list-card .poster { width: 100px; height: 100px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.tz-ticket-list-card .info { flex: 1; }
.tz-ticket-list-card .info h3 { font-size: 16px; margin: 0 0 6px; }
.tz-ticket-list-card .info .meta { color: var(--tz-ink-500); font-size: 13px; margin-bottom: 4px; }

.tz-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--tz-line); margin-bottom: 16px; }
.tz-tabs a {
  padding: 10px 16px; cursor: pointer;
  font-size: 14px; font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tz-tabs a.active { border-color: var(--tz-green-800); color: var(--tz-green-800); }

/* ── Static page ───────────────────────────────────────── */
.tz-static {
  max-width: 880px; margin: 32px auto 60px; padding: 32px;
  background: #fff; border-radius: 14px; box-shadow: var(--tz-shadow-1);
}
.tz-static h1 { font-size: 28px; margin: 0 0 16px; }
.tz-static h2, .tz-static h3 { color: var(--tz-green-800); }
.tz-static p { color: var(--tz-ink-700); line-height: 1.8; }

/* FAQ */
.tz-faq-item {
  background: #fff; border-radius: 12px; box-shadow: var(--tz-shadow-1);
  margin-bottom: 10px; overflow: hidden;
}
.tz-faq-q {
  padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-weight: 600;
}
.tz-faq-a { padding: 0 20px 16px; color: var(--tz-ink-700); display: none; }
.tz-faq-item.open .tz-faq-a { display: block; }
.tz-faq-q .arrow { transition: transform .15s; }
.tz-faq-item.open .tz-faq-q .arrow { transform: rotate(180deg); }

/* ── Admin panel ───────────────────────────────────────── */
.tz-admin-shell { display: flex; min-height: 100vh; }
.tz-admin-sidebar {
  width: 240px; background: var(--tz-green-900); color: #fff;
  padding: 20px 0; flex-shrink: 0;
}
.tz-admin-sidebar .brand { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.tz-admin-sidebar a {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  color: rgba(255,255,255,.78); font-size: 14px; cursor: pointer;
}
.tz-admin-sidebar a:hover { background: rgba(255,255,255,.04); color: #fff; }
.tz-admin-sidebar a.active { background: rgba(254,219,95,.12); color: var(--tz-yellow-500); border-inline-start: 3px solid var(--tz-yellow-500); }
.tz-admin-sidebar .tz-nav-section {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
  color: rgba(255,255,255,.42); padding: 14px 20px 6px;
}
.tz-admin-sidebar nav { max-height: calc(100vh - 200px); overflow-y: auto; }
.tz-admin-sidebar nav::-webkit-scrollbar { width: 6px; }
.tz-admin-sidebar nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }
.tz-admin-main { flex: 1; padding: 24px 32px; background: var(--tz-cream); overflow-x: auto; }
.tz-admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.tz-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.tz-stat-card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: var(--tz-shadow-1); }
.tz-stat-card .label { color: var(--tz-ink-500); font-size: 13px; margin-bottom: 6px; }
.tz-stat-card .value { font-size: 24px; font-weight: 700; color: var(--tz-green-800); }
.tz-stat-card .delta { font-size: 12px; margin-top: 4px; }
.tz-stat-card .delta.up { color: #1f7f3a; }
.tz-stat-card .delta.down { color: var(--tz-red); }

.tz-table {
  width: 100%; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--tz-shadow-1); border-collapse: collapse;
}
.tz-table th, .tz-table td { padding: 12px 16px; text-align: start; font-size: 14px; }
.tz-table thead { background: var(--tz-cream-2); }
.tz-table th { font-weight: 600; color: var(--tz-ink-700); }
.tz-table tr { border-top: 1px solid var(--tz-line); }
.tz-table tr:hover { background: var(--tz-cream); }

/* ── Utilities ─────────────────────────────────────────── */
.tz-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tz-flex { display: flex; }
.tz-items-center { align-items: center; }
.tz-justify-between { justify-content: space-between; }
.tz-gap-2 { gap: 8px; } .tz-gap-3 { gap: 12px; } .tz-gap-4 { gap: 16px; }
.tz-mt-2 { margin-top: 8px; } .tz-mt-4 { margin-top: 16px; } .tz-mt-6 { margin-top: 24px; }
.tz-mb-2 { margin-bottom: 8px; } .tz-mb-4 { margin-bottom: 16px; } .tz-mb-6 { margin-bottom: 24px; }
.tz-text-center { text-align: center; }
.tz-text-sm { font-size: 13px; } .tz-text-lg { font-size: 18px; }
.tz-text-muted { color: var(--tz-ink-500); }
.tz-w-full { width: 100%; }
.tz-hidden { display: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tz-cat-grid { grid-template-columns: repeat(3, 1fr); padding: 0 24px; }
  .tz-events-grid { grid-template-columns: 1fr 1fr; }
  .tz-events-section { padding: 16px 24px 40px; }
  .tz-event-hero { grid-template-columns: 1fr; padding: 24px; }
  .tz-event-hero .poster-wrap { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; }
  .tz-footer-grid { grid-template-columns: 1fr 1fr; }
  .tz-page-head { padding: 24px; }
  .tz-filter-bar { grid-template-columns: 1fr; padding: 16px; margin: -20px 16px 20px; }
  .tz-stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tz-header { padding: 0 16px; height: 56px; }
  .tz-nav { display: none; }
  .tz-hero { height: 380px; }
  .tz-hero-content { padding: 0 20px; }
  .tz-hero-title { font-size: 22px; }
  .tz-hero-cta { height: 40px; padding: 0 18px; font-size: 14px; }
  .tz-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tz-events-grid { grid-template-columns: 1fr; }
  .tz-footer { padding: 40px 20px 20px; text-align: center; }
  .tz-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .tz-footer-bottom { flex-direction: column; }
  .tz-section-title { font-size: 18px; }
  .tz-result-card { margin: 20px 16px; padding: 24px; }
  .tz-admin-sidebar { display: none; }
  .tz-stat-grid { grid-template-columns: 1fr; }

  /* Tighten the checkout form on small screens */
  .tz-input, .tz-select, .tz-textarea { height: 42px; font-size: 14px; padding: 0 12px; }
  .tz-card-pad { padding: 18px; }
  .tz-card-pad label { font-size: 12px !important; }
  .tz-tickets-card h3 { font-size: 15px; }
  .tz-phone-input .tz-phone-cc { }
  .tz-phone-input input {  }
  .tz-btn-lg { height: 46px; font-size: 14px; }
}
