/* ── Lead Ticket — dedicated stepper registration page ── */
.lt-page {
    --lt-primary: #2d3b68;
    --lt-secondary: #ce8924;
    position: relative;
    background: #f0f2f8;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

/* Step indicator */
.lt-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    max-width: 640px;
}

.lt-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    position: relative;
}

.lt-step:not(:last-child)::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(45, 59, 104, 0.15);
    margin: 0 0.75rem;
}

.lt-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(45, 59, 104, 0.2);
    color: rgba(45, 59, 104, 0.5);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lt-step-label {
    font-family: var(--textFamily), 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: rgba(45, 59, 104, 0.55);
    white-space: nowrap;
}

.lt-step.active .lt-step-num,
.lt-step.done .lt-step-num {
    background: var(--lt-secondary);
    border-color: var(--lt-secondary);
    color: #fff;
}

.lt-step.active .lt-step-label,
.lt-step.done .lt-step-label {
    color: var(--lt-primary);
}

@media (max-width: 575.98px) {
    .lt-step-label { display: none; }
}

/* Panels */
.lt-panel {
    max-width: 720px;
    margin: 0 auto;
}

/* General, non-field-specific notices (sold out, duplicate email, payment
   declined, recaptcha failure) — field-level errors render inline instead. */
.lt-error-box {
    max-width: 720px;
    margin: 15px auto 1.5rem;
    padding: 0.85rem 1.1rem;
    background: rgba(220, 38, 38, 0.06);
    border-left: 3px solid #dc2626;
    border-radius: 6px;
    color: #991b1b;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Inline field-level error (matches the site's existing .field-error color) */
.lt-field-error {
    color: #2d3b68;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.6rem;
}

/* Unify every inline error message on this page to the same color/size —
   .field-error (site default: navy, 16px) and .phone-error-msg (site
   default: red, 12px) otherwise disagree. Scoped to .lt-page only, so the
   ticket modal elsewhere on the site is untouched. */
.lt-page span.field-error,
.lt-page .phone-error-msg {
    color: #dc2625;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Step 1 — quantity cards */
.lt-qty-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: 0 14px 36px rgba(30, 38, 72, 0.1);
    border: 1px solid rgba(45, 59, 104, 0.1);
}

.lt-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    border: 1.5px solid rgba(45, 59, 104, 0.12);
    flex-wrap: wrap;
}

.lt-qty-info h3 {
    margin: 0 0 0.25rem;
    font-family: var(--ztc-family-font1), 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lt-primary);
}

.lt-qty-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #4a5170;
}

.lt-qty-spots {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(206, 137, 36, 0.12);
    color: #8a5a15;
    font-size: 0.72rem;
    font-weight: 700;
}

.lt-qty-stepper {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.lt-qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--lt-secondary);
    background: #fff;
    color: var(--lt-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lt-qty-btn:hover {
    background: var(--lt-secondary);
    color: #fff;
}

.lt-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #fff;
    color: var(--lt-secondary);
}

.lt-qty-display {
    min-width: 24px;
    text-align: center;
    font-family: var(--textFamily), 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--lt-primary);
}

/* Actions row */
.lt-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.lt-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid rgba(45, 59, 104, 0.25);
    background: transparent;
    color: var(--lt-primary);
    font-family: var(--textFamily), 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lt-btn-secondary:hover {
    background: rgba(45, 59, 104, 0.06);
    border-color: var(--lt-primary);
    color: var(--lt-primary);
}

/* Step "Continue"/"Complete Registration" buttons — same pill shape/sizing
   as .lt-btn-secondary above, scoped to this page only so it doesn't touch
   .vl-btn1 elsewhere. Background/text color stay the site's existing
   gold/white on every step. */
#lt-step1-next.vl-btn1,
#lt-step2-next.vl-btn1,
#lt-submit.vl-btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid var(--lt-secondary);
    background: var(--lt-secondary);
    color: #fff;
    font-family: var(--textFamily), 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: normal;
    text-transform: none;
    cursor: pointer;
}

#lt-step1-next.vl-btn1::before,
#lt-step1-next.vl-btn1::after,
#lt-step2-next.vl-btn1::before,
#lt-step2-next.vl-btn1::after,
#lt-submit.vl-btn1::before,
#lt-submit.vl-btn1::after {
    display: none;
}

#lt-step1-next.vl-btn1:hover,
#lt-step2-next.vl-btn1:hover,
#lt-submit.vl-btn1:hover {
    background: #b87a20;
    border-color: #b87a20;
    color: #fff;
}

/* Step 2 — attendee blocks */
#lt-attendees-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lt-attendee-block {
    background: #fff;
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: 0 14px 36px rgba(30, 38, 72, 0.1);
    border: 1px solid rgba(45, 59, 104, 0.1);
}

.lt-attendee-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(45, 59, 104, 0.1);
}

.lt-attendee-header h4 {
    margin: 0;
    font-family: var(--ztc-family-font1), 'Montserrat', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--lt-primary);
}

.lt-attendee-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}

.lt-attendee-badge--one_day {
    background: var(--lt-secondary);
}

.lt-attendee-badge--full_summit {
    background: var(--lt-primary);
}

/* "Your Details" — the submitter's own contact info, kept visually
   distinct from the attendee cards below it (gold top border) and
   spaced the same as the gap between attendee cards. */
.lt-contact-block {
    margin-bottom: 1.25rem;
    border-top: 3px solid var(--lt-secondary);
}

.lt-contact-block .lt-attendee-header {
    border-bottom: none;
    margin-bottom: 0.9rem;
    padding-bottom: 0;
}

.lt-contact-block .lt-attendee-header h4 {
    font-size: 1.1rem;
}

/* ── Select2 (industry field) — mirrors the #tm/#em/#sm modal styling,
   scoped to .lt-attendee-block since this page isn't inside a modal.
   dropdownParent is set to the attendee block in lead-ticket.js so the
   dropdown DOM stays nested here and these rules reach it. ── */
.lt-attendee-block .select2-container--default .select2-selection--single {
    background: #fff !important;
    border: 1px solid #a6b4cd;
    border-radius: 8px;
    height: auto;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    font-family: var(--ztc-family-font2, var(--textFamily));
    font-weight: 300;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lt-attendee-block .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #171c33;
    padding: 0;
    line-height: 1.5;
}

.lt-attendee-block .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6b7280;
}

.lt-attendee-block .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: 0.9rem;
    transform: translateY(-50%);
    height: auto;
}

.lt-attendee-block .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--lt-primary) transparent transparent transparent;
}

.lt-attendee-block .select2-container--default.select2-container--open .select2-selection--single,
.lt-attendee-block .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--lt-secondary) !important;
    background: rgba(206, 137, 36, 0.06) !important;
    box-shadow: 0 0 0 3px rgba(206, 137, 36, 0.12) !important;
    outline: none !important;
}

.lt-attendee-block .select2-container--default .select2-selection--single .select2-selection__clear {
    color: rgba(23, 28, 51, 0.3);
    font-size: 1rem;
    line-height: 1;
    margin-right: 1.5rem;
}

.lt-attendee-block .select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: var(--lt-secondary);
}

.lt-attendee-block .select2-dropdown {
    background: #fff;
    border: 1px solid rgba(45, 59, 104, 0.14);
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 20;
}

.lt-attendee-block .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
    border-radius: 0 0 8px 8px;
}

.lt-attendee-block .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-radius: 8px 8px 0 0;
}

.lt-attendee-block .select2-search--dropdown {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(45, 59, 104, 0.08);
}

.lt-attendee-block .select2-search--dropdown .select2-search__field {
    background: rgba(45, 59, 104, 0.04);
    border: 1px solid rgba(45, 59, 104, 0.15);
    border-radius: 6px;
    color: #171c33;
    font-size: 0.82rem;
    font-family: var(--ztc-family-font2, var(--textFamily));
    padding: 0.45rem 0.75rem;
    outline: none;
}

.lt-attendee-block .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--lt-secondary);
}

.lt-attendee-block .select2-results__option {
    color: #171c33;
    font-size: 0.88rem;
    font-family: var(--ztc-family-font2, var(--textFamily));
    font-weight: 300;
    padding: 0.6rem 1rem;
    transition: background 0.15s, color 0.15s;
}

.lt-attendee-block .select2-results__option--highlighted {
    background: rgba(206, 137, 36, 0.12) !important;
    color: #171c33 !important;
}

.lt-attendee-block .select2-results__option[aria-selected="true"] {
    background: var(--lt-secondary) !important;
    color: #fff !important;
}

.lt-attendee-block .select2-results__option[aria-disabled="true"] {
    color: rgba(23, 28, 51, 0.3);
    font-style: italic;
}

.lt-attendee-block .select2-container {
    width: 100% !important;
}

/* Validation states — mirror .field-error / .field-ok on the hidden select */
.lt-attendee-block .select2-container.field-error .select2-selection--single {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.lt-attendee-block .select2-container.field-ok .select2-selection--single {
    border-color: rgba(206, 137, 36, 0.4) !important;
}

/* Step 3 — review + coupon + payment */
.lt-review-card,
.lt-coupon-card,
.lt-payment-card {
    background: #fff;
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: 0 14px 36px rgba(30, 38, 72, 0.1);
    border: 1px solid rgba(45, 59, 104, 0.1);
    margin-bottom: 1.25rem;
}

/* Card number field — floating brand badge (Visa/Mastercard/Amex/Discover) */
.lt-card-number-wrap {
    position: relative;
}

.lt-card-number-wrap .fi {
    padding-right: 3.25rem;
}

.lt-card-brand {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) scale(0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 24px;
    border-radius: 5px;
    font-family: var(--textFamily), 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.lt-card-brand[data-brand]:not([data-brand=""]) {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.lt-card-brand[data-brand="visa"] {
    background: #1a1f71;
}

.lt-card-brand[data-brand="mastercard"] {
    background: #16171a;
}

.lt-card-brand[data-brand="mastercard"]::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #eb001b;
    left: 9px;
    opacity: 0.9;
}

.lt-card-brand[data-brand="mastercard"]::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #f79e1b;
    right: 9px;
    opacity: 0.9;
    mix-blend-mode: screen;
}

.lt-card-brand[data-brand="amex"] {
    background: #2e77bc;
}

.lt-card-brand[data-brand="discover"] {
    background: #e97316;
    color: #1a1a1a;
}

.lt-card-brand[data-brand="unknown"] {
    background: #64748b;
}

.lt-review-card h3,
.lt-payment-card h3 {
    margin: 0 0 1rem;
    font-family: var(--ztc-family-font1), 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lt-primary);
}

.lt-review-contact {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid rgba(45, 59, 104, 0.1);
    font-size: 0.88rem;
    color: #4a5170;
}

.lt-review-contact strong {
    color: var(--lt-primary);
}

.lt-review-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(45, 59, 104, 0.12);
    font-size: 0.88rem;
}

.lt-review-item-name {
    font-weight: 600;
    color: #171c33;
}

.lt-review-item-meta {
    display: block;
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 400;
}

.lt-review-item-price {
    font-weight: 700;
    color: var(--lt-primary);
    white-space: nowrap;
}

.lt-review-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #4a5170;
}

.lt-review-row--sub {
    margin-top: 0.5rem;
}

.lt-review-row--discount {
    color: #16a34a;
    font-weight: 600;
}

.lt-review-row--total {
    margin-top: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1.5px solid rgba(45, 59, 104, 0.15);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lt-primary);
}

.lt-coupon-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.lt-coupon-row .fi {
    flex: 1;
}

.lt-coupon-msg {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.lt-coupon-msg--ok {
    color: #16a34a;
}

.lt-coupon-msg--error {
    color: #dc2626;
}

@media (max-width: 575.98px) {
    .lt-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .lt-actions .lt-btn-secondary,
    .lt-actions .vl-btn1 {
        width: 100%;
        text-align: center;
    }

    .lt-qty-row {
        justify-content: center;
        text-align: center;
    }

    .lt-qty-info {
        width: 100%;
        text-align: center;
    }
}
