/* Summit 2026 ticket checkout */
.tier-availability {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticket-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--navy);
}

.ticket-price-display span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.ticket-price-display strong {
  font-family: var(--font-display);
  font-size: 2.45rem;
  line-height: 1;
}

.checkout-total {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem !important;
}

.tier-buy-button { margin-top: 1.25rem; }

.checkout-dialog {
  width: min(960px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--body);
  background: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px rgba(10, 20, 36, 0.45);
}

.checkout-dialog::backdrop {
  background: rgba(10, 20, 36, 0.76);
  backdrop-filter: blur(5px);
}

.checkout-shell { position: relative; padding: clamp(1.4rem, 4vw, 2.8rem); }
.checkout-heading { padding-right: 3rem; margin-bottom: 1.7rem; }
.checkout-heading .eyebrow { margin-bottom: 0.65rem; }
.checkout-heading h2 { margin-bottom: 0.35rem; }
.checkout-heading p { color: var(--muted); }

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 400 1.6rem/1 var(--font-sans);
  cursor: pointer;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: start;
}

.checkout-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.payment-options {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  border: 0;
}

.payment-options legend {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-option {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  color: var(--navy);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.payment-option:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.payment-option:disabled { cursor: wait; opacity: 0.65; transform: none; }
.payment-option strong, .payment-option small { display: block; }
.payment-option strong { color: var(--navy); font: 700 0.92rem/1.3 var(--font-sans); }
.payment-option small { margin-top: 0.12rem; color: var(--muted); font: 500 0.75rem/1.4 var(--font-sans); }
.payment-option-arrow { color: var(--gold); font-size: 1.2rem; }

.payment-option-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--cream);
  border-radius: 10px;
  font-weight: 800;
}

.order-summary {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.74);
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius);
}

.order-summary h3 { margin-bottom: 1.1rem; color: var(--white); }
.order-summary dl { margin: 0; }
.order-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
.order-summary dt, .order-summary dd { margin: 0; font-size: 0.84rem; }
.order-summary dd { color: var(--white); font-weight: 700; text-align: right; }
.order-summary .order-total { margin-top: 0.4rem; padding-top: 1rem; border-bottom: 0; }
.order-summary .order-total dt, .order-summary .order-total dd { color: var(--gold-bright); font-size: 1rem; font-weight: 800; }
.order-summary p { margin-top: 1rem; color: rgba(255, 255, 255, 0.62); font-size: 0.76rem; }

.checkout-status { min-height: 1.6rem; margin: 0.85rem 0 0; font-size: 0.86rem; font-weight: 700; }
.checkout-status.is-error { color: #b42318; }
.payment-security { margin-top: 0.6rem; color: var(--muted); font-size: 0.76rem; }
body.checkout-open { overflow: hidden; }

/* Payment confirmation page */
.payment-status-page { min-height: 100vh; display: flex; flex-direction: column; }
.payment-status-page main { flex: 1; display: grid; place-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.status-card {
  position: relative;
  width: min(680px, 100%);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 3.5rem);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(201, 164, 76, 0.28);
  box-shadow: 0 28px 70px rgba(16, 28, 51, 0.12);
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}

.status-visual {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
}

.status-loader,
.status-symbol {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.status-loader {
  color: var(--navy);
  background: rgba(201, 164, 76, 0.11);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.status-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid rgba(201, 164, 76, 0.2);
  border-top-color: var(--gold);
  border-right-color: var(--gold-bright);
  border-radius: inherit;
  animation: status-spin 1s linear infinite;
}

.status-loader::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--gold-bright);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(201, 164, 76, 0.12);
  transform: translate(-50%, -50%);
}

.status-logo {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  align-items: end;
  justify-content: center;
  column-gap: 4px;
  width: 58px;
  height: 58px;
  background: var(--white);
  border: 1px solid rgba(201, 164, 76, 0.35);
  border-radius: 50%;
  box-shadow: 0 9px 22px rgba(16, 28, 51, 0.08);
}
.status-logo i { display: block; width: 8px; border-radius: 1px 1px 0 0; }
.status-logo i:nth-child(1) { height: 13px; background: #737b8e; }
.status-logo i:nth-child(2) { height: 21px; background: #102746; }
.status-logo i:nth-child(3) { height: 31px; background: linear-gradient(180deg, #ecd986, #bd9333); }

.status-symbol {
  color: #177447;
  background: #eaf7ef;
  border: 1px solid #9dd7b7;
  font-size: 1.8rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.status-card.is-success .status-loader,
.status-card.is-error .status-loader { opacity: 0; transform: scale(0.78); }
.status-card.is-success .status-symbol,
.status-card.is-error .status-symbol { opacity: 1; transform: scale(1); }
.status-card.is-error .status-symbol { color: #a13d36; background: #fff0ee; border-color: #efb3ae; }

.status-card h1 { max-width: 560px; margin-inline: auto; font-size: clamp(2rem, 5vw, 3rem); }
.status-message { max-width: 520px; margin-inline: auto; color: var(--muted); }

.status-progress {
  width: min(470px, 100%);
  margin: 1.7rem auto 0;
  padding: 1rem 1.1rem;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.status-progress-copy,
.status-progress-copy > span {
  display: flex;
  align-items: center;
}

.status-progress-copy { justify-content: space-between; gap: 1rem; }
.status-progress-copy > span { gap: 0.55rem; }
.status-progress-copy i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(201, 164, 76, 0.13);
  animation: status-pulse 1.4s ease-in-out infinite;
}
.status-progress-copy strong { color: var(--navy); font-size: 0.82rem; }
.status-progress-copy small { color: var(--muted); font-size: 0.72rem; text-align: right; }
.status-progress-track { height: 4px; margin-top: 0.9rem; overflow: hidden; background: rgba(27, 42, 74, 0.09); border-radius: 999px; }
.status-progress-track span {
  display: block;
  width: 52%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: inherit;
  animation: status-track 1.6s ease-in-out infinite;
}

.status-card.is-success .status-progress-copy i { background: #25875a; box-shadow: 0 0 0 5px rgba(37, 135, 90, 0.12); animation: none; }
.status-card.is-success .status-progress-track span { width: 100%; background: #25875a; animation: none; transform: none; }
.status-card.is-error .status-progress-copy i { background: #b74b43; box-shadow: 0 0 0 5px rgba(183, 75, 67, 0.12); animation: none; }
.status-card.is-error .status-progress-track span { width: 100%; background: #b74b43; animation: none; transform: none; }

.status-assurance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.76rem;
}
.status-assurance > span:first-child { color: var(--gold); font-size: 0.62rem; }

.status-details { display: none; margin: 1.8rem 0; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.status-details.is-visible { display: grid; gap: 0.7rem; }
.status-details div { display: flex; justify-content: space-between; gap: 1rem; }
.status-details dt, .status-details dd { margin: 0; font-size: 0.9rem; }
.status-details dd { color: var(--ink); font-weight: 700; text-align: right; }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.5rem; }
.status-actions .btn { display: none; }
.status-actions .btn.is-visible { display: inline-flex; }

@keyframes status-spin { to { transform: rotate(360deg); } }
@keyframes status-pulse { 50% { opacity: 0.45; transform: scale(0.78); } }
@keyframes status-track {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(205%); }
}

@media (prefers-reduced-motion: reduce) {
  .status-loader::before,
  .status-progress-copy i,
  .status-progress-track span { animation-duration: 3s; }
}

@media (max-width: 760px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { order: -1; }
}

@media (max-width: 520px) {
  .checkout-dialog { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
  .checkout-shell { padding: 1.25rem; }
  .checkout-heading { padding-top: 1.4rem; }
  .status-card { padding: 2rem 1.15rem; }
  .status-progress-copy { align-items: flex-start; flex-direction: column; gap: 0.35rem; }
  .status-progress-copy small { padding-left: 1.1rem; text-align: left; }
  .status-assurance { align-items: flex-start; }
  .status-details div { display: grid; gap: 0.15rem; }
  .status-details dd { text-align: left; }
}
