/* позднее будет перемещено в base, если закрепится в шаблонах*/
:root {
    --ico--checkbox-checked-18-white: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="18" height="18" rx="4" fill="white"/><path d="M13.6668 5.5L7.25016 11.9167L4.3335 9" stroke="%23202020" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.btn-white {
    background-color: var(--b-c--white);
    color: var(--b-c--black);
}

label.label-white input[type="checkbox"] {
    background-color: transparent;
}

label.label-white input[type="checkbox"]::before {
    background-color: transparent;
}
label.label-white input[type="checkbox"]:checked::before {
    content: var(--ico--checkbox-checked-18-white);
}

label.label-white:has(input[type="checkbox"]) span {
    color: var(--b-c--white);
    font-weight: 300;
}
/* ---------------------------------------------------------- */


body:has(#bonusFormPage) {
    padding: 0px;
}
#bonusFormPage .btn {
    display: flex;
    align-items: center;
    vertical-align: middle;
    gap: 10px;
    line-height: 100%;
}

#bonusFormPage .profile_kids {display: none;}
#bonusFormPage picture:not(.reg-bonus_banner-main),
#bonusFormPage picture:not(.reg-bonus_banner-main) img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
#bonusFormPage picture img {
    object-fit: cover;
}

#bonusFormPage .banner-bonus {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    z-index: 0;
}
#bonusFormPage .reg-bonus {
    position: relative;
    background-color: var(--b-c--white);
    margin-top: calc(100vw / 58 * 89 - 80px);
    padding: 40px 12px 60px 12px;
    z-index: 2;
}

#bonusFormPage .bonus_message {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 12px;
    left: 12px; right: 12px;
    background-color: #FFFFFFB2;
    padding: 12px;
    border-radius: 12px;
}
.bonus_message .bonus_message-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1;
    color: var(--b-c--Dgrey);
}
.bonus_message-content span,
.bonus_message-content a {
    line-height: 1;
    color: var(--b-c--Dgrey);
}

.bonus_message-content span {
    font: 600 18px/20px 'Averta CY', sans-serif;
}
.bonus_message-content a {
    font: 400 14px/1 'Averta CY', sans-serif;
    /* text-decoration: underline; */
    border-bottom: 1px solid var(--b-c--Dgrey);
    width: fit-content;
}


#bonusFormPage .bounus_promocode {
    position: absolute;
    z-index: 2;
    left: 12px; right: 12px;
    top: auto;
    bottom: 15%;
}

.bounus_promocode .ttl {
    color: var(--b-c--white);
    font: 700 min(14vw, 60px)/.88 'Averta CY', sans-serif;
    margin-bottom: 16px;
}

.bounus_promocode .txt {
    color: var(--b-c--white);
    font: 300 min(3.5vw, 16px)/1.4 'Averta CY', sans-serif;
}

#bonusFormPage .bounus_promocode .promo_CTA-promocode,
#bonusFormPage .bounus_promocode .btn {
    background-color: var(--b-c--white);
    color: var(--b-c--Dgrey);
    border-radius: 8px;
    margin-top: 32px;
    max-width: fit-content;
    height: 50px;
}
#bonusFormPage .bounus_promocode .btn {font-weight: 600;}
#bonusFormPage .bounus_promocode .promocode_btn-copy::after {
    order: -1;
    opacity: .5;
}

#successPopup .popup_content {
    margin-bottom: 32px;
}

.form-subscribe {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    margin-top: 32px;
    border-radius: 12px;
    max-width: 430px;
}

#bonusFormPage .form-subscribe .btn {
    margin: 0;
}

body:has(#bonusFormPage) .popup .ttl-promo {
    font: 600 22px/1.1 'Averta CY', sans-serif;
}

body:has(#bonusFormPage) .popup .btn {
    justify-content: center;
}

@media (min-width: 600px) {
    #bonusFormPage .bonus_message {
        left: auto; right: 42px;
        top: 32px;
    }
    body:has(#bonusFormPage) .popup .ttl-promo {
        font: 600 32px/1 'Averta CY', sans-serif;
    }

    #bonusFormPage .bounus_promocode {
        top: 50%; bottom: auto;
    }
}

@media (min-width: 1024px) {
    #bonusFormPage {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 68px;
        max-width: 1440px;
        margin: auto;
        padding: 20px var(--padding--side);
    }

    #bonusFormPage .banner-bonus {
        position: sticky;
        top: 20px;
        bottom: 20px;
        border-radius: 32px;
        overflow: hidden;
        width: fit-content;
        max-width: 100%;
        height: fit-content;
        max-height: calc(100vh - 40px);
        height: calc(100vh - 40px);
        object-fit: contain;
        height: fit-content;
    }

    #bonusFormPage .reg-bonus,
    #bonusFormPage .reg_container {
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    #bonusFormPage .bounus_promocode {
        top: 30%;
        left: 48px;
        bottom: auto;
    }

    #successPopup .popup_content {
        margin-bottom: 40px;
    }

    .form-subscribe {
        gap: 16px;
        margin-top: 40px;
    }
}