@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

:root {
    --bg: #f6f7fa;
    --white: #ffffff;
    --secondary: #7b7c80;
    --input: rgba(0, 0, 0, 0.05);
    --black: #414045;
    --primary: #7e96fb;
    --primary-hovered: #8ea6ff;
    --primary-disabled: #dee2f0;
    --success: #00bf63;
    --negative: #ff5858;
    --processing: rgba(0, 0, 0, 0.4);
}

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

body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--black);
    transition: all 0.3s ease;
}
@media (min-width: 640px) {
    body {
        font-size: 18px;
        padding: 15px 0;
    }
}
button {
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    background-color: transparent;
    cursor: pointer;
}

input, textarea {
    width: 100%;
    padding: 12px 16px 10px;
    outline: none;
    border-radius: 12px;
    background: var(--input);
    font-size: 16px;
    transition: 0.3s ease;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    cursor: pointer;
    border: 2px solid transparent;
}
textarea {
    overflow: auto;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    resize: none;
    min-height: 50px;
}
textarea::placeholder,
input::placeholder { color: var(--secondary); }
input {
    vertical-align: middle;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

textarea.warning,
input.warning { border: 2px solid var(--negative); }
.error_text {
    font-size: 14px;
    padding: 0 16px;
    color: var(--negative);
}
.attention_text {
    font-size: 14px;
    color: var(--negative);
}
ul { list-style: none; }


a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }

/* кнопка */
.btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    background: var(--primary);
    font-size: 16px;
    text-transform: uppercase;
    color: var(--white);
    cursor: pointer;
    transition: 0.3s ease;
}
.btn:hover, .btn:active {
    background: var(--primary-hovered);
}
.btn.disabled {
    background: var(--primary-disabled);
    cursor: unset;
}

/* отступы */
.margin6 { margin-top: 6px; }
.margin8 { margin-top: 8px; }
.margin10 { margin-top: 10px; }
.margin14 { margin-top: 14px; }
.margin20 { margin-top: 20px; }
.margin24 { margin-top: 24px; }
.margin40 { margin-top: 40px; }
.margin56 { margin-top: 56px; }
.margin-left-16 { margin-left: 16px; }


/* позиция */
.relative { position: relative; }

/* расположение */
.none { display: none !important; }
.hide { visibility: hidden !important; }
.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.centered_absolutely {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* шрифты */
.text_bold { font-weight: 700; }
.text_secondary { color: var(--secondary); }
.text_title {
    background: linear-gradient(124.65deg, #18548B 18.13%, #0B2878 88.15%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}
.text_title-section {
    font-size: 18px;
    text-indent: 16px;
}
.text_title-font { font-size: 22px; }
@media (min-width: 640px) {
    .text_title-section { font-size: 20px; }
    .text_title-font { font-size: 24px; }
}

/* иконки */
.icon__status {
    display: block;
    width: 50px;
    height: 50px;
}
.icon__arrow {
    width: 10px;
    height: 6px;
}

/* переход */
.transition { transition: all 0.4s ease; }

/* основной блок */
.payment {
    width: 100%;
    height: 100%;
    background: var(--white);
    overflow: auto;
}
.payment::-webkit-scrollbar { display: none; }
.payment { scrollbar-width: none; }
.container { -ms-overflow-style: none; }

.payment__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.payment__header > * + * { margin-left: 12px; }
.payment__block {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: var(--white);
}
.payment__container { padding: 40px 24px 32px; }
.amount__hint {
    font-size: 14px;
    padding: 0 16px;
}
@media (min-width: 640px) {
    .payment {
        width: 640px;
        max-height: 750px;
        box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
    }
    .amount__hint {
        font-size: 16px;
    }
}
