/* =============================================
   DONATE MODAL MASTER — Isolated styles
   All classes use _master suffix to avoid
   conflicts with the original donate modal.
   ============================================= */

#donate-modal-master-container {
    width: 591px;
    height: 535px;
}

.donate_block_master {
    width: 591px;
    height: 493px;
    background: url(../images/modal_donate_master.png) no-repeat top center;
    border-radius: 12px;
}

.donate_header_master {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 89px;
    background: url(../images/pay_header_line.png) no-repeat bottom center;
}

.donate_name_master {
    position: absolute;
    color: #979797;
    font-size: 14px;
    font-weight: 500;
    top: 16px;
    left: 26px;
}

.donate_name_master span {
    color: #fff;
}

.modal-donate-master input {
    font-size: 14px;
    color: #1c1920;
    padding: 0 10px;
    border-radius: 8px;
    height: 30px;
    border: none;
    width: 100%;
}

.modal-donate-master .create_valuta {
    top: 44px;
    left: 27px;
}

.modal-donate-master .create_valuta .tag-remove {
    display: none;
}

.modal-donate-master .input-with-icon-container {
    top: 44px;
    left: 189px;
}

.donate_offs_memo_master {
    position: absolute;
    color: #979797;
    font-size: 14px;
    top: 97px;
    left: 26px;
}

.donate_checkbox_master {
    position: absolute;
    left: 26px;
}

.donate_checkbox_res_master {
    top: 130px;
}

.donate_checkbox_res_master .checkbox-text {
    color: #fff;
}

.donate_checkbox_res_master::after {
    background: url(../images/game_card_res_icon.png);
}

.donate_checkbox_res_master .checkbox-text::after {
    display: none;
}

.donate_checkbox_mana_master {
    top: 130px;
    display: inline-flex;
    align-items: center;
}

.donate_checkbox_mana_master .checkbox-text {
    color: #fff;
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* Иконка маны должна быть сразу после числа */
.donate_checkbox_mana_master .checkbox-text::after {
    content: '';
    width: 13px;
    height: 13px;
    display: inline-block;
    flex: 0 0 13px;
    background: url(../images/game_card_mana_icon.png) no-repeat center center;
    background-size: cover;
    margin-left: 6px;
    vertical-align: middle;
}

/* У старой иконки отключаем позиционирование после всего чекбокса */
.donate_checkbox_mana_master::after {
    display: none;
}

.donate_checkbox_master::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    background-repeat: no-repeat;
    background-size: cover;
    top: 3px;
    right: -20px;
}

.donate_subtotal_master {
    position: absolute;
    font-size: 14px;
    color: #979797;
    top: 162px;
    left: 26px;
}

.donate_subtotal_master span {
    color: #fff;
}

.donate_ukassa_master {
    position: absolute;
    font-size: 14px;
    color: #979797;
    top: 223px;
    left: 26px;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.donate_ukassa_master span {
    color: #fff;
}

.donate_lack_master {
    position: absolute;
    font-size: 14px;
    color: #979797;
    top: 256px;
    left: 26px;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.donate_line_master,
.donate_line2_master,
.donate_line3_master,
.donate_line4_master {
    position: absolute;
    background: url(../images/pay_header_line.png);
    background-repeat: no-repeat;
    background-position-x: -310px;
    top: 156px;
    left: 26px;
    width: 596px;
    height: 1px;
}

.donate_line2_master {
    top: 189px;
}

.donate_line3_master {
    top: 250px;
}

.donate_line4_master {
    top: 283px;
}

.donate_lack_master span {
    color: #fff;
}

.donate_subtotal_master span.donate_lack_res_master::after {
    background: url(../images/game_card_res_icon.png);
    background-size: cover;
}

.donate_subtotal_master span.donate_lack_mana_master::after {
    background: url(../images/game_card__icon.png);
    background-size: cover;
}

.donate_subtotal_master span::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    background-repeat: no-repeat;
    background-size: cover;
    top: 4px;
    right: -20px;
}

.donate_way_master {
    position: absolute;
    top: 454px;
    left: 26px;
    color: #979797;
    font-size: 14px;
    font-weight: 500;
}

.donate_card_master {
    top: 495px;
    left: 21px;
}

.donate_sbp_master {
    top: 591px;
    left: 21px;
}

.donate_bank_logo_master {
    position: absolute;
    top: 10px;
    left: 10px;
}

.donate_bank_title_master {
    position: absolute;
    top: 18px;
    left: 96px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

.donate_bank_memo_master {
    position: absolute;
    color: #979797;
    font-size: 14px;
    top: 42px;
    left: 96px;
}

.donate_bank_checkbox_master {
    position: absolute;
    top: 6px;
    right: 10px;
}

.donate_confirm_master {
    position: absolute;
    top: 364px;
    left: 25px;
    color: #d6d6d6;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    line-height: normal;
    width: 381px;
}

.donate_confirm_master a {
    color: #d6d6d6;
}

.donate_confirm_btn_master {
    position: absolute;
    top: 436px;
    left: 26px;
    width: 209px;
    height: 32px;
    background: #3e6634;
    border: 1px solid #3e6634;
    border-radius: 8px;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
}

.donate_confirm_btn_master:hover {
    border-color: #fff;
}

.donate_confirm_btn_master span::after {
    content: '';
    position: relative;
    width: 14px;
    height: 14px;
    background: url(../images/game_card_res_icon.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin: -1px 0 0 5px;
    vertical-align: middle;
    display: inline-block;
}

.donate_comment_master {
    position: absolute;
    top: 212px;
    left: 25px;
    width: 536px;
    height: 132px;
    border-radius: 8px;
    background: #fff;
}

.donate_comment_master textarea {
    width: 536px;
    height: 114px;
    border-radius: 8px;
    border: 0;
    font-size: 14px;
    padding: 5px 10px;
    resize: none;
    overflow: hidden;
}

.donate_comment_master .char-counter {
    padding-right: 10px;
}

.donate_confirm_btn_master.btn-gray {
    background: #49454d;
    border: 1px solid #49454d;
}

/* Подпись справа от чекбокса серым цветом */
.donate_mana_verification_note_master {
    position: absolute;
    top: 128px;
    left: 135px;
    color: #979797;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
    white-space: nowrap;
}
.donate_mana_row_master {
    position: absolute;
    top: 130px;
    left: 26px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 520px;
}

.donate_checkbox_master {
    position: static;
    left: auto;
}

.donate_checkbox_mana_master {
    position: static;
    top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.donate_checkbox_mana_master .myCheckBoxLabel {
    margin: 0;
    flex: 0 0 15px;
}

.donate_checkbox_mana_master .checkbox-text {
    position: static;
    margin: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    color: #fff;
    line-height: 15px;
    white-space: nowrap;
}

.donate_checkbox_mana_master .checkbox-text::after {
    content: '';
    width: 13px;
    height: 13px;
    display: inline-block;
    flex: 0 0 13px;
    background: url(../images/game_card_mana_icon.png) no-repeat center center;
    background-size: cover;
    margin-left: 6px;
    vertical-align: middle;
}

.donate_checkbox_mana_master::after {
    display: none;
}

.donate_mana_icon_master {
    display: none;
}
