.bcf-app-page {
    font-family: Urbanist;
    color: #0a0f1f;
    background: #f1f3f6;
    padding-bottom: 80px;
    transition: background .2s ease, padding .2s ease;
}
/* When the success view is active, swap to the dark background and drop the grey gap */
.bcf-app-page.is-success-view {
    background: linear-gradient(135deg, #0F172B 0%, #1D293D 50%, #0F172B 100%);
    padding-bottom: 0;
}
/* Force hidden attribute to actually hide — beats theme CSS overrides */
.bcf-app-page [hidden],
[hidden].bcf-app-success {
    display: none !important;
}

/* ============== BANNER ============== */
.bcf-app-banner {
    background: linear-gradient(135deg, #0d1426 0%, #1a2440 100%);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
}
.bcf-app-banner__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}
.bcf-app-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd47a, #f4b740);
    color: #4d2e08;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.bcf-app-banner__star { font-size: 13px; }
.bcf-app-banner__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin: 0 0 14px;
    color: #ffffff !important;
}
.bcf-app-banner__sub {
    font-size: 14px;
    line-height: 1.6;
    opacity: .85;
    margin: 0;
    color: #ffffff !important;
}
.bcf-app-banner__applying {
    margin-top: 18px;
    font-size: 13px;
    opacity: .9;
    color: #ffffff !important;
}
.bcf-app-banner__applying strong { color: #f4b740 !important; }

/* ============== WRAP ============== */
.bcf-app-wrap {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px;
    position: relative;
}

/* ============== PROGRESS ============== */
.bcf-app-progress {
    padding: 0 8px 30px;
}
.bcf-app-progress__head {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 22px;
}
.bcf-app-progress__label-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
}
.bcf-app-progress__label {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #f4b740;
    font-weight: 700;
    white-space: nowrap;
}
.bcf-app-progress__bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bcf-app-progress__bar {
    flex: 1;
    height: 4px;
    background: #e6e9ee;
    border-radius: 999px;
    overflow: hidden;
    max-width: 140px;
}
.bcf-app-progress__fill {
    height: 100%;
    background: #f4b740;
    width: 12.5%; /* 1/8 */
    transition: width .3s ease;
}
.bcf-app-progress__percent {
    font-size: 13px;
    font-weight: 600;
    color: #6b6b6b;
}
.bcf-app-progress__steps-area {
    flex: 1;
    min-width: 0;
}
.bcf-app-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}
.bcf-app-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 0;
}
/* Connecting line between steps — appears to the LEFT of every step except the first */
.bcf-app-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 50%;
    width: 100%;
    height: 1px;
    background: #d8dde4;
    z-index: 0;
}
.bcf-app-step__num-wrap {
    position: relative;
    z-index: 1;
    background: #f1f3f6;
}
.bcf-app-step__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6e9ee;
    color: #8a8a8a;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.bcf-app-step__label {
    font-size: 11px;
    color: #6b6b6b;
    white-space: nowrap;
    font-weight: 500;
}
.bcf-app-step.is-active .bcf-app-step__num {
    background: #f4b740;
    color: #fff;
}
.bcf-app-step.is-active .bcf-app-step__label {
    color: #0a0f1f;
    font-weight: 600;
}
.bcf-app-step.is-complete .bcf-app-step__num {
    background: #f4b740;
    color: #fff;
}

/* ============== FORM CARD ============== */
.bcf-app-form {
    background: #fff;
    border-radius: 16px;
    padding: 38px 42px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.bcf-app-section { display: none; }
.bcf-app-section.is-active { display: block; animation: bcfFade .25s ease; }
@keyframes bcfFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: none; }
}
.bcf-app-section__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 28px;
}
.bcf-app-section__num {
    font-size: 14px;
    color: #6b6b6b;
    font-weight: 500;
}
.bcf-app-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #0a0f1f;
    margin: 0;
}

/* ============== FIELDS ============== */
.bcf-app-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    margin-bottom: 18px;
}
.bcf-app-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.bcf-app-field--full {
    margin-bottom: 18px;
}
.bcf-app-label {
    font-size: 13px;
    color: #3a3f4f;
    margin-bottom: 6px;
    font-weight: 500;
}
.bcf-app-req { color: #f4b740; }
.bcf-app-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d8dde4;
    border-radius: 8px;
    font-size: 14px;
    color: #0a0f1f;
    background: #fff;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
}
.bcf-app-input::placeholder { color: #b0b3bb; }
.bcf-app-input:focus {
    outline: none;
    border-color: #f4b740;
    box-shadow: 0 0 0 3px rgba(244, 183, 64, 0.15);
}
.bcf-app-input.has-error {
    border-color: #e24b4a;
    background: #fff5f5;
}
select.bcf-app-input {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b6b6b' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Phone with country code */
.bcf-app-phone {
    display: flex;
    gap: 8px;
}
.bcf-app-phone__code {
    flex: 0 0 90px;
}
.bcf-app-phone__num {
    flex: 1;
    min-width: 0;
}

/* Radios */
.bcf-app-radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
    padding-top: 8px;
}
.bcf-app-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #3a3f4f;
    cursor: pointer;
    user-select: none;
}
.bcf-app-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.bcf-app-radio__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #d8dde4;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s ease, border-width .15s ease;
    box-sizing: border-box;
}
.bcf-app-radio input:checked + .bcf-app-radio__dot {
    border: 4px solid #f4b740;
}
.bcf-app-radio--center {
    justify-content: center;
}

/* ============== LANGUAGES TABLE ============== */
.bcf-app-langs {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid #eef1f5;
}
.bcf-app-langs__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #0a0f1f;
    margin-bottom: 22px;
}
.bcf-app-langs__bar {
    width: 3px;
    height: 16px;
    background: #f4b740;
    border-radius: 2px;
}
.bcf-app-langs__head,
.bcf-app-langs__row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.bcf-app-langs__head {
    font-size: 13px;
    color: #6b6b6b;
    text-align: center;
    border-bottom: 1px solid #eef1f5;
    padding-bottom: 14px;
    margin-bottom: 6px;
}
.bcf-app-langs__head > div:first-child { text-align: left; }
.bcf-app-langs__name {
    font-size: 14px;
    color: #3a3f4f;
}

/* ============== ACTIONS ============== */
.bcf-app-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
}
.bcf-app-actions--end { justify-content: flex-end; }
.bcf-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 26px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s ease, transform .15s ease;
    text-decoration: none;
    line-height: 1;
    box-shadow: none;
}
.bcf-app-btn--primary,
button.bcf-app-btn--primary,
button[type="submit"].bcf-app-btn--primary {
    background: #f4b740 !important;
    color: #ffffff !important;
    border: 0 !important;
    text-shadow: none !important;
}
.bcf-app-btn--primary:hover,
button.bcf-app-btn--primary:hover {
    background: #e6a72f !important;
    color: #ffffff !important;
}
.bcf-app-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.bcf-app-btn--ghost {
    background: #8a8a8a !important;
    color: #ffffff !important;
}
.bcf-app-btn--ghost:hover {
    background: #6b6b6b !important;
    color: #ffffff !important;
}

/* ============== STATUS ============== */
.bcf-app-status {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px;
}
.bcf-app-status.is-error { background: #fff5f5; color: #b00020; border: 1px solid #ffd5d5; }
.bcf-app-status.is-success { background: #f0faf3; color: #1d6b3a; border: 1px solid #c6e9d2; }

/* ============== SUBGROUPS (yellow-bar headings) ============== */
.bcf-app-subgroup {
    margin-top: 14px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eef1f5;
}
.bcf-app-subgroup:last-of-type { border-bottom: none; }
.bcf-app-subgroup__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f1f;
    margin-bottom: 18px;
}
.bcf-app-subgroup__bar {
    width: 3px;
    height: 14px;
    background: #f4b740;
    border-radius: 2px;
}

/* ============== YEAR RANGE (Year Joined — Year Left) ============== */
.bcf-app-year-range {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bcf-app-year-range__sep {
    color: #b0b3bb;
    font-size: 14px;
}
.bcf-app-year-range .bcf-app-input { flex: 1; min-width: 0; }

/* ============== CURRENCY (RM prefix) ============== */
.bcf-app-currency {
    position: relative;
}
.bcf-app-currency__prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: #3a3f4f;
    pointer-events: none;
}
.bcf-app-currency .bcf-app-input {
    padding-left: 44px;
}

/* ============== TEXTAREA ============== */
.bcf-app-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* ============== CONDITIONAL SECTIONS ============== */
.bcf-app-conditional {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px dashed #e8edf2;
}

/* ============== COUNTER (+/-) ============== */
.bcf-app-counter {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d8dde4;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.bcf-app-counter__btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: #fff;
    font-size: 18px;
    color: #0a0f1f;
    cursor: pointer;
    font-weight: 600;
    transition: background .15s ease;
}
.bcf-app-counter__btn:hover { background: #f0f4f9; }
.bcf-app-counter__input {
    width: 60px;
    text-align: center;
    border: 0 !important;
    border-left: 1px solid #d8dde4 !important;
    border-right: 1px solid #d8dde4 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    height: 40px;
    background: #fff !important;
}

/* ============== CHECKBOXES ============== */
.bcf-app-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #3a3f4f;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
    padding: 4px 0;
}
.bcf-app-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.bcf-app-checkbox__box {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d8dde4;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    background: #fff;
    transition: all .15s ease;
}
.bcf-app-checkbox__box::after {
    content: '✓';
    font-size: 13px;
    color: #fff;
    transform: scale(0);
    transition: transform .15s ease;
}
.bcf-app-checkbox input:checked + .bcf-app-checkbox__box {
    background: #f4b740;
    border-color: #f4b740;
}
.bcf-app-checkbox input:checked + .bcf-app-checkbox__box::after {
    transform: scale(1);
}
.bcf-app-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bcf-app-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px 24px;
}

/* ============== DECLARATION ROWS ============== */
.bcf-app-decl-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    flex-wrap: wrap;
}
.bcf-app-decl-row__q {
    flex: 1;
    font-size: 14px;
    color: #3a3f4f;
    line-height: 1.5;
    min-width: 0;
}
.bcf-app-decl-row__a {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

/* ============== PDPA BLOCK ============== */
.bcf-app-pdpa {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #eef1f5;
}
.bcf-app-pdpa__title {
    font-size: 14px;
    font-weight: 700;
    color: #0a0f1f;
    margin-bottom: 12px;
}
.bcf-app-pdpa p {
    font-size: 13px;
    line-height: 1.6;
    color: #3a3f4f;
    margin: 0 0 14px;
}

/* ============== FILE INPUTS (declaration) ============== */
.bcf-app-file-input {
    padding: 10px 0;
    font-size: 13px;
}

/* ============== DOCUMENT UPLOAD ROWS (step 7) ============== */
.bcf-app-doc-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #fff;
}
.bcf-app-doc-row__info {
    flex: 1;
    min-width: 0;
}
.bcf-app-doc-row__label {
    font-size: 14px;
    font-weight: 600;
    color: #0a0f1f;
    margin-bottom: 6px;
}
.bcf-app-doc-row__hint {
    font-size: 12px;
    color: #8a8a8a;
}
.bcf-app-doc-row__hint.is-hidden { display: none; }
.bcf-app-doc-row__filename {
    display: none;
    margin-top: 8px;
    align-items: center;
    gap: 10px;
}
.bcf-app-doc-row__filename.is-visible { display: flex; }
.bcf-app-doc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    border: 1px solid #e8edf2;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    color: #3a3f4f;
    max-width: 240px;
}
.bcf-app-doc-chip__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.bcf-app-doc-chip__remove {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 0;
    background: #eef1f5;
    color: #6b6b6b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
    padding: 0;
    transition: background .15s ease;
}
.bcf-app-doc-chip__remove:hover {
    background: #e24b4a;
    color: #fff;
}
.bcf-app-doc-row__count-text {
    font-size: 12px;
    color: #1d6b3a;
    font-weight: 500;
}
.bcf-app-doc-row__btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #d8dde4;
    background: #fff;
    color: #0a0f1f;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .15s ease;
}
.bcf-app-doc-row__btn:hover {
    background: #fff8eb;
    border-color: #f4b740;
    color: #f4b740;
}
.bcf-app-doc-row.is-filled .bcf-app-doc-row__btn {
    background: #fff;
    color: #f4b740;
    border-color: #f4b740;
}
.bcf-app-doc-input {
    display: none;
}

/* ============== SIBLING CARD ============== */
.bcf-app-sibling-card {
    margin-top: 18px;
    padding: 18px 20px;
    background: #f8fafc;
    border-radius: 10px;
}
.bcf-app-sibling-card__title {
    font-size: 13px;
    font-weight: 700;
    color: #0a0f1f;
    margin-bottom: 12px;
}

/* ============== SUCCESS SCREEN ============== */
.bcf-app-success {
    min-height: 100vh;
    background: linear-gradient(135deg, #0F172B 0%, #1D293D 50%, #0F172B 100%);
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    color: #fff;
}
.bcf-app-success:not([hidden]) {
    display: flex;
}
.bcf-app-success__inner {
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bcf-app-success__check {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f4b740;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.bcf-app-success__badge {
    margin-bottom: 18px;
}
.bcf-app-success__title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin: 0 0 14px;
    color: #ffffff !important;
}
.bcf-app-success__sub {
    font-size: 14px;
    line-height: 1.6;
    opacity: .85;
    margin: 0 0 28px;
    color: #ffffff !important;
}
.bcf-app-success__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f4b740;
    color: #0a0f1f !important;
    padding: 13px 30px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s ease, transform .15s ease;
}
.bcf-app-success__btn:hover {
    background: #e6a72f;
    color: #0a0f1f !important;
    transform: translateY(-1px);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 720px) {
    .bcf-app-form { padding: 26px 22px; }
    .bcf-app-row { grid-template-columns: 1fr; }
    .bcf-app-progress__head {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .bcf-app-progress__label-wrap {
        min-width: 0;
    }
    .bcf-app-steps {
        overflow-x: auto;
        justify-content: flex-start;
    }
    .bcf-app-step { min-width: 90px; }
    .bcf-app-banner { padding: 60px 0 40px; }
    .bcf-app-checkbox-grid { grid-template-columns: 1fr 1fr; }
    .bcf-app-decl-row { flex-direction: column; align-items: flex-start; }
    .bcf-app-decl-row__a { width: 100%; }
    .bcf-app-doc-row { flex-wrap: wrap; }
}

/* THIS PORTION IS HIDDEN, Taxonomy for scholarship
<?php
    // Render study_field taxonomy: parent terms with their children as pills
    $parent_terms = get_the_terms( get_the_ID(), 'study_field' );
    if ( ! is_wp_error( $parent_terms ) && ! empty( $parent_terms ) ) :

        // Group: parent term => array of child term objects
        $grouped = array();
        foreach ( $parent_terms as $term ) {
            if ( $term->parent == 0 ) {
                if ( ! isset( $grouped[ $term->term_id ] ) ) {
                    $grouped[ $term->term_id ] = array(
                        'parent'   => $term,
                        'children' => array(),
                    );
                }
            }
        }
        foreach ( $parent_terms as $term ) {
            if ( $term->parent != 0 && isset( $grouped[ $term->parent ] ) ) {
                $grouped[ $term->parent ]['children'][] = $term;
            }
        }

if ( ! empty( $grouped ) ) : ?>
        <p class="bcf-ssch-fields-intro">We look to sponsor students intending to pursue higher education in the following fields of study:</p>

        <div class="bcf-ssch-fields">
            <?php foreach ( $grouped as $group ) :
                if ( empty( $group['children'] ) ) continue; ?>
                <div class="bcf-ssch-fields__group">
                    <div class="bcf-ssch-fields__label"><?php echo esc_html( strtoupper( $group['parent']->name ) ); ?></div>
                    <div class="bcf-ssch-fields__pills">
                        <?php foreach ( $group['children'] as $child ) : ?>
                            <span class="bcf-ssch-pill"><?php echo esc_html( $child->name ); ?></span>
                        <?php endforeach; ?>
                    </div>
                </div>
            <?php endforeach; ?>
        </div>
    <?php endif;
endif; ?> */

.bcf-pa-page {
        font-family: Urbanist;
        color: #0a0f1f;
        background: #f1f3f6;
        padding-bottom: 80px;
        transition: background .2s ease, padding .2s ease;
    }
    .bcf-pa-page [hidden],
    [hidden].bcf-pa-success {
        display: none !important;
    }
    .bcf-pa-page.is-success-view {
        background: linear-gradient(135deg, #0F172B 0%, #1D293D 50%, #0F172B 100%);
        padding-bottom: 0;
    }
 
    /* ============== BANNER ============== */
    .bcf-pa-banner {
        background: linear-gradient(135deg, #0d1426 0%, #1a2440 100%);
        color: #fff;
        padding: 100px 0 60px;
        text-align: center;
    }
    .bcf-pa-banner__inner {
        max-width: 720px;
        margin: 0 auto;
        padding: 0 24px;
    }
    .bcf-pa-banner__badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: linear-gradient(135deg, #ffd47a, #f4b740);
        color: #4d2e08;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.5px;
        padding: 6px 14px;
        border-radius: 999px;
        margin-bottom: 18px;
    }
    .bcf-pa-banner__star { font-size: 13px; }
    .bcf-pa-banner__title {
        font-size: clamp(28px, 4vw, 40px);
        font-weight: 800;
        margin: 0 0 14px;
        color: #ffffff !important;
    }
    .bcf-pa-banner__sub {
        font-size: 14px;
        line-height: 1.6;
        opacity: .85;
        margin: 0;
        color: #ffffff !important;
    }
 
    /* ============== WRAP / FORM CARD ============== */
    .bcf-pa-wrap {
        max-width: 900px;
        margin: 40px auto 0;
        padding: 0 24px;
    }
    .bcf-pa-form {
        background: #fff;
        border-radius: 16px;
        padding: 38px 42px;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    }
 
    /* ============== SUBGROUPS ============== */
    .bcf-pa-subgroup {
        margin-bottom: 28px;
        padding-bottom: 22px;
        border-bottom: 1px solid #eef1f5;
    }
    .bcf-pa-subgroup:last-of-type { border-bottom: none; }
    .bcf-pa-subgroup__title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 700;
        color: #0a0f1f;
        margin-bottom: 18px;
    }
    .bcf-pa-subgroup__bar {
        width: 3px;
        height: 14px;
        background: #f4b740;
        border-radius: 2px;
    }
 
    /* ============== CONDITIONAL ============== */
    .bcf-pa-conditional[hidden] { display: none !important; }
 
    .bcf-pa-intro {
        font-size: 13px;
        line-height: 1.6;
        color: #5a6273;
        margin: 0 0 18px;
    }
 
    /* ============== FIELDS ============== */
    .bcf-pa-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 24px;
        margin-bottom: 18px;
    }
    .bcf-pa-field {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
    .bcf-pa-field--full { margin-bottom: 18px; }
    .bcf-pa-label {
        font-size: 13px;
        color: #3a3f4f;
        margin-bottom: 6px;
        font-weight: 500;
    }
    .bcf-pa-req { color: #f4b740; }
    .bcf-pa-input {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid #d8dde4;
        border-radius: 8px;
        font-size: 14px;
        color: #0a0f1f;
        background: #fff;
        font-family: inherit;
        transition: border-color .15s ease, box-shadow .15s ease;
        box-sizing: border-box;
    }
    .bcf-pa-input::placeholder { color: #b0b3bb; }
    .bcf-pa-input:focus {
        outline: none;
        border-color: #f4b740;
        box-shadow: 0 0 0 3px rgba(244, 183, 64, 0.15);
    }
    .bcf-pa-input.has-error {
        border-color: #e24b4a;
        background: #fff5f5;
    }
    select.bcf-pa-input {
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b6b6b' d='M6 8L0 0h12z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 14px center;
        padding-right: 36px;
    }
    .bcf-pa-phone {
        display: flex;
        gap: 8px;
    }
    .bcf-pa-phone__code { flex: 0 0 90px; }
    .bcf-pa-phone__num { flex: 1; min-width: 0; }
 
    /* ============== RADIOS (hollow ring style) ============== */
    .bcf-pa-radio-group {
        display: flex;
        gap: 24px;
        align-items: center;
        padding-top: 4px;
    }
    .bcf-pa-radio {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #3a3f4f;
        cursor: pointer;
        user-select: none;
    }
    .bcf-pa-radio input {
        position: absolute;
        opacity: 0;
        width: 0; height: 0;
    }
    .bcf-pa-radio__dot {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 1.5px solid #d8dde4;
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: border-color .15s ease, border-width .15s ease;
        box-sizing: border-box;
    }
    .bcf-pa-radio input:checked + .bcf-pa-radio__dot {
        border: 4px solid #f4b740;
    }
 
    /* ============== DOCUMENT UPLOAD ROWS ============== */
    .bcf-pa-doc-row {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 14px 18px;
        border: 1px solid #e8edf2;
        border-radius: 10px;
        margin-bottom: 12px;
        background: #fff;
    }
    .bcf-pa-doc-row__info {
        flex: 1;
        min-width: 0;
    }
    .bcf-pa-doc-row__label {
        font-size: 14px;
        font-weight: 600;
        color: #0a0f1f;
        margin-bottom: 6px;
    }
    .bcf-pa-doc-row__hint {
        font-size: 12px;
        color: #8a8a8a;
    }
    .bcf-pa-doc-row__hint.is-hidden { display: none; }
    .bcf-pa-doc-row__filename {
        display: none;
        margin-top: 8px;
        align-items: center;
        gap: 10px;
    }
    .bcf-pa-doc-row__filename.is-visible { display: flex; }
    .bcf-pa-doc-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 8px 6px 12px;
        border: 1px solid #e8edf2;
        border-radius: 999px;
        background: #fff;
        font-size: 12px;
        color: #3a3f4f;
        max-width: 240px;
    }
    .bcf-pa-doc-chip__name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }
    .bcf-pa-doc-chip__remove {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 0;
        background: #eef1f5;
        color: #6b6b6b;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 12px;
        line-height: 1;
        flex-shrink: 0;
        padding: 0;
        transition: background .15s ease;
    }
    .bcf-pa-doc-chip__remove:hover {
        background: #e24b4a;
        color: #fff;
    }
    .bcf-pa-doc-row__count-text {
        font-size: 12px;
        color: #1d6b3a;
        font-weight: 500;
    }
    .bcf-pa-doc-row__btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid #d8dde4;
        background: #fff;
        color: #0a0f1f;
        font-size: 16px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: all .15s ease;
    }
    .bcf-pa-doc-row__btn:hover {
        background: #fff8eb;
        border-color: #f4b740;
        color: #f4b740;
    }
    .bcf-pa-doc-row.is-filled .bcf-pa-doc-row__btn {
        background: #fff;
        color: #f4b740;
        border-color: #f4b740;
    }
    .bcf-pa-doc-input { display: none; }
 
    /* ============== ACTIONS / BUTTONS ============== */
    .bcf-pa-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-top: 22px;
    }
    .bcf-pa-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 11px 36px;
        border: 0;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        font-family: inherit;
        transition: background .2s ease;
        text-decoration: none;
        line-height: 1;
        box-shadow: none;
    }
    .bcf-pa-btn--primary,
    button.bcf-pa-btn--primary,
    button[type="submit"].bcf-pa-btn--primary {
        background: #f4b740 !important;
        color: #ffffff !important;
        border: 0 !important;
        text-shadow: none !important;
    }
    .bcf-pa-btn--primary:hover {
        background: #e6a72f !important;
        color: #fff !important;
    }
    .bcf-pa-btn--primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
 
    /* ============== STATUS ============== */
    .bcf-pa-status {
        margin-top: 18px;
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 14px;
    }
    .bcf-pa-status.is-error { background: #fff5f5; color: #b00020; border: 1px solid #ffd5d5; }
    .bcf-pa-status.is-success { background: #f0faf3; color: #1d6b3a; border: 1px solid #c6e9d2; }
 
    /* ============== SUCCESS SCREEN ============== */
    .bcf-pa-success {
        min-height: 100vh;
        background: linear-gradient(135deg, #0F172B 0%, #1D293D 50%, #0F172B 100%);
        align-items: center;
        justify-content: center;
        padding: 80px 24px;
        text-align: center;
        color: #fff;
    }
    .bcf-pa-success:not([hidden]) { display: flex; }
    .bcf-pa-success__inner {
        max-width: 580px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .bcf-pa-success__check {
        width: 70px; height: 70px;
        border-radius: 50%;
        background: #f4b740;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 22px;
    }
    .bcf-pa-success__badge { margin-bottom: 18px; }
    .bcf-pa-success__title {
        font-size: clamp(26px, 4vw, 36px);
        font-weight: 800;
        margin: 0 0 14px;
        color: #ffffff !important;
    }
    .bcf-pa-success__sub {
        font-size: 14px;
        line-height: 1.6;
        opacity: .85;
        margin: 0 0 28px;
        color: #ffffff !important;
    }
    .bcf-pa-success__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #f4b740;
        color: #0a0f1f !important;
        padding: 13px 30px;
        border-radius: 999px;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
        transition: background .2s ease, transform .15s ease;
    }
    .bcf-pa-success__btn:hover {
        background: #e6a72f;
        transform: translateY(-1px);
    }
 
    /* ============== RESPONSIVE ============== */
    @media (max-width: 720px) {
        .bcf-pa-form { padding: 26px 22px; }
        .bcf-pa-row { grid-template-columns: 1fr; }
        .bcf-pa-banner { padding: 60px 0 40px; }
        .bcf-pa-doc-row { flex-wrap: wrap; }
    }