:root {
    --bz-ebux-accent: #e1261c;
    --bz-ebux-ink: #111111;
    --bz-ebux-muted: #666666;
    --bz-ebux-line: #dedede;
    --bz-ebux-surface: #ffffff;
    --bz-ebux-soft: #f3f3f3;
}

.bz-ebux-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#eb-individual-registration-page:has(.bz-ebux-form),
#eb-group-billing:has(.bz-ebux-form),
#eb-group-registration-form:has(.bz-ebux-form) {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 24px 70px;
    box-sizing: border-box;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--bz-ebux-ink);
}

.bz-ebux-hero {
    margin: 0 0 22px;
    padding: 30px 34px;
    border-top: 5px solid var(--bz-ebux-accent);
    background: #111111;
    color: #ffffff;
}

.bz-ebux-hero__kicker {
    margin-bottom: 9px;
    color: var(--bz-ebux-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bz-ebux-hero__title {
    font-family: "Barlow Condensed", "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.bz-ebux-hero__course {
    margin-top: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.bz-ebux-hero__message,
.bz-ebux-hero__message p {
    margin: 13px 0 0;
    color: #d8d8d8;
    font-size: 14px;
    line-height: 1.6;
}

.bz-ebux-progress {
    margin-bottom: 22px;
    border: 1px solid #d5d5d5;
    border-top: 3px solid var(--bz-ebux-accent);
    background: #ffffff;
}

.bz-ebux-progress--sticky {
    position: sticky;
    top: 92px;
    z-index: 80;
}

.bz-ebux-progress__compact {
    display: none;
    padding: 14px 18px;
    background: #111111;
    color: #ffffff;
}

.bz-ebux-progress__counter {
    margin-right: 9px;
    color: var(--bz-ebux-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bz-ebux-progress__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.bz-ebux-progress__item {
    min-width: 0;
    border-right: 1px solid #e2e2e2;
}

.bz-ebux-progress__item:last-child { border-right: 0; }

.bz-ebux-progress__button {
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 12px;
    border: 0;
    background: #ffffff;
    color: #555555;
    text-align: left;
}

.bz-ebux-progress__button:disabled { opacity: 1; }
.bz-ebux-progress__item.is-current .bz-ebux-progress__button { background: #111111; color: #ffffff; }
.bz-ebux-progress__item.is-complete .bz-ebux-progress__button { cursor: pointer; color: #111111; }

.bz-ebux-progress__number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    color: #111111;
    font-size: 13px;
    font-weight: 800;
}

.is-current .bz-ebux-progress__number,
.is-complete .bz-ebux-progress__number { background: var(--bz-ebux-accent); color: #ffffff; }

.bz-ebux-progress__label {
    min-width: 0;
    font-family: "Barlow Condensed", "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.bz-ebux-form {
    margin: 0 !important;
    padding: 30px 34px 34px !important;
    border: 1px solid #d5d5d5;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
}

.bz-ebux-step-hidden { display: none !important; }

.bz-ebux-form .eb-heading.bz-ebux-section-heading {
    margin: 0 0 26px !important;
    padding: 0 0 14px !important;
    border-bottom: 2px solid var(--bz-ebux-accent) !important;
    color: #111111 !important;
    font-family: "Barlow Condensed", "Oswald", "Arial Narrow", Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

.bz-ebux-form .control-group,
.bz-ebux-form .form-group,
.bz-ebux-form .form-row {
    margin: 0 0 22px !important;
}

/* Visual hierarchy between complete question blocks. The first question in
   every step remains open; subsequent questions receive a subtle full-width
   divider with a short BZ Academy red accent. */
.bz-ebux-form .bz-ebux-question-block {
    position: relative;
}

.bz-ebux-form .bz-ebux-question-separator {
    padding-top: 27px !important;
}

.bz-ebux-form .bz-ebux-question-separator::before,
.bz-ebux-form .bz-ebux-question-separator::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bz-ebux-form .bz-ebux-question-separator::before {
    right: 0;
    height: 1px;
    background: #dedede;
}

.bz-ebux-form .bz-ebux-question-separator::after {
    width: 54px;
    height: 3px;
    top: -1px;
    background: var(--bz-ebux-accent);
}

.bz-ebux-form .control-label,
.bz-ebux-form .form-control-label {
    padding-top: 10px !important;
    padding-right: 24px !important;
    color: #292929;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.bz-ebux-form .required { color: var(--bz-ebux-accent) !important; }

.bz-ebux-form input[type="text"],
.bz-ebux-form input[type="email"],
.bz-ebux-form input[type="tel"],
.bz-ebux-form input[type="url"],
.bz-ebux-form input[type="number"],
.bz-ebux-form input[type="password"],
.bz-ebux-form input[type="date"],
.bz-ebux-form input[type="time"],
.bz-ebux-form select,
.bz-ebux-form textarea,
.bz-ebux-form .form-control,
.bz-ebux-form .form-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfcfcf !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #111111 !important;
    font-size: 15px;
}

.bz-ebux-form textarea { min-height: 126px; padding: 13px 14px; resize: vertical; }

.bz-ebux-form input:focus,
.bz-ebux-form select:focus,
.bz-ebux-form textarea:focus {
    border-color: var(--bz-ebux-accent) !important;
    box-shadow: 0 0 0 3px rgba(225, 38, 28, .13) !important;
    outline: 0 !important;
}

.bz-ebux-form label.radio,
.bz-ebux-form label.checkbox,
.bz-ebux-form #payment_method_container label {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 7px !important;
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    background: #fafafa;
    cursor: pointer;
}

.bz-ebux-form input[type="radio"],
.bz-ebux-form input[type="checkbox"] {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 1px 0 0 !important;
    accent-color: var(--bz-ebux-accent);
}

.bz-ebux-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #dddddd;
}

.bz-ebux-button {
    min-width: 150px;
    min-height: 50px;
    padding: 14px 22px;
    border: 1px solid #111111;
    border-radius: 0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.bz-ebux-button--primary { margin-left: auto; background: var(--bz-ebux-accent); border-color: var(--bz-ebux-accent); color: #ffffff; }
.bz-ebux-button--secondary { background: #ffffff; color: #111111; }
.bz-ebux-button__arrow { margin-left: 12px; }

.bz-ebux-live { flex: 0 0 100%; color: var(--bz-ebux-accent); font-size: 13px; font-weight: 700; text-align: right; }

.bz-ebux-invalid { padding: 10px !important; border-left: 4px solid var(--bz-ebux-accent); background: #fff5f4; }
.bz-ebux-error { margin-top: 7px; color: #b71810; font-size: 13px; font-weight: 700; }

.bz-ebux-review {
    margin: 0 0 28px;
    padding: 22px;
    border-left: 5px solid var(--bz-ebux-accent);
    background: #f4f4f4;
}

.bz-ebux-review__title { margin: 0 0 7px; font-family: "Barlow Condensed", "Oswald", Arial, sans-serif; font-size: 25px; text-transform: uppercase; }
.bz-ebux-review__intro { margin: 0 0 18px; color: #555555; }
.bz-ebux-review__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: #dedede; }
.bz-ebux-review__item { padding: 13px 15px; background: #ffffff; }
.bz-ebux-review__item--wide { grid-column: 1 / -1; }
.bz-ebux-review__term { margin-bottom: 4px; color: #666666; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.bz-ebux-review__description { margin: 0; font-size: 14px; font-weight: 700; }


/* Final payment step */
.bz-ebux-form #eb-amount-container.bz-ebux-total-card {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 0 !important;
    padding: 20px 22px !important;
    border: 0 !important;
    border-left: 5px solid var(--bz-ebux-accent) !important;
    background: #111111 !important;
    color: #ffffff;
}

.bz-ebux-form #eb-amount-container.bz-ebux-total-card > .control-label,
.bz-ebux-form #eb-amount-container.bz-ebux-total-card > .form-control-label {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: "Barlow Condensed", "Oswald", Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.bz-ebux-form #eb-amount-container.bz-ebux-total-card > .controls,
.bz-ebux-form #eb-amount-container.bz-ebux-total-card > .eb-form-control,
.bz-ebux-form #eb-amount-container.bz-ebux-total-card > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bz-ebux-form #eb-amount-container.bz-ebux-total-card .input-group,
.bz-ebux-form #eb-amount-container.bz-ebux-total-card .input-prepend {
    display: inline-flex;
    align-items: center;
    width: auto;
}

.bz-ebux-form #eb-amount-container.bz-ebux-total-card input {
    width: 150px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 27px !important;
    font-weight: 900 !important;
    text-align: right;
}

.bz-ebux-form #eb-amount-container.bz-ebux-total-card .input-group-text,
.bz-ebux-form #eb-amount-container.bz-ebux-total-card .add-on {
    padding: 0 5px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--bz-ebux-accent) !important;
    font-size: 23px;
    font-weight: 900;
}

.bz-ebux-form #deposit_amount_container.bz-ebux-native-deposit-amount {
    display: none !important;
}

.bz-ebux-form #eb-payment-type-container.bz-ebux-payment-type,
.bz-ebux-form #payment_method_container.bz-ebux-payment-method {
    display: block !important;
    margin: 0 !important;
    padding-top: 30px !important;
}

.bz-ebux-form #eb-payment-type-container.bz-ebux-payment-type > .controls,
.bz-ebux-form #eb-payment-type-container.bz-ebux-payment-type > .eb-form-control,
.bz-ebux-form #eb-payment-type-container.bz-ebux-payment-type > [class*="col-"],
.bz-ebux-form #payment_method_container.bz-ebux-payment-method > .controls,
.bz-ebux-form #payment_method_container.bz-ebux-payment-method > .eb-form-control,
.bz-ebux-form #payment_method_container.bz-ebux-payment-method > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bz-ebux-native-payment-type {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bz-ebux-payment-section__heading,
.bz-ebux-payment-method__heading {
    margin: 0 0 17px;
}

.bz-ebux-payment-section__title {
    margin: 0 0 6px;
    color: #111111;
    font-family: "Barlow Condensed", "Oswald", Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.bz-ebux-payment-section__intro {
    margin: 0;
    color: #5b5b5b;
    font-size: 14px;
    line-height: 1.55;
}

.bz-ebux-payment-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bz-ebux-form .bz-ebux-payment-choice__option {
    position: relative;
    display: flex !important;
    align-items: flex-start;
    gap: 13px;
    min-height: 138px;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid #cfcfcf !important;
    background: #ffffff !important;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.bz-ebux-form .bz-ebux-payment-choice__option:hover {
    border-color: #999999 !important;
}

.bz-ebux-form .bz-ebux-payment-choice__option.is-selected {
    border: 2px solid var(--bz-ebux-accent) !important;
    padding: 17px !important;
    background: #fff8f7 !important;
    box-shadow: 0 0 0 3px rgba(225, 38, 28, .08);
}

.bz-ebux-payment-choice__radio {
    margin-top: 2px !important;
}

.bz-ebux-payment-choice__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bz-ebux-payment-choice__title {
    color: #111111;
    font-size: 16px;
    font-weight: 800;
}

.bz-ebux-payment-choice__amount {
    min-height: 24px;
    color: var(--bz-ebux-accent);
    font-family: "Barlow Condensed", "Oswald", Arial, sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.bz-ebux-payment-choice__description {
    color: #5d5d5d;
    font-size: 13px;
    line-height: 1.5;
}

.bz-ebux-form #payment_method_container.bz-ebux-payment-method label {
    min-height: 52px;
    align-items: center !important;
    background: #ffffff;
}

.bz-ebux-form .form-actions {
    margin: 28px 0 0 !important;
    padding: 22px 0 0 !important;
    border-top: 1px solid #dddddd;
    background: transparent !important;
}

.bz-ebux-form .form-actions #btn-submit {
    min-height: 52px;
    padding: 14px 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--bz-ebux-accent) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .bz-ebux-progress__list { display: none; }
    .bz-ebux-progress__compact { display: block; }
    .bz-ebux-form { padding: 25px 22px 28px !important; }
    .bz-ebux-review__grid { grid-template-columns: 1fr; }
    .bz-ebux-payment-choice { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    #eb-individual-registration-page:has(.bz-ebux-form),
    #eb-group-billing:has(.bz-ebux-form),
    #eb-group-registration-form:has(.bz-ebux-form) { padding: 20px 12px 50px; }
    .bz-ebux-hero { padding: 25px 22px; }
    .bz-ebux-form .control-group,
    .bz-ebux-form .form-group { display: block !important; }
    .bz-ebux-form .control-label,
    .bz-ebux-form .form-control-label { width: 100% !important; padding: 0 0 8px !important; }
    .bz-ebux-form .controls { width: 100% !important; }
    .bz-ebux-form .bz-ebux-question-separator { padding-top: 23px !important; }
    .bz-ebux-form .bz-ebux-question-separator::after { width: 46px; }
    .bz-ebux-navigation { align-items: stretch; }
    .bz-ebux-button { flex: 1 1 100%; width: 100%; }
    .bz-ebux-button--primary { margin-left: 0; }
    .bz-ebux-live { text-align: left; }
    .bz-ebux-form #eb-amount-container.bz-ebux-total-card { align-items: flex-start; flex-direction: column; gap: 10px; }
    .bz-ebux-form #eb-amount-container.bz-ebux-total-card input { width: 130px !important; text-align: left; }
    .bz-ebux-form .bz-ebux-payment-choice__option { min-height: 0; }
}
