/* ==========================================
   BBR REGISTRATION FORM
   Premium Navy & Gold Theme
========================================== */

.bbr-registration-section {
    --brr-gold: #dcae40;
    --brr-gold-light: #f2d78f;
    --brr-navy: #071426;
    --brr-navy-light: #0c2039;
    --brr-border: rgba(220, 174, 64, 0.19);

    position: relative;
    padding: 90px 0 110px;
    background:
        radial-gradient(circle at 10% 5%,
            rgba(220, 174, 64, 0.065),
            transparent 27%),
        radial-gradient(circle at 95% 35%,
            rgba(40, 77, 120, 0.14),
            transparent 30%),
        #050b14;
    color: #f0f4f8;
    /* overflow: hidden; */
}

.bbr-registration-section,
.bbr-registration-section * {
    box-sizing: border-box;
}

.bbr-registration-section .container {
    position: relative;
    z-index: 1;
}

/* INTRO */

.bbr-registration-intro {
    max-width: 850px;
    margin: 0 auto 55px;
}

.bbr-form-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 20px;
    color: var(--brr-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.bbr-form-eyebrow span {
    width: 30px;
    height: 1px;
    background: var(--brr-gold);
}

.bbr-registration-intro h2 {
    margin: 0 0 20px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.bbr-registration-intro h2 span {
    color: var(--brr-gold);
    font-style: italic;
}

.bbr-registration-intro>p {
    max-width: 690px;
    margin: 0 auto;
    color: #aeb7c4;
    font-size: 16px;
    line-height: 1.9;
}

.bbr-registration-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px 25px;
    margin-top: 28px;
}

.bbr-registration-trust span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c9d0d9;
    font-size: 12px;
    font-weight: 500;
}

.bbr-registration-trust i {
    color: var(--brr-gold);
    font-size: 14px;
}

/* MAIN LAYOUT */

.bbr-registration-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.bbr-registration-sidebar {
    position: sticky !important;
    top: 110px;
    padding: 27px 21px;
    border: 1px solid var(--brr-border);
    border-radius: 20px;
    background:
        linear-gradient(145deg,
            rgba(15, 35, 61, 0.98),
            rgba(6, 17, 32, 0.98));
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.bbr-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bbr-sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 47px;
    height: 47px;
    border: 1px solid rgba(220, 174, 64, 0.38);
    border-radius: 14px;
    background: rgba(220, 174, 64, 0.1);
    color: var(--brr-gold-light);
    font-size: 21px;
}

.bbr-sidebar-brand h3 {
    margin: 0 0 5px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
}

.bbr-sidebar-brand p {
    margin: 0;
    color: #9caabd;
    font-size: 11px;
}

.bbr-form-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 26px;
    margin-bottom: 12px;
}

.bbr-form-progress-heading span {
    color: #9caabd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.bbr-form-progress-heading strong {
    color: var(--brr-gold-light);
    font-size: 14px;
}

.bbr-form-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
}

.bbr-form-progress .progress-bar {
    border-radius: 10px;
    background: linear-gradient(90deg,
            #a97d25,
            #f2d78f);
    transition: width 0.35s ease;
}

.bbr-sidebar-note {
    margin: 12px 0 24px;
    color: #93a0b2;
    font-size: 12px;
    line-height: 1.7;
}

.bbr-form-steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bbr-form-step {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: 0.25s ease;
}

.bbr-form-step:hover,
.bbr-form-step.active {
    border-color: rgba(220, 174, 64, 0.2);
    background: rgba(220, 174, 64, 0.075);
}

.bbr-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #9caabd;
    font-size: 11px;
    font-weight: 700;
    transition: 0.25s ease;
}

.bbr-form-step.active .bbr-step-number,
.bbr-form-step.completed .bbr-step-number {
    border-color: var(--brr-gold);
    background: var(--brr-gold);
    color: #071426;
}

.bbr-step-text {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.bbr-step-text strong {
    color: #dfe5ed;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.bbr-step-text small {
    color: #8795a8;
    font-size: 10px;
}

.bbr-form-step>i {
    color: #637287;
    font-size: 10px;
}

.bbr-form-step.active>i {
    color: var(--brr-gold);
}

.bbr-sidebar-help {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding: 16px 13px;
    border: 1px solid rgba(220, 174, 64, 0.16);
    border-radius: 12px;
    background: rgba(220, 174, 64, 0.055);
}

.bbr-sidebar-help>i {
    margin-top: 2px;
    color: var(--brr-gold);
}

.bbr-sidebar-help strong {
    display: block;
    margin-bottom: 5px;
    color: #e8d5a3;
    font-size: 11px;
}

.bbr-sidebar-help p {
    margin: 0;
    color: #9caabd;
    font-size: 11px;
    line-height: 1.7;
}

/* FORM CARDS */

.bbr-registration-main {
    min-width: 0;
}

.bbr-registration-main form {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.bbr-form-card {
    min-width: 0;
    padding: 34px;
    scroll-margin-top: 110px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 20px;
    background:
        linear-gradient(145deg,
            rgba(12, 29, 51, 0.98),
            rgba(7, 19, 35, 0.99));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    transition: border-color 0.25s ease;
}

.bbr-form-card:focus-within {
    border-color: rgba(220, 174, 64, 0.23);
}

.bbr-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 31px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.bbr-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(220, 174, 64, 0.27);
    border-radius: 16px;
    background: rgba(220, 174, 64, 0.09);
    color: var(--brr-gold-light);
    font-size: 21px;
}

.bbr-section-heading>div:last-child {
    min-width: 0;
}

.bbr-section-heading>div:last-child>span {
    display: block;
    margin-bottom: 7px;
    color: var(--brr-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.bbr-section-heading h3 {
    margin: 0 0 8px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 600;
    line-height: 1.35;
}

.bbr-section-heading p {
    margin: 0;
    color: #9caabd;
    font-size: 12px;
    line-height: 1.7;
}

/* INPUTS */

.bbr-field-label {
    display: block;
    margin-bottom: 10px;
    color: #e7ebf1;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.bbr-field-label>span,
.bbr-declaration-check label>span {
    color: #f0bd58;
}

.bbr-registration-section .bbr-input,
.bbr-registration-section .bbr-input:focus {
    width: 100%;
    min-height: 51px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    outline: none;
    background-color: rgba(3, 10, 20, 0.65);
    color: #f3f5f8;
    font-family: var(--font-body);
    font-size: 13px;
    box-shadow: none;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.bbr-registration-section textarea.bbr-input {
    min-height: 120px;
    resize: vertical;
    line-height: 1.8;
}

.bbr-registration-section .bbr-input::placeholder {
    color: #748297;
    opacity: 1;
}

.bbr-registration-section .bbr-input:focus {
    border-color: var(--brr-gold);
    background-color: rgba(3, 10, 20, 0.88);
    box-shadow: 0 0 0 3px rgba(220, 174, 64, 0.09);
}

.bbr-registration-section select.bbr-input {
    color-scheme: dark;
}

.bbr-registration-section select.bbr-input option {
    background: #0c2039;
    color: #fff;
}

.bbr-registration-section input[type="date"].bbr-input {
    color-scheme: dark;
}

.bbr-registration-section .invalid-feedback {
    margin-top: 7px;
    color: #ff9292;
    font-size: 11px;
}

.bbr-registration-section .bbr-input.is-invalid {
    border-color: #e47777;
}

/* INPUT ICONS */

.bbr-input-with-icon {
    position: relative;
}

.bbr-input-with-icon>i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 16px;
    color: var(--brr-gold);
    font-size: 16px;
    transform: translateY(-50%);
    pointer-events: none;
}

.bbr-registration-section .bbr-input-with-icon .bbr-input {
    padding-left: 45px;
}

.bbr-field-help {
    margin-top: 10px;
    color: #8f9db0;
    font-size: 11px;
    line-height: 1.8;
}

/* SUBSECTION HEADINGS */

.bbr-subsection-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 3px 0 22px;
}

.bbr-subsection-heading>i {
    color: var(--brr-gold);
    font-size: 17px;
}

.bbr-subsection-heading h4 {
    margin: 0;
    color: #f0f2f5;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
}

.bbr-form-divider {
    height: 1px;
    margin: 31px 0;
    background: rgba(255, 255, 255, 0.09);
}

/* UPLOADS */

.bbr-upload-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 205px;
    padding: 25px 20px;
    border: 1px dashed rgba(220, 174, 64, 0.4);
    border-radius: 14px;
    background:
        radial-gradient(circle at center,
            rgba(220, 174, 64, 0.065),
            transparent 75%),
        rgba(3, 10, 20, 0.45);
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
}

.bbr-upload-box:hover,
.bbr-upload-box.drag-over {
    border-color: var(--brr-gold);
    background-color: rgba(220, 174, 64, 0.07);
    transform: translateY(-2px);
}

.bbr-upload-box-large {
    min-height: 230px;
}

.bbr-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    margin-bottom: 17px;
    border: 1px solid rgba(220, 174, 64, 0.25);
    border-radius: 17px;
    background: rgba(220, 174, 64, 0.1);
    color: var(--brr-gold-light);
    font-size: 23px;
}

.bbr-upload-box>strong {
    margin-bottom: 7px;
    color: #f4f5f8;
    font-size: 14px;
    font-weight: 600;
}

.bbr-upload-box>span:not(.bbr-upload-icon) {
    color: var(--brr-gold-light);
    font-size: 12px;
}

.bbr-upload-box>small {
    margin-top: 12px;
    color: #8795a8;
    font-size: 10px;
}

.bbr-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.bbr-upload-box:focus-within {
    outline: 2px solid var(--brr-gold);
    outline-offset: 3px;
}

.bbr-file-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 13px;
}

.bbr-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.bbr-file-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(220, 174, 64, 0.1);
    color: var(--brr-gold-light);
}

.bbr-file-item-details {
    flex: 1;
    min-width: 0;
}

.bbr-file-item-details strong {
    display: block;
    overflow-wrap: anywhere;
    color: #e8edf4;
    font-size: 11px;
    font-weight: 500;
}

.bbr-file-item-details small {
    display: block;
    margin-top: 4px;
    color: #91a0b3;
    font-size: 10px;
}

.bbr-file-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 120, 120, 0.2);
    border-radius: 9px;
    background: transparent;
    color: #ff9292;
    cursor: pointer;
    transition: 0.2s ease;
}

.bbr-file-remove:hover {
    background: rgba(255, 120, 120, 0.1);
}

.bbr-evidence-info {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
    padding: 15px 16px;
    border: 1px solid rgba(220, 174, 64, 0.14);
    border-radius: 11px;
    background: rgba(220, 174, 64, 0.055);
}

.bbr-evidence-info>i {
    margin-top: 3px;
    color: var(--brr-gold);
}

.bbr-evidence-info p {
    margin: 0;
    color: #bdc7d4;
    font-size: 12px;
    line-height: 1.8;
}

/* DECLARATION */

.bbr-declaration-card {
    border-color: rgba(220, 174, 64, 0.22);
}

.bbr-declaration-box {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 22px;
    border: 1px solid rgba(220, 174, 64, 0.2);
    border-radius: 13px;
    background: rgba(220, 174, 64, 0.055);
}

.bbr-declaration-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: rgba(220, 174, 64, 0.13);
    color: var(--brr-gold-light);
    font-size: 19px;
}

.bbr-declaration-box h4 {
    margin: 0 0 8px;
    color: #f3e5bd;
    font-family: var(--font-heading);
    font-size: 16px;
}

.bbr-declaration-box p {
    margin: 0;
    color: #c1c9d4;
    font-size: 12px;
    line-height: 1.9;
}

.bbr-declaration-check {
    position: relative;
    margin-top: 23px;
    padding-left: 31px;
}

.bbr-declaration-check .form-check-input {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    margin-left: -31px;
    border: 1px solid rgba(220, 174, 64, 0.45);
    border-radius: 5px;
    background-color: rgba(3, 10, 20, 0.7);
    cursor: pointer;
}

.bbr-declaration-check .form-check-input:checked {
    border-color: var(--brr-gold);
    background-color: var(--brr-gold);
}

.bbr-declaration-check .form-check-input:focus {
    border-color: var(--brr-gold);
    box-shadow: 0 0 0 3px rgba(220, 174, 64, 0.1);
}

.bbr-declaration-check .form-check-label {
    color: #c7d0dc;
    font-size: 12px;
    line-height: 1.9;
    cursor: pointer;
}

.bbr-declaration-check .invalid-feedback {
    margin-top: 9px;
}

.bbr-submit-area {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.bbr-submit-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #aab6c5;
    font-size: 11px;
    line-height: 1.7;
}

.bbr-submit-note i {
    color: var(--brr-gold);
}

.bbr-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    min-height: 59px;
    padding: 15px 24px;
    border: 1px solid #f2d78f;
    border-radius: 11px;
    background: linear-gradient(120deg,
            #f2d78f 0%,
            #dcae40 48%,
            #b4862d 100%);
    color: #071426;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(220, 174, 64, 0.12);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.bbr-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(220, 174, 64, 0.2);
    filter: brightness(1.04);
}

.bbr-submit-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.bbr-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.bbr-submit-btn>i {
    font-size: 15px;
    transition: transform 0.2s ease;
}

.bbr-submit-btn:hover>i {
    transform: translateX(4px);
}

.bbr-submit-disclaimer {
    margin: 15px 0 0;
    color: #8593a7;
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
    .bbr-registration-layout {
        grid-template-columns: 245px minmax(0, 1fr);
        gap: 22px;
    }

    .bbr-registration-sidebar {
        padding: 23px 16px;
    }

    .bbr-form-card {
        padding: 28px;
    }

    .bbr-step-text strong {
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    .bbr-registration-section {
        padding: 70px 0 85px;
    }

    .bbr-registration-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bbr-registration-sidebar {
        position: static;
        padding: 22px;
    }

    .bbr-sidebar-brand {
        padding-bottom: 20px;
    }

    .bbr-form-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .bbr-form-step {
        padding: 11px 8px;
    }

    .bbr-form-step:last-child {
        grid-column: 1 / -1;
    }

    .bbr-sidebar-help {
        margin-top: 19px;
    }

    .bbr-registration-main form {
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .bbr-registration-section {
        padding: 55px 0 65px;
    }

    .bbr-registration-intro {
        margin-bottom: 35px;
    }

    .bbr-form-eyebrow {
        gap: 8px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .bbr-form-eyebrow span {
        width: 19px;
    }

    .bbr-registration-intro h2 {
        font-size: 32px;
    }

    .bbr-registration-intro>p {
        font-size: 13px;
        line-height: 1.9;
    }

    .bbr-registration-trust {
        gap: 12px 17px;
        margin-top: 22px;
    }

    .bbr-registration-trust span {
        font-size: 10px;
    }

    .bbr-registration-sidebar {
        padding: 18px 14px;
        border-radius: 15px;
    }

    .bbr-sidebar-brand h3 {
        font-size: 15px;
    }

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

    .bbr-form-step:last-child {
        grid-column: auto;
    }

    .bbr-form-step {
        padding: 10px;
    }

    .bbr-step-text strong {
        font-size: 11px;
    }

    .bbr-form-card {
        padding: 22px 17px;
        border-radius: 15px;
        scroll-margin-top: 25px;
    }

    .bbr-section-heading {
        gap: 12px;
        margin-bottom: 25px;
        padding-bottom: 21px;
    }

    .bbr-section-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 18px;
    }

    .bbr-section-heading h3 {
        font-size: 19px;
    }

    .bbr-section-heading p {
        font-size: 11px;
    }

    .bbr-field-label {
        font-size: 12px;
    }

    .bbr-registration-section .bbr-input {
        min-height: 49px;
        padding: 12px;
        font-size: 13px;
    }

    .bbr-registration-section textarea.bbr-input {
        min-height: 110px;
    }

    .bbr-upload-box {
        min-height: 185px;
        padding: 20px 13px;
    }

    .bbr-upload-box-large {
        min-height: 200px;
    }

    .bbr-upload-box>strong {
        font-size: 12px;
    }

    .bbr-upload-box>span:not(.bbr-upload-icon) {
        font-size: 11px;
    }

    .bbr-declaration-box {
        gap: 12px;
        padding: 16px 13px;
    }

    .bbr-declaration-symbol {
        width: 37px;
        height: 37px;
        font-size: 16px;
    }

    .bbr-declaration-box h4 {
        font-size: 14px;
    }

    .bbr-declaration-box p,
    .bbr-declaration-check .form-check-label {
        font-size: 11px;
    }

    .bbr-submit-btn {
        min-height: 55px;
        padding: 14px 12px;
        gap: 11px;
        font-size: 10px;
        letter-spacing: 0.8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .bbr-registration-section *,
    .bbr-registration-section *::before,
    .bbr-registration-section *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ==========================================
   UPLOAD THUMBNAIL & VIEW BUTTON
=========================================== */

.bbr-file-item {
    flex-wrap: wrap;
}

.bbr-file-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid rgba(220, 174, 64, 0.2);
    border-radius: 9px;
    background: #071426;
}

.bbr-file-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bbr-file-thumbnail i {
    color: var(--brr-gold-light);
    font-size: 23px;
}

.bbr-file-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.bbr-file-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid rgba(220, 174, 64, 0.35);
    border-radius: 8px;
    background: rgba(220, 174, 64, 0.08);
    color: #f2d78f;
    font-family: var(--font-body);
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s ease;
}

.bbr-file-view:hover {
    background: rgba(220, 174, 64, 0.18);
    border-color: #dcae40;
}

/* Preview modal */

.bbr-preview-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(220, 174, 64, 0.3);
    border-radius: 16px;
    background: #071426;
    color: #fff;
}

.bbr-preview-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0c2039;
}

.bbr-preview-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.bbr-preview-heading>i {
    color: #dcae40;
    font-size: 23px;
}

.bbr-preview-heading .modal-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    overflow-wrap: anywhere;
}

.bbr-preview-heading p {
    margin: 5px 0 0;
    color: #aeb7c4;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.bbr-preview-modal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    max-height: 75vh;
    overflow: auto;
    padding: 20px;
    background: #030914;
}

#bbrPreviewImage {
    display: block;
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

#bbrPreviewPdf {
    width: 100%;
    height: 68vh;
    border: 0;
    background: #fff;
}

@media (max-width: 575px) {
    .bbr-file-thumbnail {
        width: 46px;
        height: 46px;
    }

    .bbr-file-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .bbr-preview-modal .modal-dialog {
        margin: 10px;
    }

    .bbr-preview-modal .modal-body {
        padding: 10px;
    }

    #bbrPreviewPdf {
        height: 65vh;
    }
}

@media (max-width: 767.98px) {
    .bbr-registration-sidebar.sticky-top {
        position: static !important;
        top: auto !important;
    }
}

/* FIX MOBILE NUMBER FIELD WIDTH */
.bbr-mobile-group {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100%;
    align-items: stretch;
}

.bbr-mobile-group .bbr-mobile-prefix {
    grid-column: 1;
    grid-row: 1;
    width: 58px !important;
    min-width: 58px !important;
    box-sizing: border-box;
}

.bbr-mobile-group input.bbr-input {
    grid-column: 2;
    grid-row: 1;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Validation message must be on a separate line */
.bbr-mobile-group + .invalid-feedback {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
}

/* Keep the prefix and input aligned */
.bbr-mobile-group .bbr-mobile-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
    border-right: 0;
}

.bbr-mobile-group input.bbr-input {
    border-radius: 0 8px 8px 0 !important;
}