:root {
    --primary-green: rgb(131, 177, 67);
    --primary-green-active: #518e29;
    --primary-green-disabled: #b0d18b;
}

html, body {
    -webkit-overflow-scrolling: touch;/* webkit on IOS*/
}

@font-face {
    font-family: 'rouble';
    src: local('rouble'), url(../fonts/rubl/rouble.woff) format("woff");
    font-style: normal
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

hr {
    margin: 21px auto;
}

.page-wrapper {
    padding: 10px;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
}

/*Header*/

.page-header {
    margin-bottom: 21px;
    position: relative;
    max-height: 36px
}

.logo-bank {
    position: relative;
    max-width: 237px;
    float: left;
}

.logo-bank img {
    width: auto;
    border: 0;
    margin-top: -4px;
    margin-bottom: -4px;
    height: 44px;
}

.clear {
    margin: 0;
    padding: 0;
    position: relative;
    clear: both;
    line-height: 0;
    font-size: 0;
}

.header .header__title {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    line-height: 1em;
}
.center {
    text-align: center;
}

.input-row {
    max-width: 268px;
    margin-left: auto;
    margin-right: auto;
}

.input-field {
    background: #fff;
    border: solid 1px #abadb3;
    display: block;
    text-decoration: none;
    width: 100%;
    margin-bottom: 15px;
    height: 45px;
    font-size: 20px;
    text-align: center;
    box-sizing: border-box;
}

.hide {
    display: none !important;
}

.input-row__error {
    color: #c01c37;
    padding-bottom: 15px;
}

.info {
    font-size: 12px;
    color: #777777;
}

.footer .logos {
    display: flex;
    justify-content:space-between;
    padding: 10px 0;
}

.footer .logos img {
    height: 22px;
}

.green_bt {
    background-color: var(--primary-green);
    border-radius: 55px;
    color: #fff;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 10px;
    outline: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.green_bt:hover {
    box-shadow: 0 19px 24px 0 rgb(92 103 117 / 15%);
}

.green_bt:active {
    background-color: var(--primary-green-active);
}

.green_bt:disabled {
    background-color: var(--primary-green-disabled);
    cursor: not-allowed;
    opacity: 0.8;
}

.currency_container {
    font-family: rouble, sans-serif;
}

.license-info {
    font-size: 9px;
}

@media (max-width: 300px) {
    .footer .logos img {
        height: 16px;
    }
}

.image-container {
    width: 100%; /* Контейнер занимает всю ширину родительского элемента */
    padding-top: 56.25%; /* Соотношение сторон 16:9 (высота/ширина) */
    position: relative;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* New design */

.sl-main-btn {
    display: block;
    background-color: var(--primary-green);
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    border-width: 0;
}

.sl-main-btn:hover,
.sl-main-btn:active,
.sl-main-btn:focus {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
    background-color: var(--primary-green-active);
}

.sl-main-btn:disabled {
    background-color: var(--primary-green-disabled);
    cursor: not-allowed;
    opacity: 0.8;
}

.sl-input {
    font-size: 20px;
    background-color: #e7e7e7 !important;
    border-radius: 12px;
    padding: 15px 25px;
    border-width: 0;
    outline: 2px solid transparent;
    transition: outline-color 0.3s ease;
}

.sl-input:active,
.sl-input:focus,
.sl-input:hover {
    outline-color: rgba(177, 177, 177, 0.45);
}

.sl-confirm-code-info {
    text-align: center;
    font-size: 16px;
    background-color: #30323C !important;
    border-radius: 12px;
    border-width: 0;
    outline: 2px solid transparent;

}

.sl-confirm-code-info a,
.sl-confirm-code-info div {
    color: #fff;
    display: block;
    height: 100%;
    width: 100%;
    padding: 16px 25px;
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.sl-confirm-code-info a:hover {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.sl-confirm-code-info div:hover {
    cursor: not-allowed;
}

.sl-input-icon {
    background-repeat: no-repeat;
    background-position: 15px 19px;
    padding-left: 50px;
}

.sl-input-icon-btn {
    position: absolute;
    right: 5px;
    top: 10px;
    left: calc(100% - 45px);
    bottom: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.sl-input-icon-btn img {
    transition: transform 0.3s ease-in-out;
}

.sl-input-icon-btn:focus img {
    transform: scale(1.1);
}

.sl-input-label {
    display: block;
    margin-left: 25px;
    color: #838383;
    font-size: 12px;
}

.sl-h2 {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    width: 100%;
}

.sl-h3 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    width: 100%;
}

.sl-default-link {
    text-decoration: none;
    cursor: pointer;
}

.sl-default-link:focus,
.sl-default-link:hover {
    text-decoration: underline;
}

.sl-default-link i {
    width: 30px;
    text-align: center;
}

.mobile-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 50px);
    max-width: 576px;
}

.center-col-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.ml-10 {
    margin-left: 10px;
}

.ml-20 {
    margin-left: 20px;
}

.ml-50 {
    margin-left: 50px;
}

.ml-100 {
    margin-left: 100px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-70 {
    margin-top: 70px;
}

.sl-50-square {
    height: 50px;
    width: 50px;
}

.sl-20-square {
    height: 20px;
    width: 20px;
}

.no-border {
    border: 0 solid transparent;
}

.center-error-message {
    color: #842029;
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
}

.center-success-message {
    color: green;
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
}

.sl-checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sl-checkbox-row__input-wrapper {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 4px;
    background: #fff;
}

.sl-checkbox-row__input-wrapper input[type="checkbox"] {
    appearance: none;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: relative;
    transition: box-shadow 0.3s ease-in-out;
}

.sl-checkbox-row__input-wrapper input[type="checkbox"]:focus {
    box-shadow: 0 0 6px 1px #00000022;
}

.sl-checkbox-row__input-wrapper input[type="checkbox"]:checked {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.sl-checkbox-row__input-wrapper input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}

.sl-primary-color {
    color: var(--primary-green);
    transition: color 0.3s ease-in-out;
}

.sl-primary-color:focus,
.sl-primary-color:hover {
    color: var(--primary-green-active);
}

.pointer {
    cursor: pointer;
}

.sl-item {
    padding: 15px;
    background-color: #e7e7e7;
    border-radius: 12px;
}

.sl-item__datetime {
    font-size: 12px;
    color: #4e4e4e;
    background: #f1f3f4;
    padding: 2px 7px 0 7px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.sl-item__time {
    color: #989898;
    font-size: 10px;
    margin-left: 5px;
}

.sl-pair-label {
    color: #9ca3af;
}

select:disabled {
    color: light-dark(rgb(84, 84, 84), rgb(170, 170, 170));
}

option[main="true"] {
    font-weight: bold;
    color: #0f5132;
    background-color: #d1e7dd;
}

input[type="date"] {
    -webkit-appearance: none; /* иначе на ios ломается */
    color: #000;
}