/* Interactive checkout demo (event page Sign up) */

.sol-co {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}
.sol-co.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sol-co__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}
.sol-co__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #111111;
  color: rgba(255,255,255,0.92);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  padding: 18px 22px 22px;
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease;
}
.sol-co.is-open .sol-co__panel {
  transform: none;
  opacity: 1;
}
body.sol-checkout-open {
  overflow: hidden;
}

.sol-co__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sol-co__back,
.sol-co__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 8px;
}
.sol-co__back:hover,
.sol-co__close:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.sol-co__back[hidden] { visibility: hidden; }
.sol-co__close { justify-self: end; }
.sol-co__secure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.sol-co__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 4px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-height: 80px;
  overflow: hidden;
  transition:
    opacity 240ms ease,
    max-height 280ms ease,
    margin 280ms ease,
    padding 280ms ease,
    border-color 280ms ease;
}
.sol-co__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  position: relative;
  transition: color 280ms ease;
}
.sol-co__step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease, transform 280ms ease;
}
.sol-co__step.is-active {
  color: rgba(255,255,255,0.9);
}
.sol-co__step.is-active span {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: scale(1.06);
}
.sol-co__step.is-done {
  color: rgba(255,255,255,0.7);
}
.sol-co__step.is-done span {
  background: #fff;
  color: #111;
  border-color: #fff;
  font-size: 0;
  transform: none;
}
.sol-co__step.is-done span::before {
  content: "✓";
  font-size: 12px;
  font-weight: 700;
}
.sol-co__steps.is-hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

.sol-co__stage {
  position: relative;
  overflow: hidden;
}
.sol-co__view {
  display: none;
}
.sol-co__view.is-active {
  display: block;
}
.sol-co__view.is-animating {
  display: block;
  animation: sol-co-enter-forward 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sol-co__view.is-animating-back {
  display: block;
  animation: sol-co-enter-back 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes sol-co-enter-forward {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sol-co-enter-back {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sol-co,
  .sol-co__panel,
  .sol-co__step,
  .sol-co__step span,
  .sol-co__steps {
    transition: none !important;
  }
  .sol-co__panel {
    transform: none;
  }
  .sol-co__view.is-animating,
  .sol-co__view.is-animating-back {
    animation: none !important;
  }
}
.sol-co__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 28px;
  align-items: start;
}
.sol-co__layout--review {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}
.sol-co__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  color: #fff;
}
.sol-co__sub {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}

.sol-co__tickets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sol-co__ticket {
  display: block;
  cursor: pointer;
}
.sol-co__ticket input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sol-co__ticket-body {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  transition: border-color 140ms ease, background 140ms ease;
}
.sol-co__ticket:hover .sol-co__ticket-body {
  border-color: rgba(255,255,255,0.22);
}
.sol-co__ticket input:checked + .sol-co__ticket-body {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.sol-co__ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.sol-co__ticket-top strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.sol-co__ticket-top em {
  font-style: normal;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.sol-co__ticket-meta {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.sol-co__ticket-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.sol-co__ticket-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

.sol-co__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.sol-co__footer--done {
  margin-top: 20px;
}
.sol-co__hint {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.sol-co__btn {
  appearance: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 140ms ease, color 140ms ease, opacity 140ms ease;
}
.sol-co__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sol-co__btn--primary {
  background: #ebe4da;
  color: #1a1a1a;
}
.sol-co__btn--primary:hover:not(:disabled) {
  background: #f5efe7;
}
.sol-co__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
}
.sol-co__btn--ghost:hover {
  background: rgba(255,255,255,0.06);
}

.sol-co__summary {
  padding: 4px 0 0 22px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.sol-co__summary h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: #fff;
}
.sol-co__summary-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0 0 6px;
}
.sol-co__summary-event {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.sol-co__summary-race,
.sol-co__summary-ticket {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.sol-co__summary-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sol-co__summary-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.sol-co__summary-list svg {
  width: 14px;
  height: 14px;
  opacity: 0.65;
  flex-shrink: 0;
}
.sol-co__price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.sol-co__price-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.sol-co__price-row--total {
  border-top: 0;
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 700;
  color: #fff;
}
.sol-co__paid {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(39,107,60,0.18);
  border: 1px solid rgba(39,107,60,0.35);
  color: #9fd4ae;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.sol-co__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sol-co__fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sol-co__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.sol-co__field input {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}
.sol-co__field input:focus {
  outline: none;
  border-color: rgba(39, 107, 60, 0.7);
  box-shadow: 0 0 0 3px rgba(39, 107, 60, 0.15);
}
.sol-co__field em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.38);
}

.sol-co__person {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.sol-co__person-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.sol-co__edit {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.sol-co__edit:hover {
  background: rgba(255,255,255,0.06);
}
.sol-co__person strong {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}
.sol-co__person p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.sol-co__person--compact {
  margin-top: 16px;
}
.sol-co__person--compact span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.sol-co__main--done {
  padding-bottom: 8px;
}
.sol-co__success {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green, #276B3C);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sol-co__confirm-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  margin-bottom: 12px;
}
.sol-co__confirm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.sol-co__confirm-head em {
  font-style: normal;
  color: #7dcb92;
  background: rgba(39,107,60,0.18);
  border: 1px solid rgba(39,107,60,0.35);
  border-radius: 999px;
  padding: 3px 8px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}
.sol-co__confirm-card > strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #fff;
}
.sol-co__confirm-card > span {
  display: block;
  margin: 2px 0 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.sol-co__meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.sol-co__meta-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.sol-co__meta-card span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
}
.sol-co__meta-card strong {
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.02em;
}
.sol-co__checkin {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  margin-bottom: 8px;
}
.sol-co__checkin > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 6px;
}
.sol-co__checkin p {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.45;
}
.sol-co__checkin strong {
  display: block;
  font-size: 28px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

@media (max-width: 760px) {
  .sol-co {
    padding: 0;
    align-items: stretch;
  }
  .sol-co__panel {
    width: 100%;
    max-height: none;
    height: 100%;
    border-radius: 0;
    padding: 14px 16px 24px;
  }
  .sol-co__layout {
    grid-template-columns: 1fr;
  }
  .sol-co__summary {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .sol-co__fields-row,
  .sol-co__meta-grid {
    grid-template-columns: 1fr;
  }
  .sol-co__steps {
    gap: 14px;
  }
  .sol-co__step {
    font-size: 11px;
  }
}
