:root {
  --registration-red: #b51225;
  --registration-red-dark: #860d1a;
  --registration-ink: #171717;
  --registration-muted: #686868;
  --registration-line: #dedede;
  --registration-surface: #f6f5f2;
}

.attendee-dialog [hidden] {
  display: none !important;
}

.topnav-cta {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.topnav-cta-secondary {
  background: #171717;
}

.banner-actions,
.registration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-floorplan-booking-action {
  justify-content: center;
  margin-top: 24px;
}

.lp-floorplan-booking-action .btn-cta-white {
  color: #fff;
  background: var(--registration-red);
}

.btn-white {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn-white-outline {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.btn-cta-white {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn-cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: transparent;
  color: #fff;
}

.attendee-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  color: var(--registration-ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.attendee-dialog.is-group-checkout {
  width: min(1160px, calc(100% - 32px));
}

.attendee-dialog::backdrop {
  background: rgba(12, 12, 12, 0.74);
}

.attendee-dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.attendee-dialog-head {
  padding: 32px clamp(24px, 5vw, 48px) 28px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(123, 7, 22, 0.98), rgba(186, 18, 39, 0.92)),
    url("registration-photo.jpg") center 38% / cover;
}

.attendee-dialog-head .lp-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.attendee-dialog-head h2 {
  margin: 7px 0 24px;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.attendee-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.attendee-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
}

.attendee-steps li::after {
  height: 1px;
  flex: 1;
  background: currentColor;
  content: "";
  opacity: 0.42;
}

.attendee-steps li:last-child::after {
  display: none;
}

.attendee-steps li.is-active,
.attendee-steps li.is-done {
  opacity: 1;
}

.attendee-steps span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.attendee-steps .is-active span,
.attendee-steps .is-done span {
  color: var(--registration-red-dark);
  background: #fff;
}

.attendee-panel {
  padding: clamp(24px, 5vw, 46px);
}

.attendee-fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.attendee-fieldset legend,
.attendee-grid label {
  color: var(--registration-ink);
  font-size: 13px;
  font-weight: 700;
}

.attendee-consent-field {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.attendee-consent-legend {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--registration-ink);
  font-size: 13px;
  font-weight: 700;
}

.attendee-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  min-width: 0;
}

.attendee-choice-row label {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--registration-line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--registration-ink);
  background: #fff;
  line-height: 1.35;
  cursor: pointer;
}

.attendee-choice-row label input[type="radio"] {
  flex: 0 0 auto;
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: auto;
  margin: 0;
  padding: 0;
  accent-color: var(--registration-red);
  cursor: pointer;
}

.attendee-choice-row label:has(input:checked) {
  border-color: var(--registration-red);
  color: var(--registration-red-dark);
  background: #fff4f5;
}

/* Mega Meeting session cards */
.attendee-session-fieldset {
  margin: 20px 0 22px;
  padding: 0;
  border: 0;
}

.attendee-session-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.attendee-session-legend span {
  color: var(--registration-ink);
  font-size: 13px;
  font-weight: 700;
}

.attendee-session-legend small {
  color: var(--registration-muted);
  font-size: 12px;
  font-weight: 500;
}

.attendee-session-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.attendee-session-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid var(--registration-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.attendee-session-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.attendee-session-card input[type="radio"] {
  width: 17px !important;
  min-width: 17px !important;
  min-height: auto !important;
  height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  accent-color: var(--registration-red);
  cursor: pointer;
}

.attendee-session-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.attendee-session-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--registration-ink);
  line-height: 1.2;
}

.attendee-session-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--registration-muted);
  line-height: 1.3;
  white-space: nowrap;
}

.attendee-session-time i {
  font-size: 11px;
}

.attendee-session-card input:checked ~ .attendee-session-body .attendee-session-tag {
  color: var(--registration-red-dark);
}

.attendee-session-card input:checked ~ .attendee-session-body .attendee-session-time {
  color: #991b1b;
}

.attendee-session-card.is-selected {
  border-color: var(--registration-red) !important;
  background: #fff5f6 !important;
  box-shadow: 0 0 0 1px var(--registration-red) !important;
}

.attendee-session-card:has(input:checked) {
  border-color: var(--registration-red);
  background: #fff5f6;
  box-shadow: 0 0 0 1px var(--registration-red);
}

.attendee-session-card:has(input:checked) .attendee-session-tag {
  color: var(--registration-red-dark);
}

.attendee-session-card:has(input:checked) .attendee-session-time {
  color: #991b1b;
}

@media (max-width: 680px) {
  .attendee-session-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.attendee-grid {
  display: grid;
  gap: 18px;
}

.attendee-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attendee-grid + .attendee-grid {
  margin-top: 18px;
}

.attendee-grid-wide {
  grid-column: 1 / -1;
}

.attendee-grid input,
.attendee-grid select {
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--registration-line);
  border-radius: 5px;
  color: inherit;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.attendee-grid input:focus-visible,
.attendee-grid select:focus-visible {
  border-color: var(--registration-red);
  outline: 3px solid rgba(181, 18, 37, 0.16);
}

.attendee-invoice-details {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--registration-line);
  border-radius: 6px;
  background: var(--registration-surface);
}

.attendee-invoice-details summary {
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.attendee-invoice-details[open] summary {
  margin-bottom: 16px;
}

.attendee-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.attendee-form-actions-split {
  justify-content: space-between;
}

.attendee-primary,
.attendee-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--registration-red);
  border-radius: 5px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.attendee-primary {
  color: #fff;
  background: var(--registration-red);
}

.attendee-primary:disabled {
  cursor: wait;
  opacity: 0.6;
}

.attendee-secondary {
  color: var(--registration-ink);
  border-color: var(--registration-line);
  background: #fff;
}

.attendee-ticket-list {
  display: grid;
  gap: 12px;
}

.attendee-group-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.attendee-dialog.is-group-registration .attendee-group-checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
}

.attendee-group-checkout-main {
  min-width: 0;
}

.attendee-companions {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--registration-line);
}

.attendee-companions-head {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--registration-line);
}

.attendee-companions-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  font-size: 16px;
}

.attendee-companions-head h3 i {
  color: var(--registration-red);
}

.attendee-companions-head p {
  margin: 0;
  color: var(--registration-muted);
  font-size: 13px;
  line-height: 1.45;
}

.attendee-companion-list {
  display: grid;
  max-height: 460px;
  gap: 8px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-color: #c7c7c7 transparent;
  scrollbar-width: thin;
}

.attendee-companion-card {
  padding: 11px 12px 12px;
  border: 1px solid var(--registration-line);
  border-radius: 6px;
  background: var(--registration-surface);
}

.attendee-companion-card legend {
  padding: 0 6px;
  color: var(--registration-red-dark);
  font-size: 13px;
  font-weight: 700;
}

.attendee-companion-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 9px;
}

.attendee-companion-fields label {
  min-width: 0;
  color: var(--registration-ink);
  font-size: 13px;
  font-weight: 700;
}

.attendee-companion-fields input,
.attendee-companion-fields select {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid var(--registration-line);
  border-radius: 5px;
  color: inherit;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.attendee-companion-fields input:focus-visible,
.attendee-companion-fields select:focus-visible {
  border-color: var(--registration-red);
  outline: 3px solid rgba(181, 18, 37, 0.16);
}

.attendee-ticket {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--registration-line);
  border-radius: 6px;
  cursor: pointer;
}

.attendee-ticket:has(input:checked) {
  border-color: var(--registration-red);
  background: #fff7f8;
}

/* Tier suspended: greyed out and not selectable. */
.attendee-ticket.is-unavailable {
  cursor: not-allowed;
  opacity: 0.45;
  filter: grayscale(1);
  background: #f4f4f5;
}

.attendee-ticket.is-unavailable input {
  cursor: not-allowed;
}

.attendee-ticket.is-unavailable small {
  font-style: italic;
  font-weight: 700;
}

.attendee-ticket input {
  width: 18px;
  height: 18px;
  accent-color: var(--registration-red);
}

.attendee-ticket span {
  display: grid;
  gap: 4px;
}

.attendee-ticket small {
  color: var(--registration-muted);
}

.attendee-ticket b {
  white-space: nowrap;
}

.attendee-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.attendee-qty-label {
  color: var(--registration-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.attendee-qty-wrap input[type="number"] {
  width: 78px;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--registration-line);
  border-radius: 5px;
  background: #fff;
  color: var(--registration-ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
}

.attendee-booth-toggle i {
  color: var(--registration-muted);
  transition: transform 0.18s ease;
}

.attendee-booth-toggle:has(input:checked) i {
  transform: rotate(180deg);
}

.attendee-booth-tiers {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--registration-line);
  border-radius: 6px;
  background: #fafafa;
}

.attendee-booth-tiers[hidden] {
  display: none;
}

.attendee-booth-tiers legend {
  padding: 0 6px;
  color: var(--registration-muted);
  font-size: 13px;
  font-weight: 700;
}

.attendee-booth-tiers .attendee-ticket {
  min-height: 68px;
  background: #fff;
}

.attendee-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--registration-line);
  border-bottom: 1px solid var(--registration-line);
}

.attendee-total strong {
  color: var(--registration-red-dark);
  font-size: 25px;
}

.attendee-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--registration-red);
  color: var(--registration-red-dark);
  background: #fff1f2;
  font-size: 13px;
}

.attendee-payment-panel {
  text-align: center;
}

.attendee-success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #207d4a;
  font-size: 28px;
}

.attendee-payment-panel h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.attendee-payment-panel > p {
  margin: 0 auto 28px;
  color: var(--registration-muted);
}

.attendee-payment-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  text-align: left;
}

/* When there is no QR image inside (such as the English SWIFT wire transfer layout) */
.attendee-payment-layout:not(:has(.attendee-qr)) {
  grid-template-columns: 1fr;
  max-width: 580px;
  margin: 0 auto;
}

.attendee-qr {
  display: grid;
  min-height: 190px;
  align-self: start;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--registration-line);
  background: #fff;
}

.attendee-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.attendee-bank-details {
  margin: 0;
}

.attendee-bank-details div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--registration-line);
}

.attendee-bank-details dt {
  color: var(--registration-muted);
  font-size: 13px;
  white-space: nowrap;
}

.attendee-bank-details dd {
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
  font-weight: 800;
  line-height: 1.4;
}

.attendee-bank-details .attendee-details-heading {
  margin-top: 8px;
  border-bottom-color: var(--registration-red);
}

.attendee-details-heading:first-child {
  margin-top: 0;
}

.attendee-details-heading dt {
  grid-column: 1 / -1;
  color: var(--registration-red-dark);
  font-size: 14px;
  font-weight: 800;
}

.attendee-details-heading dd {
  display: none;
}

.attendee-finish {
  margin-top: 28px;
}

/* EN Step 3 — PayPal alternative (no-code NCP link), highlighted card next to SWIFT wire details */
.attendee-paypal-option {
  width: 100%;
  margin-top: 20px;
}

.attendee-paypal-heading {
  margin: 0 0 8px;
  color: var(--registration-red-dark);
  font-size: 14px;
  font-weight: 800;
}

.attendee-paypal-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px 18px 14px;
  border: 1px solid #cfe3f3;
  border-radius: 10px;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 70%);
  text-align: left;
}

.attendee-paypal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.attendee-paypal-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.attendee-paypal-brand-text {
  font: italic 800 21px/1 "Helvetica Neue", Arial, sans-serif;
  color: #003087;
  letter-spacing: -0.3px;
}

.attendee-paypal-brand-text span {
  color: #0070ba;
}

.attendee-paypal-trust {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 127, 55, 0.1);
  color: #1a7f37;
  font-size: 12px;
  font-weight: 700;
}

.attendee-paypal-note {
  margin: 0;
  color: var(--registration-muted);
  font-size: 13px;
  line-height: 1.55;
}

.attendee-paypal-note strong {
  color: var(--registration-ink);
}

.attendee-paypal-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 12px;
  border: 1px dashed #b9d6ea;
  border-radius: 8px;
  background: #ffffff;
}

.attendee-paypal-total span {
  color: var(--registration-muted);
  font-size: 12px;
  font-weight: 600;
}

.attendee-paypal-total strong {
  color: #003087;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Standard PayPal checkout button look: yellow with the navy PayPal mark */
.attendee-paypal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 9px 18px;
  border: 0;
  border-radius: 8px;
  background: #ffc439;
  color: #003087;
  font: italic 700 15px/1.2 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.1px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.attendee-paypal-button svg {
  display: block;
  flex: none;
}

.attendee-paypal-button:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.attendee-paypal-button:active {
  transform: translateY(0);
}

.attendee-paypal-button:focus-visible {
  outline: 2px solid #003087;
  outline-offset: 2px;
}

.attendee-paypal-fineprint {
  margin: 0;
  color: #8a94a6;
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 480px) {
  .attendee-paypal-card {
    padding: 14px 14px 12px;
  }

  .attendee-paypal-card-top {
    justify-content: center;
  }

  .attendee-paypal-total {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .attendee-dialog {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    border-radius: 0;
  }

  .attendee-dialog-head {
    padding: 26px 20px 22px;
  }

  .attendee-steps li {
    display: grid;
    justify-items: center;
    gap: 5px;
    text-align: center;
  }

  .attendee-steps li::after {
    display: none;
  }

  .attendee-panel {
    padding: 24px 20px;
  }

  .attendee-dialog.is-group-registration .attendee-group-checkout-layout {
    grid-template-columns: 1fr;
  }

  .attendee-companions {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--registration-line);
    border-left: 0;
  }

  .attendee-companion-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .attendee-companion-fields {
    grid-template-columns: 1fr;
  }

  .attendee-grid-2,
  .attendee-payment-layout {
    grid-template-columns: 1fr;
  }

  .attendee-payment-layout {
    justify-items: center;
  }

  .attendee-bank-details {
    width: 100%;
  }

  .attendee-form-actions-split {
    gap: 10px;
  }

  .attendee-form-actions-split button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .attendee-dialog {
    scroll-behavior: auto;
  }
}