﻿#sberPayQR .panel {
    border: none;
    box-shadow: none;
    margin: 0;
}

.sber-title {
    font-weight: 600;
}

.sber-btn {
    border-radius: 6px;
}

.input-lg {
    border-radius: 6px;
    height: 46px;
}

.sber-instruction .panel-body {
    padding: 12px;
}

.sber-instruction h5 {
    font-weight: 600;
}

.sber-send-btn {
    background-color: #21a038; /* фирменный зеленый Сбера */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    padding: 12px;
    width: 100%;
    transition: background-color 0.2s ease;
}

    .sber-send-btn:hover {
        background-color: #1b832f;
    }

    .sber-send-btn:disabled {
        background-color: #a9d4b1;
        cursor: not-allowed;
    }

.sber-green-link {
    color: #00A046;
    font-weight: 500;
    text-decoration: none;
}

    .sber-green-link:hover {
        text-decoration: underline;
    }

.sber-info-box {
    background-color: #f7f7f7;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.sber-change-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

    .sber-change-btn:hover {
        background: #f2f2f2;
    }

.resend-status {
    color: #00A046;
    font-size: 13px;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

    .resend-status.show {
        opacity: 1;
    }

.sber-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

    .sber-close-btn:hover {
        color: #000;
    }

#sberPayQR {
    height: auto;
    max-height: none;
}

    #sberPayQR img {
        max-width: 60%;
    }

    #sberPayQR .modal-dialog {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
        min-height: 100vh;
    }

    #sberPayQR .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }

/*.btn-sber {
    background-image: url('/images/misc/SberPay_Button.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-color: transparent;
    border: none;
    padding: 0;
    max-width: 100%;
    display: block;
}

.btnpay {
    width: 100% !important;
    max-width: 360px !important;
    height: 60px !important;
    border-radius: 8px !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    padding: 0 !important;
}*/

.hidden-asp-btn {
    display: none !important;
}

.pay-button-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px; 
}

    .pay-button-wrapper::before {
        content: "";
        display: block;
        padding-top: calc(84 / 360 * 100%);
    }

#btnCashDefault,
#btnCashSber {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnCashSber {
    background: transparent url('/images/misc/SberPay_Button.svg') no-repeat center center;
    background-size: contain;
    border: none;
    display: none; 
}