/* ElastiTickets Widget — buyer-facing purchase widget
 * Phase 1: fixed neutral identity. font-family: inherit from host site.
 * No ElastiTickets brand colors on buyer surface.
 */

/* ── Widget root (shortcode container) ──────────────────── */
.et-widget-root { display: block; }

/* ── Base card ───────────────────────────────────────────── */
.et-widget {
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  overflow: hidden;
}

.et-widget__loading {
  padding: 32px 24px;
  text-align: center;
  color: #94A3B8;
  font-size: 14px;
}

/* ── Test-mode banner ─────────────────────────────────────── */
.et-widget__test-banner {
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #92400E;
  text-align: center;
  letter-spacing: .02em;
}

/* ── Timer bar (hidden until reservation) ────────────────── */
.et-widget__timer-bar {
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  padding: 10px 20px;
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #92400E;
}

.et-widget--checkout .et-widget__timer-bar { display: flex; }

.et-widget__timer-bar svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: #D97706;
}

.et-widget__timer-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #B45309;
}

/* ── Body ─────────────────────────────────────────────────── */
.et-widget__body { padding: 24px 24px 20px; }
.et-widget--checkout .et-widget__body { padding-top: 20px; }

/* ── Event header ─────────────────────────────────────────── */
.et-widget__event-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.et-widget__event-info { flex: 1; min-width: 0; }

.et-widget__event-name {
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 6px;
}

.et-widget__event-date {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.et-widget__event-venue {
  font-size: 13px;
  color: #475569;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.et-widget__event-addr {
  font-size: 12px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.et-widget__event-img-wrap { flex-shrink: 0; }

.et-widget__event-img {
  display: block;
  width: 150px;
  height: 94px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.et-widget__divider {
  border: none;
  border-top: 1px solid #E2E8F0;
  margin: 18px 0;
}

/* ── Ticket row ───────────────────────────────────────────── */
.et-widget__ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.et-widget__ticket-name {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 2px;
}

.et-widget__ticket-price {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  font-variant-numeric: tabular-nums;
}

.et-widget__ticket-fee {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 2px;
}

/* ── Quantity stepper ─────────────────────────────────────── */
.et-widget__qty {
  display: flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.et-widget__qty-btn {
  width: 36px; height: 36px;
  background: #F8FAFC;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 100ms, color 100ms;
  user-select: none;
  -webkit-user-select: none;
}

.et-widget__qty-btn:hover:not(:disabled) { background: #F1F5F9; color: #0F172A; }
.et-widget__qty-btn:active:not(:disabled) { background: #E2E8F0; }
.et-widget__qty-btn:disabled { opacity: .35; cursor: default; }

.et-widget__qty-val {
  width: 40px; height: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  border: none;
  border-left: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  background: #fff;
  -moz-appearance: textfield;
}

.et-widget__qty-val::-webkit-inner-spin-button,
.et-widget__qty-val::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ── Order summary ────────────────────────────────────────── */
.et-widget__summary {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.et-widget__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 6px;
}

.et-widget__summary-row:last-child { margin-bottom: 0; }

.et-widget__summary-row--total {
  color: #0F172A;
  font-weight: 700;
  font-size: 15px;
  border-top: 1px solid #E2E8F0;
  padding-top: 10px;
  margin-top: 6px;
}

/* ── Stripe Payment Element container ─────────────────────── */
.et-widget__stripe-element {
  margin-bottom: 16px;
  min-height: 40px;
}

.et-widget__payment-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #DC2626;
  margin-bottom: 12px;
  display: none;
}

.et-widget__payment-error.et-visible { display: block; }

/* ── CTA button ───────────────────────────────────────────── */
.et-widget__cta {
  width: 100%;
  padding: 13px 20px;
  background: #0F172A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 100ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.et-widget__cta:hover:not(:disabled) { background: #1E293B; }
.et-widget__cta:active:not(:disabled) { background: #334155; }
.et-widget__cta:disabled { opacity: .7; cursor: default; }
.et-widget__cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Stripe badge ─────────────────────────────────────────── */
.et-widget__stripe-badge {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 11px;
  font-variant: normal;
  text-transform: none;
  color: #94A3B8;
  letter-spacing: .01em;
}

.et-widget__stripe-badge svg { width: 11px; height: 13px; flex-shrink: 0; }

.et-stripe-wordmark {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-variant: normal;
  text-transform: none;
  color: #635BFF;
  letter-spacing: -.02em;
  line-height: 1;
}

/* ── Availability note ────────────────────────────────────── */
.et-widget__avail {
  font-size: 12px;
  color: #64748B;
  text-align: center;
  margin-top: 10px;
}

.et-widget__avail strong { color: #0F172A; }

/* ── Sold-out state ───────────────────────────────────────── */
.et-widget--soldout .et-widget__body { padding: 32px 24px; text-align: center; }

.et-widget__soldout-icon {
  width: 40px; height: 40px;
  background: #F1F5F9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

.et-widget__soldout-icon svg { width: 20px; height: 20px; color: #94A3B8; }

.et-widget__soldout-title { font-size: 17px; font-weight: 700; color: #0F172A; margin-bottom: 6px; }
.et-widget__soldout-desc  { font-size: 14px; color: #64748B; line-height: 1.5; }

/* ── Success state ────────────────────────────────────────── */
.et-widget--success .et-widget__body { padding: 32px 24px; text-align: center; }

.et-widget__success-check {
  width: 48px; height: 48px;
  background: #F0FDF4;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #10B981;
}

.et-widget__success-check svg { width: 24px; height: 24px; }

.et-widget__success-title { font-size: 18px; font-weight: 700; color: #0F172A; margin-bottom: 6px; }
.et-widget__success-desc  { font-size: 14px; color: #64748B; line-height: 1.5; margin-bottom: 20px; }

.et-widget__success-meta {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 16px;
}

.et-widget__success-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}

.et-widget__success-meta-row:last-child { margin-bottom: 0; }
.et-widget__success-meta-label { color: #64748B; }
.et-widget__success-meta-value { color: #0F172A; font-weight: 600; }

.et-widget__success-order {
  font-size: 13px;
  color: #94A3B8;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
}

/* ── Button shortcode (.et-btn / .et-btn--ghost) ─────────── */
.et-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #0F172A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 100ms;
  text-decoration: none;
  line-height: 1;
}

.et-btn:hover, .et-btn:focus { background: #1E293B; color: #fff; }

.et-btn--ghost {
  background: transparent;
  color: #0F172A;
  border: 1.5px solid #0F172A;
}

.et-btn--ghost:hover, .et-btn--ghost:focus { background: #0F172A; color: #fff; }

/* ── Modal overlay ────────────────────────────────────────── */
.et-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.et-modal-overlay.open { display: flex; }

/* ── Modal card ───────────────────────────────────────────── */
.et-modal-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: et-modal-in 150ms ease-out;
  font-family: inherit;
}

@keyframes et-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* Modal test banner */
.et-m-test-banner {
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #92400E;
  text-align: center;
}

/* Modal timer */
.et-m-timer {
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  padding: 9px 20px;
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #92400E;
}

.et-modal-card--checkout .et-m-timer { display: flex; }
.et-m-timer svg { width: 14px; height: 14px; color: #D97706; flex-shrink: 0; }

.et-m-timer-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #B45309;
}

/* Modal header */
.et-m-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.et-m-event { font-size: 16px; font-weight: 700; color: #0F172A; line-height: 1.3; margin-bottom: 3px; }
.et-m-meta  { font-size: 13px; color: #64748B; }

.et-m-close {
  width: 28px; height: 28px;
  background: #F1F5F9; border: none; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #64748B; flex-shrink: 0;
  transition: background 100ms;
}

.et-m-close:hover { background: #E2E8F0; color: #0F172A; }
.et-m-close svg { width: 12px; height: 12px; }

/* Modal purchase body (hidden on success) */
.et-m-purchase { }
.et-modal-card--success .et-m-purchase { display: none; }

/* Modal ticket row */
.et-m-ticket {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 20px; gap: 12px;
}

.et-m-tname  { font-size: 14px; font-weight: 600; color: #0F172A; margin-bottom: 2px; }
.et-m-tprice { font-size: 21px; font-weight: 700; color: #0F172A; font-variant-numeric: tabular-nums; }
.et-m-tfee   { font-size: 12px; color: #94A3B8; margin-top: 2px; }

/* Modal quantity stepper */
.et-m-qty {
  display: flex; align-items: center;
  border: 1px solid #CBD5E1; border-radius: 6px; overflow: hidden; flex-shrink: 0;
}

.et-m-qty-btn {
  width: 38px; height: 38px;
  background: #F8FAFC; border: none; cursor: pointer;
  font-size: 20px; color: #475569;
  display: flex; align-items: center; justify-content: center;
  transition: background 100ms, color 100ms;
  user-select: none; -webkit-user-select: none;
}

.et-m-qty-btn:hover:not(:disabled)  { background: #F1F5F9; color: #0F172A; }
.et-m-qty-btn:active:not(:disabled) { background: #E2E8F0; }
.et-m-qty-btn:disabled { opacity: .3; cursor: default; }

.et-m-qty-val {
  width: 44px; height: 38px; text-align: center;
  font-size: 16px; font-weight: 700; color: #0F172A;
  border: none; border-left: 1px solid #E2E8F0; border-right: 1px solid #E2E8F0;
  background: #fff; -moz-appearance: textfield;
}

.et-m-qty-val::-webkit-inner-spin-button,
.et-m-qty-val::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Modal order summary */
.et-m-summary {
  margin: 0 20px 16px;
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 6px;
  padding: 12px 14px;
}

.et-m-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #64748B; margin-bottom: 5px;
}

.et-m-row:last-child { margin-bottom: 0; }

.et-m-row--total {
  color: #0F172A; font-weight: 700; font-size: 14px;
  border-top: 1px solid #E2E8F0; padding-top: 8px; margin-top: 4px;
}

/* Modal Stripe element */
.et-m-stripe-element {
  margin: 0 20px 12px;
  min-height: 40px;
}

.et-m-payment-error {
  margin: 0 20px 12px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #DC2626;
  display: none;
}

.et-m-payment-error.et-visible { display: block; }

/* Modal CTA */
.et-m-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 40px); margin: 0 20px 10px;
  padding: 13px 20px; background: #0F172A; color: #fff;
  border: none; border-radius: 6px;
  font-family: inherit;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 100ms;
}

.et-m-cta:hover:not(:disabled) { background: #1E293B; }
.et-m-cta:disabled { opacity: .7; cursor: default; }
.et-m-cta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Modal Stripe badge */
.et-m-stripe-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 11px; color: #94A3B8;
  padding-bottom: 16px;
}

.et-m-stripe-badge svg { width: 32px; height: 13px; }

/* Modal success */
.et-m-success {
  padding: 36px 28px;
  text-align: center;
  display: none;
}

.et-modal-card--success .et-m-success { display: block; }

.et-m-check {
  width: 52px; height: 52px; background: #F0FDF4; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #10B981;
}

.et-m-check svg { width: 26px; height: 26px; }
.et-m-s-title { font-size: 20px; font-weight: 700; color: #0F172A; margin-bottom: 6px; }
.et-m-s-desc  { font-size: 14px; color: #64748B; line-height: 1.5; }

/* ── Spinner (shared across widget + modal) ───────────────── */
@keyframes et-spin { to { transform: rotate(360deg); } }

.et-spinner-inline {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: et-spin .7s linear infinite;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ── Day + type selector column (multi-day events) ─────────── */
.et-widget__day-selectors {
  margin-bottom: 12px;
}

/* ── Type pills ─────────────────────────────────────────────── */
.et-type-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.et-type-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  box-sizing: border-box;
  transition: border-color 0.12s, background 0.12s;
}

.et-type-pill:hover { border-color: #94A3B8; }

.et-type-pill--selected {
  background: #0F172A;
  border-color: #0F172A;
  color: #fff;
}

.et-type-pill__name { font-weight: 500; }

.et-type-pill__price {
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 12px;
}

/* ── Pill + day select inline row (specific_day types) ──────── */
.et-type-pill-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.et-type-pill-row .et-type-pill {
  flex: 1;
  min-width: 0;
}

.et-type-pill-row .et-w-day-sel,
.et-type-pill-row .et-m-day-sel {
  flex-shrink: 0;
  padding: 0 32px 0 12px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  box-sizing: border-box;
  transition: border-color 0.12s;
}

.et-type-pill-row .et-w-day-sel:hover,
.et-type-pill-row .et-m-day-sel:hover { border-color: #94A3B8; }

/* ── Day confirmation card ───────────────────────────────── */
.et-day-confirm {
  padding: 16px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 16px;
}
.et-day-confirm__label {
  font-size: 12px;
  color: #64748B;
  margin: 0 0 2px;
}
.et-day-confirm__type {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 4px;
}
.et-day-confirm__day {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 16px;
}
.et-day-confirm__actions {
  display: flex;
  gap: 8px;
}
.et-day-confirm__change {
  flex: 1;
  padding: 10px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
  cursor: pointer;
  transition: border-color 0.12s;
}
.et-day-confirm__change:hover { border-color: #94A3B8; }
.et-day-confirm__ok {
  flex: 2;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #0F172A;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.12s;
}
.et-day-confirm__ok:hover { opacity: 0.85; }

.et-widget__type-wrap {
  margin-bottom: 12px;
}

.et-widget__type-select {
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  cursor: pointer;
  appearance: auto;
}

.et-widget__type-select:focus {
  outline: 2px solid #0F172A;
  outline-offset: 1px;
}

/* Modal ticket type selector */
#et-m-type-wrap {
  padding: 12px 20px 0;
}

.et-m-type-select {
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  cursor: pointer;
  appearance: auto;
}

.et-m-type-select:focus {
  outline: 2px solid #0F172A;
  outline-offset: 1px;
}

/* ── Contact form (shared inline + modal) ─────────────────── */
.et-contact {
  margin-bottom: 16px;
}

.et-contact__field {
  margin-bottom: 12px;
}

.et-contact__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.et-contact__input {
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: #0F172A;
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 100ms, box-shadow 100ms;
  -webkit-appearance: none;
  appearance: none;
}

.et-contact__input:focus {
  outline: none;
  border-color: #0F172A;
  box-shadow: 0 0 0 3px rgba(15,23,42,.1);
}

.et-contact__input.et-input-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.et-contact__privacy {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0 0 16px;
}

.et-contact-privacy-link {
  color: #64748B;
  text-decoration: underline;
}

.et-contact-privacy-link:hover { color: #0F172A; }

/* Modal contact form padding */
.et-m-contact { padding: 0 20px; }
.et-m-contact-fields { }

/* ── Promo code ───────────────────────────────────────────── */
.et-widget__promo,
.et-m-promo {
  padding: 0 0 4px;
}

.et-promo__toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #64748B;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1;
  margin-bottom: 10px;
}
.et-promo__toggle:hover { color: #0F172A; }

.et-promo__field {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.et-promo__input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: border-color .15s;
}
.et-promo__input:focus { border-color: #94A3B8; }
.et-promo__input.et-input-error { border-color: #DC2626; }

.et-promo__apply {
  flex-shrink: 0;
  padding: 9px 16px;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.et-promo__apply:hover:not(:disabled) { background: #E2E8F0; }
.et-promo__apply:disabled { opacity: .6; cursor: default; }

.et-promo__applied { margin-bottom: 8px; }

.et-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #15803D;
}

.et-promo__remove {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  color: #64748B;
  cursor: pointer;
  line-height: 1;
  margin-left: 2px;
}
.et-promo__remove:hover { color: #DC2626; }

.et-promo__error {
  font-size: 12px;
  color: #DC2626;
  margin: 0 0 6px;
}

/* ── Fee non-refundable notice ───────────────────────────── */
.et-widget__fee-notice {
  font-size: 11px;
  color: #94A3B8;
  text-align: center;
  margin: 0 0 10px;
}

/* ── Day-first UI: hide redundant ticket name in detail row ─ */
.et-widget--day-ui .et-widget__ticket-name { display: none; }

/* ── Day tab selector (≤6 event days) ───────────────────── */
.et-widget__day-selectors { margin-bottom: 12px; }

.et-day-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.et-day-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 10px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  min-width: 54px;
  transition: border-color .15s, background .15s;
  line-height: 1.2;
}
.et-day-tab:hover { border-color: #94A3B8; }
.et-day-tab--selected {
  border-color: #0F172A;
  background: #0F172A;
  color: #fff;
}
.et-day-tab__dow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94A3B8;
}
.et-day-tab--selected .et-day-tab__dow { color: #94A3B8; }
.et-day-tab__date {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  margin-top: 2px;
}
.et-day-tab--selected .et-day-tab__date { color: #fff; }


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .et-widget__body { padding: 20px 16px 16px; }
  .et-widget__ticket-price { font-size: 19px; }
  .et-modal-overlay { padding: 12px; }
  .et-m-cta { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; }
  .et-widget__event-img { width: 100px; height: 64px; }
  .et-widget__event-name { font-size: 17px; }
}
