/* =============================================
   REGISTER PAGE — KCSFA Conference 2026
   ============================================= */

/* ---- Hero ---- */
.register-hero {
    position: relative;
    background-color: #1B1C13;
    padding: 120px 5% 60px;
    overflow: hidden;
}

.register-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(254, 107, 2, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 107, 2, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.register-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #1B1C13);
    pointer-events: none;
}

.register-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.register-hero__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #FE6B02;
    background: rgba(254, 107, 2, 0.12);
    border: 1px solid rgba(254, 107, 2, 0.3);
    padding: 8px 12px;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.register-hero__title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.register-hero__title em {
    font-family: 'DM Serif Text', serif;
    font-style: italic;
    color: #FE6B02;
}

.register-hero__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.03em;
}

/* ============================================================
   PAGE WRAPPER & LAYOUT
   ============================================================ */

.register-page {
    background-color: #f7f4f1;
    padding: 60px 5% 80px;
}

.register-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* ============================================================
   STEPPER
   ============================================================ */

.stepper {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 28px;
}

.stepper__step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.stepper__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s, background-color 0.3s;
    position: relative;
}

.stepper__num {
    font-size: 14px;
    font-weight: 700;
    color: #bbb;
    transition: opacity 0.2s;
}

.stepper__check {
    position: absolute;
    font-size: 18px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.stepper__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stepper__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #bbb;
    transition: color 0.3s;
}

.stepper__title {
    font-size: 14px;
    font-weight: 700;
    color: #bbb;
    transition: color 0.3s;
}

.stepper__line {
    flex: 1;
    height: 2px;
    background: #e5e0d8;
    margin: 0 16px;
    border-radius: 2px;
    transition: background-color 0.3s;
}

/* Active step */
.stepper__step.active .stepper__circle {
    border-color: #FE6B02;
    background: #FE6B02;
}

.stepper__step.active .stepper__num {
    color: #fff;
}

.stepper__step.active .stepper__label,
.stepper__step.active .stepper__title {
    color: #1B1C13;
}

/* Done step */
.stepper__step.done .stepper__circle {
    border-color: #1B1C13;
    background: #1B1C13;
}

.stepper__step.done .stepper__num {
    opacity: 0;
}

.stepper__step.done .stepper__check {
    opacity: 1;
}

.stepper__step.done .stepper__label,
.stepper__step.done .stepper__title {
    color: #1B1C13;
}

.stepper__step.done+.stepper__line {
    background: #1B1C13;
}

/* ============================================================
   FORM CARD
   ============================================================ */

.register-form-card {
    background: #fff;
    border: 1.5px solid #ede9e3;
    border-radius: 16px;
    padding: 40px;
}

.form-step.hidden {
    display: none;
}

.form-step__header {
    margin-bottom: 28px;
}

.form-step__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #1B1C13;
    line-height: 1.2;
    margin-bottom: 8px;
}

.form-step__title em {
    font-family: 'DM Serif Text', serif;
    font-style: italic;
    color: #FE6B02;
}

.form-step__desc {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
}

.form-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 28px;
    align-items: center;
}

/* ============================================================
   TICKET OPTIONS
   ============================================================ */

.ticket-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-option {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border: 1.5px solid #e5e0d8;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    position: relative;
    background: #faf8f5;
}

.ticket-option:hover {
    border-color: rgba(254, 107, 2, 0.4);
    background: #fff;
}

.ticket-option.selected {
    border-color: #FE6B02;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(254, 107, 2, 0.1);
}

.ticket-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ticket-option__content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
}

.ticket-option__name {
    font-size: 16px;
    font-weight: 700;
    color: #1B1C13;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ticket-option__badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #FE6B02;
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
}

.ticket-option__perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-option__perks li {
    font-size: 13px;
    color: #888;
    padding-left: 14px;
    position: relative;
}

.ticket-option__perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ddd;
    transition: background-color 0.2s;
}

.ticket-option.selected .ticket-option__perks li::before {
    background: #FE6B02;
}

.ticket-option__price {
    font-size: 20px;
    font-weight: 700;
    font-family: 'DM Serif Text', serif;
    color: #1B1C13;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}

.ticket-option__check {
    font-size: 20px;
    color: #ddd;
    flex-shrink: 0;
    margin-left: 12px;
    margin-top: 2px;
    transition: color 0.2s;
}

.ticket-option.selected .ticket-option__check {
    color: #FE6B02;
}

/* ============================================================
   REGISTER FIELDS (step 2)
   ============================================================ */

.register-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #1B1C13;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.required {
    color: #FE6B02;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e5e0d8;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: #1B1C13;
    background: #faf8f5;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-group input::placeholder {
    color: #bbb;
}

.form-group input:focus {
    border-color: #FE6B02;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(254, 107, 2, 0.1);
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    width: 100%;
    padding: 13px 40px 13px 16px;
    border: 1.5px solid #e5e0d8;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: #1B1C13;
    background: #faf8f5;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.select-wrap select:focus {
    border-color: #FE6B02;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(254, 107, 2, 0.1);
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #aaa;
    pointer-events: none;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid #e5e0d8;
    border-radius: 5px;
    background: #faf8f5;
    flex-shrink: 0;
    margin-top: 2px;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative;
}

.checkbox-group input:checked~.checkbox-custom {
    background: #FE6B02;
    border-color: #FE6B02;
}

.checkbox-group input:checked~.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.checkbox-label a {
    color: #FE6B02;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ============================================================
   ORDER SUMMARY (step 3)
   ============================================================ */

.order-summary {
    background: #faf8f5;
    border: 1.5px solid #ede9e3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.order-summary__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    font-size: 14px;
    color: #555;
}

.order-summary__header {
    background: #1B1C13;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 20px;
}

.order-summary__row--attendee {
    border-top: 1px solid #ede9e3;
    background: #fff;
}

.order-summary__attendee-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
}

#summary-attendee-name {
    font-weight: 600;
    color: #1B1C13;
}

.order-summary__divider {
    height: 1px;
    background: #ede9e3;
}

.order-summary__total {
    font-size: 16px;
    font-weight: 700;
    color: #1B1C13;
    padding: 18px 20px;
    background: #fff;
}

.order-summary__total span:last-child {
    color: #FE6B02;
    font-family: 'DM Serif Text', serif;
    font-size: 20px;
}

/* Payment note */
.payment-note {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    background: rgba(254, 107, 2, 0.06);
    border: 1px solid rgba(254, 107, 2, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 4px;
}

.payment-note .material-icons {
    font-size: 18px;
    color: #FE6B02;
    flex-shrink: 0;
    margin-top: 1px;
}

.payment-note p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.register-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 88px;
}

.sidebar-card {
    background: #fff;
    border: 1.5px solid #ede9e3;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FE6B02;
}

.sidebar-event-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-detail-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.sidebar-detail-item .material-icons {
    font-size: 18px;
    color: #FE6B02;
    flex-shrink: 0;
    margin-top: 2px;
}

.sidebar-detail-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    margin-bottom: 2px;
}

.sidebar-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #1B1C13;
}

.sidebar-includes__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-includes__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.sidebar-includes__list li .material-icons {
    font-size: 16px;
    color: #FE6B02;
    flex-shrink: 0;
    margin-top: 1px;
}

.sidebar-help {
    align-items: center;
    text-align: center;
    background: #1B1C13;
    border-color: #1B1C13;
}

.sidebar-help__icon {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.25);
}

.sidebar-help__text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-help__btn {
    width: 100%;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
}

.sidebar-help__btn:hover {
    background: #FE6B02;
    border-color: #FE6B02;
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .register-layout {
        grid-template-columns: 1fr 280px;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .register-hero {
        padding: 100px 4% 48px;
    }

    .register-page {
        padding: 40px 4% 60px;
    }

    .register-layout {
        grid-template-columns: 1fr;
    }

    .register-sidebar {
        position: static;
    }

    .register-form-card {
        padding: 28px 24px;
    }

    /* Hide step labels on tablet, keep circles */
    .stepper__meta {
        display: none;
    }

    .stepper__line {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .register-hero__title {
        font-size: 36px;
    }

    .register-form-card {
        padding: 24px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .ticket-option__content {
        flex-direction: column;
        gap: 10px;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions .solid-button,
    .form-actions .outline-button {
        width: 100%;
        justify-content: center;
    }
}