/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #08080f;
  --bg2:      #0d0d1a;
  --bg3:      #12121e;
  --card:     #14141f;
  --border:   #ffffff12;
  --primary:  #6366f1;
  --primary2: #818cf8;
  --accent:   #22d3ee;
  --success:  #10b981;
  --danger:   #ef4444;
  --gold:     #f59e0b;
  --text:     #e2e8f0;
  --muted:    #94a3b8;
  --radius:   14px;
  --tr:       0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== UTILITIES ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 4px 20px #6366f155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px #6366f177; }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
}
.btn-ghost:hover { border-color: var(--primary2); color: var(--primary2); }

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid #ef444444;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
}
.btn-danger:hover { background: #ef444422; }

.btn-sm-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid #ef444433;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}
.btn-sm-danger:hover { background: #ef444422; }

.btn-sm-verify {
  background: transparent;
  color: var(--success);
  border: 1px solid #10b98133;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}
.btn-sm-verify:hover { background: #10b98122; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: transparent;
  transition: var(--tr);
}
.navbar.scrolled {
  background: rgba(8,8,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { color: var(--primary2); }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: var(--tr);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary2);
  transition: var(--tr);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

.lang-btn {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { background: var(--primary); color: #fff; }

/* Arabic font */
[lang="ar"], [lang="ar"] * {
  font-family: 'Tajawal', sans-serif;
}

/* RTL layout adjustments */
[dir="rtl"] .navbar { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-btns { flex-direction: row-reverse; }
[dir="rtl"] .form-row { flex-direction: row-reverse; }
[dir="rtl"] .ticket-detail-row { flex-direction: row-reverse; }
[dir="rtl"] .ticket-details { text-align: right; }
[dir="rtl"] .verify-input-wrap { flex-direction: row-reverse; }
[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .hero-stats { flex-direction: row-reverse; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 40px 60px;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, #6366f120 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, #22d3ee18 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-tag {
  display: inline-block;
  background: #6366f118;
  border: 1px solid #6366f133;
  color: var(--primary2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--primary2); display: block; }
.stat p { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ===== HERO VISUAL — TICKET PREVIEW ===== */
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 380px;
}

.glow-circle {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, #6366f125 0%, transparent 70%);
  border: 1px solid #6366f122;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.07); opacity: 1; }
}

.ticket-preview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 280px;
  overflow: hidden;
  box-shadow: 0 20px 60px #00000066;
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.tp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}
.tp-logo { font-size: 13px; font-weight: 800; color: #fff; }
.tp-badge {
  background: #ffffff22;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid #ffffff33;
}
.tp-qr-placeholder {
  padding: 20px;
  display: flex;
  justify-content: center;
}
.qr-grid {
  width: 100px; height: 100px;
  background: repeating-conic-gradient(#6366f133 0% 25%, transparent 0% 50%) 0 0 / 10px 10px;
  border-radius: 4px;
  opacity: 0.6;
}
.tp-info { padding: 0 16px 16px; text-align: center; }
.tp-name { font-size: 14px; font-weight: 700; color: var(--muted); }
.tp-id { font-size: 11px; color: #6366f188; font-family: monospace; margin-top: 4px; }

/* ===== SECTION ===== */
.section { padding: 100px 0; }
.dark-section { background: var(--bg2); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  color: var(--primary2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 15px; }

/* ===== REGISTRATION FORM ===== */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.req { color: var(--danger); }

.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: var(--tr);
}
.form-group input:focus { border-color: var(--primary2); box-shadow: 0 0 0 3px #6366f120; }
.form-group input.invalid { border-color: var(--danger); }
.form-group input.valid { border-color: var(--success); }

.phone-wrap { display: flex; gap: 10px; }
.phone-wrap .form-group { flex: 1; margin-bottom: 0; }
.country-select-wrap { flex-shrink: 0; }
.country-select-wrap select {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: var(--tr);
  height: 100%;
}
.country-select-wrap select:focus { border-color: var(--primary2); }

.phone-wrap input { min-width: 0; }

.field-error {
  display: block;
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  min-height: 18px;
}

.form-error {
  background: #ef444420;
  border: 1px solid #ef444455;
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}
.form-error.show { display: block; }

/* ===== LOADER ===== */
.loader {
  width: 18px; height: 18px;
  border: 2px solid #ffffff44;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TICKET OUTPUT ===== */
.ticket-output { max-width: 700px; margin: 40px auto 0; }

.ticket-success-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #10b98118;
  border: 1px solid #10b98133;
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 28px;
}
.success-icon {
  width: 40px; height: 40px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.ticket-success-banner strong { font-size: 16px; color: var(--success); display: block; margin-bottom: 2px; }
.ticket-success-banner p { font-size: 13px; color: var(--muted); }

/* ===== TICKET CARD ===== */
.ticket-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px #00000055;
}

.ticket-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}
.ticket-logo { font-size: 16px; font-weight: 800; color: #fff; }
.ticket-status {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
}
.ticket-status.valid { background: #10b98122; border: 1px solid #10b98155; color: #6ee7b7; }
.ticket-status.used  { background: #ef444422; border: 1px solid #ef444455; color: #fca5a5; }

.ticket-card-body {
  display: flex;
  gap: 32px;
  padding: 28px;
  align-items: flex-start;
}

.ticket-qr {
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticket-qr canvas, .ticket-qr img { border-radius: 4px; }

.ticket-details { flex: 1; }
.ticket-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.ticket-detail-row:last-of-type { border-bottom: none; }
.td-label { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.td-value { font-size: 14px; font-weight: 600; text-align: right; word-break: break-all; }
.ticket-id { font-family: monospace; font-size: 15px; color: var(--primary2); letter-spacing: 1px; }

.ticket-notice {
  margin-top: 14px;
  background: #f59e0b15;
  border: 1px solid #f59e0b33;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #fcd34d;
  display: flex;
  gap: 8px;
  white-space: nowrap;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.ticket-card-footer {
  padding: 16px 28px;
  border-top: 1px dashed var(--border);
  background: var(--bg2);
}
.ticket-barcode { text-align: center; }
.barcode-lines {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}
.barcode-text {
  font-size: 11px;
  font-family: monospace;
  color: var(--muted);
  letter-spacing: 2px;
}

.ticket-actions { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }

/* ===== VERIFY SECTION ===== */
.verify-card {
  max-width: 600px;
  margin: 0 auto 48px;
}
.verify-input-wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.verify-input {
  flex: 1;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-family: monospace;
  letter-spacing: 1px;
  outline: none;
  transition: var(--tr);
}
.verify-input:focus { border-color: var(--primary2); box-shadow: 0 0 0 3px #6366f120; }

.verify-result {
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  min-height: 0;
  overflow: hidden;
  transition: var(--tr);
}
.verify-result.valid-res {
  background: #10b98118;
  border: 1px solid #10b98133;
  padding: 16px 20px;
  color: #6ee7b7;
}
.verify-result.used-res {
  background: #ef444418;
  border: 1px solid #ef444433;
  padding: 16px 20px;
  color: #fca5a5;
}
.verify-result.not-found-res {
  background: #f59e0b15;
  border: 1px solid #f59e0b33;
  padding: 16px 20px;
  color: #fcd34d;
}
.verify-result-details { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ===== TICKETS TABLE ===== */
.tickets-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.table-header-row h3 { font-size: 16px; font-weight: 700; }

.table-scroll { overflow-x: auto; }

.tickets-table { width: 100%; border-collapse: collapse; }
.tickets-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.tickets-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-top: 1px solid var(--border);
  white-space: nowrap;
}
.tickets-table tr:hover td { background: #ffffff04; }

.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.status-badge.valid { background: #10b98122; color: #6ee7b7; border: 1px solid #10b98133; }
.status-badge.used  { background: #ef444422; color: #fca5a5; border: 1px solid #ef444433; }

.no-tickets { text-align: center; padding: 32px; color: var(--muted); font-size: 14px; display: none; }

/* ===== FOOTER ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p { font-size: 13px; color: var(--muted); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--card);
  border: 1px solid var(--primary2);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 3000;
  transform: translateY(80px);
  opacity: 0;
  transition: 0.3s ease;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== WHITELIST ADMIN ===== */
.wl-admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.wl-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.wl-admin-header h3 { font-size: 16px; font-weight: 700; }
.wl-admin-count {
  display: inline-block;
  background: #22d3ee15;
  border: 1px solid #22d3ee33;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
}
.wl-admin-add { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.wl-admin-add-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wl-admin-select {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}
.wl-admin-select:focus { border-color: var(--primary2); }
.wl-admin-input {
  flex: 1;
  min-width: 140px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.wl-admin-input:focus { border-color: var(--primary2); }
.wl-admin-input.invalid { border-color: var(--danger); }
.wl-admin-error {
  display: block;
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  min-height: 18px;
}
.wl-admin-bulk {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
}
.wl-admin-search {
  flex: 1;
  min-width: 160px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
}
.wl-admin-search:focus { border-color: var(--primary2); }
.wl-admin-table-wrap { max-height: 400px; overflow-y: auto; }
.wl-admin-table { width: 100%; border-collapse: collapse; }
.wl-admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  background: var(--bg2);
  position: sticky;
  top: 0;
  z-index: 1;
}
.wl-admin-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-top: 1px solid var(--border);
  white-space: nowrap;
}
.wl-admin-table tr:hover td { background: #ffffff04; }
.wl-admin-empty { text-align: center; padding: 28px; color: var(--muted); font-size: 13px; }
.wl-reg-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.wl-reg-badge.yes { background: #10b98122; color: #6ee7b7; border: 1px solid #10b98133; }
.wl-reg-badge.no  { background: var(--bg2); color: var(--muted); border: 1px solid var(--border); }
.btn-sm-remove {
  background: transparent;
  color: var(--danger);
  border: 1px solid #ef444433;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-sm-remove:hover { background: #ef444422; }

/* ===== SCANNER LINK CARD ===== */
.scanner-link-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}
.sl-header {
  padding: 20px 24px 0;
}
.sl-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.sl-header p { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.sl-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 0 24px 20px;
}
.sl-row .wl-link-input { flex: 1; }
.sl-row .wl-link-note { padding: 0 24px 16px; }

/* ===== WHITELIST LINK GENERATOR ===== */
.wl-link-section {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: #6366f108;
}
.wl-link-header h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.wl-link-header p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.wl-link-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wl-link-input {
  flex: 1;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-family: monospace;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wl-link-note {
  font-size: 12px;
  color: var(--success);
  margin-top: 8px;
  min-height: 18px;
}

/* ===== CONFIRM MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.confirm-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.confirm-icon { font-size: 40px; margin-bottom: 12px; }
.confirm-modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.confirm-msg { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.confirm-btns { display: flex; gap: 12px; justify-content: center; }
.confirm-btns .btn-danger {
  background: var(--danger);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.confirm-btns .btn-danger:hover { background: #dc2626; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(8,8,15,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .ticket-card-body { flex-direction: column; align-items: center; }
  .ticket-details { width: 100%; }
  .ticket-actions { justify-content: center; }

  .form-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 24px; }
}
