.popup-holder-bc.loginpopup:not(.display-none),
.popup-holder-bc.registerpopup:not(.display-none),
.popup-holder-bc:not(.display-none):has(.entrance-popup-bc.sign-in),
.popup-holder-bc:not(.display-none):has(.entrance-popup-bc.register) {
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    padding: 0 !important;
    background: rgba(12, 9, 7, 0.78) !important;
}

.popup-holder-bc:has(.entrance-popup-bc) .popup-middleware-bc,
.popup-holder-bc:has(.entrance-popup-bc) .popup-inner-bc,
.popup-holder-bc:has(.entrance-popup-bc) .entrance-popup-bc,
.popup-holder-bc:has(.entrance-popup-bc) .e-p-content-holder-bc,
.popup-holder-bc:has(.entrance-popup-bc) .e-p-content-bc {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.popup-holder-bc:has(.entrance-popup-bc) .popup-inner-bc {
    position: relative;
    width: min(440px, 100%) !important;
    max-height: min(100dvh, 920px) !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom)) !important;
    border-radius: 22px 22px 0 0 !important;
    background: #1c140b !important;
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
}

.popup-holder-bc.registerpopup:has(.entrance-popup-bc) .popup-inner-bc,
.popup-holder-bc:has(.entrance-popup-bc.register) .popup-inner-bc {
    width: min(520px, 100%) !important;
}

.popup-holder-bc:has(.entrance-popup-bc) .e-p-close-icon-bc {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 18px;
}

.popup-holder-bc:has(.entrance-popup-bc) .e-p-header-bc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 52px 14px 0;
}

.popup-holder-bc:has(.entrance-popup-bc) .popup-t-logo-w-bc {
    display: flex;
    align-items: center;
    min-width: 0;
}

.popup-holder-bc:has(.entrance-popup-bc) .hdr-logo-bc {
    height: 34px !important;
    width: auto !important;
    max-width: 112px;
    object-fit: contain;
}

.hdr-user-bc {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 8px;
}

.hdr-user-bc .btn.sign-in,
.hdr-user-bc .btn.register {
    flex: 0 0 auto;
    white-space: nowrap;
}

body:has(.popup-holder-bc:not(.display-none) .entrance-popup-bc) .hdr-user-bc .btn.register {
    animation: none !important;
    opacity: 1 !important;
}

.popup-holder-bc:has(.entrance-popup-bc) .e-p-sections-bc {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
}

.popup-holder-bc:has(.entrance-popup-bc) .wb-auth-tabs {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 8px;
}

.popup-holder-bc:has(.entrance-popup-bc) .wb-auth-tab,
.popup-holder-bc:has(.entrance-popup-bc) .e-p-sections-bc .btn,
.popup-holder-bc:has(.entrance-popup-bc) #login_button_id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    animation: none !important;
    opacity: 1 !important;
}

.popup-holder-bc:has(.entrance-popup-bc) .wb-auth-tab.is-on {
    background: #d0aa4e !important;
    border-color: #d0aa4e !important;
    color: #1c140b !important;
    cursor: default;
}

.popup-holder-bc:has(.entrance-popup-bc) .e-p-body-bc {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.popup-holder-bc:has(.entrance-popup-bc) .entrance-form-bc,
.popup-holder-bc:has(.entrance-popup-bc) .entrance-form-bc.login,
.popup-holder-bc:has(.entrance-popup-bc) .entrance-form-bc.registration,
.popup-holder-bc:has(.entrance-popup-bc) .reg-form-block-bc,
.popup-holder-bc:has(.entrance-popup-bc) .entrance-form-content-bc,
.popup-holder-bc:has(.entrance-popup-bc) .single-side .reg-form-content {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: none !important;
    overflow: visible !important;
}

.popup-holder-bc:has(.entrance-popup-bc) .reg-form-content,
.popup-holder-bc:has(.entrance-popup-bc) .reg-form-fields,
.popup-holder-bc:has(.entrance-popup-bc) .entrance-form-content-section-bc {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

.popup-holder-bc:has(.entrance-popup-bc) .sg-n-text-row-1-bc {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.55);
    text-transform: none;
}

.popup-holder-bc:has(.entrance-popup-bc) .sg-n-text-row-2-bc {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
}

.popup-holder-bc:has(.entrance-popup-bc) .entrance-f-item-bc {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 0 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-control-bc,
.popup-holder-bc:has(.entrance-popup-bc) .form-control-label-bc.inputs,
.popup-holder-bc:has(.entrance-popup-bc) .multi-select-bc {
    width: 100%;
    position: relative;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-control-label-bc.inputs {
    height: 56px;
    min-height: 56px;
    width: 100%;
    box-sizing: border-box;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-control-input-bc,
.popup-holder-bc:has(.entrance-popup-bc) .form-control-select-bc,
.popup-holder-bc:has(.entrance-popup-bc) select.form-control-select-bc {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 18px 36px 0 14px;
    border: 1px solid rgba(208, 170, 78, 0.28) !important;
    border-radius: 14px;
    background: #120c07 !important;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    box-sizing: border-box;
    outline: none;
}

.popup-holder-bc:has(.entrance-popup-bc) select.form-control-select-bc {
    appearance: none;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-control-bc.focused .form-control-input-bc,
.popup-holder-bc:has(.entrance-popup-bc) .form-control-input-bc:focus {
    border-color: #d0aa4e !important;
    box-shadow: 0 0 0 3px rgba(208, 170, 78, 0.22);
}

.popup-holder-bc:has(.entrance-popup-bc) .form-control-title-bc {
    position: absolute !important;
    top: 18px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.46);
    pointer-events: none;
    transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-control-bc.focused .form-control-title-bc,
.popup-holder-bc:has(.entrance-popup-bc) .form-control-bc.filled .form-control-title-bc,
.popup-holder-bc:has(.entrance-popup-bc) .form-control-input-bc:focus ~ .form-control-title-bc,
.popup-holder-bc:has(.entrance-popup-bc) .form-control-input-bc:not(:placeholder-shown) ~ .form-control-title-bc {
    top: 8px !important;
    font-size: 11px;
    color: #e7cf89;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-control-input-stroke-bc {
    display: none;
}

.popup-holder-bc:has(.entrance-popup-bc) .checkbox-control-content-bc {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
}

.popup-holder-bc:has(.entrance-popup-bc) .checkbox-control-icon-bc {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 6px;
}

.popup-holder-bc:has(.entrance-popup-bc) .checkbox-control-text-bc {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.popup-holder-bc:has(.entrance-popup-bc) .reg-form-footer-bc {
    position: static;
    width: 100%;
    margin-top: 8px;
    padding: 4px 0 0 !important;
    background: transparent;
}

.popup-holder-bc:has(.entrance-popup-bc) .entrance-form-actions-holder-bc {
    position: static;
    z-index: auto;
    width: 100%;
    margin-top: 6px;
    padding: 4px 0 0;
    background: none;
}

.popup-holder-bc:has(.entrance-popup-bc) .entrance-form-actions-holder-bc .btn,
.popup-holder-bc:has(.entrance-popup-bc) .reg-form-footer-bc .btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.popup-holder-bc:has(.entrance-popup-bc) .sg-n-forgot-password-text,
.popup-holder-bc:has(.entrance-popup-bc) .sg-n-forgot-password {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    text-transform: none;
    text-align: center;
    color: #e7cf89;
}

.popup-holder-bc:has(.entrance-popup-bc) .tg-auth-slot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 14px 0 2px;
}

.popup-holder-bc:has(.entrance-popup-bc) .tg-auth-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.popup-holder-bc:has(.entrance-popup-bc) .tg-auth-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: #d0aa4e;
    color: #1c140b;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.popup-holder-bc:has(.entrance-popup-bc) .live-chat-adviser-bc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-controls-group-bc {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-controls-group-bc.telephone .form-controls-field-content {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 8px;
    align-items: stretch;
    box-sizing: border-box;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-controls-field-bc.country-code {
    flex: 0 0 96px;
    max-width: 38%;
    min-width: 0;
}

.popup-holder-bc:has(.entrance-popup-bc) .form-controls-field-bc {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.popup-holder-bc:has(.entrance-popup-bc) #birthdaytime {
    height: 56px !important;
    width: 100% !important;
}

.popup-holder-bc:has(.entrance-popup-bc) .entrance-f-recaptcha-bc,
.popup-holder-bc:has(.entrance-popup-bc) .form-control-title-static-bc {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
}

.popup-holder-bc:has(.entrance-popup-bc) .recaptcha-img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .popup-holder-bc.loginpopup:not(.display-none),
    .popup-holder-bc.registerpopup:not(.display-none),
    .popup-holder-bc:not(.display-none):has(.entrance-popup-bc) {
        align-items: center !important;
        padding: 32px !important;
        background: rgba(12, 9, 7, 0.82) !important;
        backdrop-filter: blur(10px);
    }

    .popup-holder-bc:has(.entrance-popup-bc.sign-in) .popup-inner-bc {
        width: 440px !important;
        max-width: calc(100vw - 64px) !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .popup-inner-bc {
        width: 760px !important;
        max-width: calc(100vw - 64px) !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .popup-inner-bc {
        height: auto !important;
        max-height: calc(100dvh - 64px) !important;
        border-radius: 24px !important;
        padding: 28px 28px 22px !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background:
            radial-gradient(120% 80% at 100% 0%, rgba(208, 170, 78, 0.2), transparent 42%),
            #1c140b !important;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55) !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .hdr-logo-bc {
        height: 40px !important;
        max-width: 180px;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .e-p-header-bc {
        padding: 0 56px 18px 0;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .entrance-popup-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .e-p-content-holder-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .e-p-content-bc {
        height: auto !important;
        min-height: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.sign-in) .e-p-body-bc,
    .popup-holder-bc:has(.entrance-popup-bc.sign-in) .entrance-form-bc,
    .popup-holder-bc:has(.entrance-popup-bc.sign-in) .form-sign-bc {
        position: relative !important;
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        flex: none !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.sign-in) .popup-inner-bc {
        height: auto !important;
        overflow: hidden !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.sign-in) .sg-n-text-row-2-bc {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .e-p-body-bc {
        max-height: calc(100dvh - 168px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding-bottom: 20px !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-sign-in-slider-wrapper,
    .popup-holder-bc:has(.entrance-popup-bc) .slider-bc {
        display: none !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-form-content-section-bc {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
        align-items: start;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-item-bc {
        margin: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-item-bc:has([name="email"]),
    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-item-bc:has([name="phoneNumber"]),
    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-item-bc:has([name="agree"]),
    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-item-bc:has(.form-controls-group-bc),
    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-item-checkbox-bc,
    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-recaptcha-bc,
    .popup-holder-bc:has(.entrance-popup-bc.register) .underlinereg,
    .popup-holder-bc:has(.entrance-popup-bc.register) .sg-n-text-row-1-bc,
    .popup-holder-bc:has(.entrance-popup-bc.register) .sg-n-text-row-2-bc {
        grid-column: 1 / -1;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .reg-form-footer-bc {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .tg-auth-slot,
    .popup-holder-bc:has(.entrance-popup-bc.register) .live-chat-adviser-bc {
        width: min(420px, 100%);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .tg-auth-btn {
        width: 100% !important;
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
    }

    #register_form_id[data-steps="1"] .entrance-f-item-bc {
        display: none !important;
    }

    #register_form_id[data-reg-step="1"] .entrance-f-item-bc[data-reg-step="1"],
    #register_form_id[data-reg-step="2"] .entrance-f-item-bc[data-reg-step="2"],
    #register_form_id[data-reg-step="3"] .entrance-f-item-bc[data-reg-step="3"] {
        display: block !important;
    }

    #register_form_id[data-steps="1"]:not([data-reg-step="3"]) .entrance-form-actions-holder-bc {
        display: none !important;
    }

    #register_form_id[data-reg-step="3"] .wb-step-nav .entrance-form-actions-holder-bc {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: flex-end !important;
    }

    #register_form_id[data-reg-step="3"] .wb-step-nav .entrance-form-actions-holder-bc .btn {
        width: auto !important;
        min-width: 132px;
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 22px !important;
        border-radius: 12px !important;
        background: #d0aa4e !important;
        color: #1c140b !important;
        font-size: 14px !important;
        font-weight: 650 !important;
        letter-spacing: 0 !important;
    }

    #register_form_id[data-steps="1"] .tg-auth-slot {
        display: block !important;
    }

    .wb-step-nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        width: 100%;
        margin: 14px 0 0;
    }

    #register_form_id[data-reg-step="2"] .wb-step-nav,
    #register_form_id[data-reg-step="3"] .wb-step-nav {
        justify-content: space-between;
    }

    .wb-step-back,
    .wb-step-next {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 108px;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 18px !important;
        border-radius: 12px !important;
        font-size: 14px !important;
        font-weight: 650 !important;
        letter-spacing: 0 !important;
        line-height: 1 !important;
        cursor: pointer;
    }

    .wb-step-back {
        background: transparent !important;
        color: rgba(255, 255, 255, 0.86) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
    }

    .wb-step-next {
        background: #d0aa4e !important;
        color: #1c140b !important;
        border: 0 !important;
        box-shadow: 0 8px 18px rgba(208, 170, 78, 0.28);
    }

    .wb-step-dots {
        display: none !important;
    }

    .wb-step-dot {
        width: 28px;
        height: 28px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: transparent;
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .wb-step-dot.is-on {
        background: #d0aa4e;
        border-color: #d0aa4e;
        color: #1c140b;
    }

    #register_form_id[data-steps="1"] .steps-indicator {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .popup-holder-bc:has(.entrance-popup-bc) .popup-inner-bc {
        width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        padding: calc(12px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom)) !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .e-p-header-bc {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: auto !important;
        min-height: 48px;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        padding: 0 48px 12px 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .popup-t-logo-w-bc {
        flex: 1 1 auto;
        min-width: 0;
        height: auto !important;
        max-width: 46%;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .hdr-logo-bc {
        display: block;
        height: 26px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain;
        object-position: left center;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .e-p-sections-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .wb-auth-tabs {
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-sign-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .sg-n-text-row-1-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .sg-n-text-row-2-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .entrance-f-item-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .reg-form-fields {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-sign-in-slider-wrapper,
    .popup-holder-bc:has(.entrance-popup-bc) .slider-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .wb-step-nav,
    .popup-holder-bc:has(.entrance-popup-bc) .wb-step-dots {
        display: none !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .entrance-form-bc.login,
    .popup-holder-bc:has(.entrance-popup-bc) .entrance-form-bc.registration {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .e-p-body-bc {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-height: none !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .entrance-f-item-bc > .form-controls-field-bc.country-code {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .telephone .form-controls-field-bc.country-code {
        flex: 0 0 112px !important;
        width: 112px !important;
        max-width: 38% !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-controls-field-bc.country-code + .form-controls-field-bc {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        padding-inline-start: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .wb-auth-tab,
    .popup-holder-bc:has(.entrance-popup-bc) .e-p-sections-bc .btn,
    .popup-holder-bc:has(.entrance-popup-bc) #login_button_id {
        height: 36px !important;
        min-height: 36px;
        padding: 0 10px !important;
        font-size: 12px;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .sg-n-text-row-2-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .reg-step-title-v-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .underlinereg,
    .popup-holder-bc:has(.entrance-popup-bc) .checkbox-control-text-bc {
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .sg-n-text-row-2-bc {
        font-size: 18px;
        margin: 0 0 14px;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .reg-step-title-v-bc,
    .popup-holder-bc:has(.entrance-popup-bc.register) .steps-indicator {
        display: none !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .underlinereg {
        margin: 0 0 12px !important;
        font-size: 13px !important;
        line-height: 1.35;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-form-content-section-bc {
        display: flex !important;
        flex-direction: column !important;
        gap: 0;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-f-item-bc {
        width: 100% !important;
        margin: 0 0 12px !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .form-control-label-bc.inputs {
        height: 56px;
        min-height: 56px;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .form-control-input-bc,
    .popup-holder-bc:has(.entrance-popup-bc.register) .form-control-select-bc {
        font-size: 16px;
    }

    .popup-holder-bc:has(.entrance-popup-bc.register) .entrance-form-actions-holder-bc .btn,
    .popup-holder-bc:has(.entrance-popup-bc.register) .reg-form-footer-bc .btn,
    .popup-holder-bc:has(.entrance-popup-bc.register) .tg-auth-btn {
        min-height: 52px;
        font-size: 16px;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .reg-form-footer-bc {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .popup-holder-bc:not(.display-none):has(.entrance-popup-bc) {
        align-items: stretch !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .popup-middleware-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .entrance-popup-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .e-p-content-holder-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .e-p-content-bc {
        flex: 1 1 auto !important;
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .e-p-header-bc {
        flex: 0 0 auto !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .e-p-body-bc {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-control-label-bc.inputs {
        display: block !important;
        position: relative !important;
        height: 52px !important;
        min-height: 52px !important;
        width: 100% !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-control-input-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .form-control-select-bc,
    .popup-holder-bc:has(.entrance-popup-bc) select.form-control-select-bc {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 52px !important;
        margin: 0 !important;
        padding: 20px 36px 0 14px !important;
        line-height: 28px !important;
        box-sizing: border-box !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-control-title-bc {
        top: 6px !important;
        left: 14px !important;
        right: 36px !important;
        width: auto !important;
        font-size: 11px !important;
        line-height: 14px !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .entrance-form-actions-holder-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .entrance-form-action-item-bc,
    .popup-holder-bc:has(.entrance-popup-bc) .entrance-form-actions-holder-bc .btn,
    .popup-holder-bc:has(.entrance-popup-bc) .tg-auth-slot,
    .popup-holder-bc:has(.entrance-popup-bc) .tg-auth-btn {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .entrance-form-actions-holder-bc .btn,
    .popup-holder-bc:has(.entrance-popup-bc) .tg-auth-btn {
        height: 48px !important;
        min-height: 48px !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-control-label-bc.form-control-select-bc.inputs {
        display: flex !important;
        align-items: flex-end !important;
        gap: 8px;
        height: 52px !important;
        padding: 0 14px 10px !important;
        box-sizing: border-box;
        border: 1px solid rgba(208, 170, 78, 0.28);
        border-radius: 14px;
        background: #120c07;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-control-label-bc.form-control-select-bc.inputs .ftr-lang-bar-flag-bc {
        position: static !important;
        flex: 0 0 22px;
        width: 22px;
        height: 16px;
        margin: 0 !important;
    }

    .popup-holder-bc:has(.entrance-popup-bc) .form-control-input-bc::placeholder {
        color: transparent !important;
    }
}

.sg-n-forgot-password {
    cursor: pointer;
    color: #e7cf89 !important;
    text-decoration: underline;
}

#wb-forgot {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.62);
    padding: 16px;
}

#wb-forgot[hidden] { display: none !important; }

.wb-forgot-card {
    position: relative;
    width: min(400px, 100%);
    box-sizing: border-box;
    padding: 22px 18px 18px;
    border-radius: 16px;
    background: #16110c;
    border: 1px solid rgba(208, 170, 78, 0.45);
    color: #f8e7b0;
}

.wb-forgot-card h2 { margin: 0 0 8px; color: #e7cf89; font-size: 20px; }
.wb-forgot-card p { margin: 0 0 12px; line-height: 1.4; }
.wb-forgot-card input {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid rgba(208, 170, 78, 0.4);
    background: #120c07;
    color: #f8e7b0;
    padding: 0 12px;
}
.wb-forgot-card button[type="submit"] {
    margin-top: 12px;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #d0aa4e;
    color: #1c140b;
    font-weight: 800;
    cursor: pointer;
}
.wb-forgot-x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #f5dc95;
    font-size: 22px;
    cursor: pointer;
}
.wb-forgot-msg { min-height: 18px; margin-top: 10px; font-size: 14px; }

#wb-tg-profile {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.62);
    padding: 16px;
}

#wb-tg-profile[hidden] { display: none !important; }

.wb-tg-card {
    width: min(420px, 100%);
    box-sizing: border-box;
    padding: 22px 18px 18px;
    border-radius: 16px;
    background: #16110c;
    border: 1px solid rgba(208, 170, 78, 0.45);
    color: #f8e7b0;
}

.wb-tg-card h2 { margin: 0 0 8px; color: #e7cf89; font-size: 20px; }
.wb-tg-card p { margin: 0 0 12px; line-height: 1.4; }
.wb-tg-card label { display: block; margin: 10px 0 0; font-size: 13px; }
.wb-tg-card input {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 6px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid rgba(208, 170, 78, 0.4);
    background: #120c07;
    color: #f8e7b0;
    padding: 0 12px;
}
.wb-tg-card button {
    margin-top: 14px;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #d0aa4e;
    color: #1c140b;
    font-weight: 800;
    cursor: pointer;
}
.wb-tg-msg { min-height: 18px; margin-top: 10px; font-size: 14px; }
