@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    box-sizing: border-box;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

html * {
    max-height: 1000000px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

a[href^="http"]:empty::before {
    content: attr(href);
}

img,
video,
audio {
    max-width: 100%;
    height: auto;
}

label,
button,
input,
select {
    cursor: pointer;
}

label[for] {
    cursor: pointer;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
.slick-slide:focus {
    outline: none
}

a,
button {
    cursor: pointer
}

.btn_default {
    appearance: none;
    border-radius: 0;
    border: none;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    transition: 0.25s ease;
}

body {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
}

a {
    transition: 0.25s
}

button,
input,
select,
textarea {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea {
    -webkit-appearance: none;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}


.header_main {
    padding: 17px 0 20px;
    box-shadow: 0 2px 10px -5px rgba(0, 0, 0, 0.1);
}


.main_footer {
    background: #08041A;
    padding: 20px 0;
    color: #fff;
    position: relative;
}

.header__logo {
    display: block;
    font-size: 0;
    max-width: 175px;
    margin: 0 auto;
}


.pay__section {
    margin: 40px 0 100px;
}

.page__wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.main__container {
    flex: 1;
}

.yoomoney-payment-form .ym-payment-btn-block {
    height: auto !important;
}

.pay__section_qr {
    margin: 40px 0 50px;
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
}

.payment-form-container {
    background: #fcfcfc;
    padding: 30px;
    border-radius: 12.5px;
    box-shadow: 0 2px 20px 0px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payment-form-container h2 {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 22px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.payment-form {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.payment-form .form-group {
    margin-bottom: 14px;
}

.payment-form .form-group:last-child {
    margin-bottom: 0;
}

.payment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 12px;
}

.payment-form input[type="text"],
.payment-form input[type="email"],
.payment-form input[type="tel"],
.payment-form input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14.5px;
    box-sizing: border-box;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.payment-form input[type="text"]:focus,
.payment-form input[type="email"]:focus,
.payment-form input[type="tel"]:focus,
.payment-form input[type="number"]:focus {
    outline: none;
    border-color: #0073aa;
}

.payment-amount-info {
    font-size: 16px;
    margin: 0;
    padding: 2.5px 0;
    text-align: left;
    background: #ffffff;
}

.payment-amount-info strong {
    font-weight: 700;
    color: #000000;
}

.payment-form .btn_default {
    display: inline-block;
    padding: 12px 45px;
    background: #f3c74c;
    color: #000000;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    margin: 0px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.payment-form .btn_default:hover {
    background: #000000;
    color: #fff;
}

.payment-form .btn_default:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.payment-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.payment-message .error {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 4px;
}

.payment-message .success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 4px;
}

.payment-pending,
.payment-success,
.payment-error {
    background: #fcfcfc;
    padding: 30px 30px 25px;
    border-radius: 12.5px;
    box-shadow: 0 2px 20px 0px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payment-pending h2,
.payment-success h2 {
    margin-bottom: 16px;
}

.qr-code-container {
    margin: 16px 0;
    text-align: center;
}

.payment-link {
    display: inline-block;
    padding: 12px 45px;
    background: #f3c74c;
    color: #000000;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    margin: 0px 0;
}

.payment-link:hover {
    background: #005a87;
}

.payment-status {
    font-size: 18px;
    font-weight: 500;
    margin: 20px 0;
}

.payment-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.payment-info p {
    margin: 7.5px 0;
}

.payment-error {
    background: #ffebee;
    color: #c62828;
}

.payment-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.payment-loading {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-loading p {
    font-size: 18px;
    color: #666;
}

.payment_info__text {
    max-width: 400px;
    margin: 0 auto;
}

.payment-pending:after {
    background: url(../images/decore/decore_black.svg);
    content: '';
    position: absolute;
    width: 190px;
    aspect-ratio: 1 / 1;
    right: 0;
    bottom: -80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    pointer-events: none;
}

.payment-pending:before,
.payment-form-container:before {
    background: url(../images/decore/decore_yellow.svg);
    content: '';
    position: absolute;
    width: 170px;
    aspect-ratio: 1/1;
    top: -69px;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0 0;
    transform: rotate(20deg);
    pointer-events: none;
}

.payment-form-container:after {
    background: url(../images/decore/decore_black.svg);
    content: '';
    position: absolute;
    width: 160px;
    aspect-ratio: 1 / 1;
    right: -30px;
    bottom: -60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    pointer-events: none;
    z-index: 0;
}

@media screen and (max-width: 768px) {




    .payment-pending,
    .payment-success,
    .payment-error,
    .payment-form-container {
        padding: 35px 20px 30px;
    }

    .payment_info__text {
        font-size: 14px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 22px;
    }

    .payment-pending h2,
    .payment-success h2 {
        margin-bottom: 10px;
    }

    .payment-link {
        font-size: 15px;
        width: 100%;
        max-width: 270px;
        padding: 12px;
    }

    .payment-pending:before,
    .payment-form-container:before {
        width: 150px;
    }

    .payment-pending:after,
    .payment-form-container:after {
        width: 140px;
    }

    .payment-info {
        padding-top: 10px;
        margin-top: 10px;
    }
}