@import "reset.css";

* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 15px;
    line-height: 117%;
}

@media (max-width: 991px) {
    * {
        font-size: 14px;
    }
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* HEADER MAIN */

.main__header {
    z-index: 10;
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
}

.main__header-body {
    display: grid;
    grid-template-columns: 220px 1fr 120px;
}

.main__header-logo {
    align-self: center;
}

.main__header-phone {
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.main__header-phone a {
    line-height: 25px;
    font-size: 19px;
    font-weight: 600;
    color: #FFFFFF;
}

.main__header-phone p {
    line-height: 25px;
    color: #FFFFFF;
    opacity: .6;
    font-size: 15px;
}

.main__header-btn {
    align-self: center;
    height: 45px;
    width: 100%;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #3176D8;
    font-weight: 600;
    font-size: 21px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .3s ease, color .3s ease;
}

.main__header-btn:hover {
    background-color: transparent;
    color: #FFFFFF;
}

@media (max-width: 991px) {
    .main__header-body {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main__header-logo {
        width: 120px;
    }

    .main__header-btn {
        width: 84px;
        font-size: 15px;
    }

    .main__header-phone {
        display: none;
    }
}

/* HEADER FOR OTHERS PAGES */

.header {
    margin-bottom: 40px;
}

.header-body {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    height: 70px;
}

.header__phone {
    align-self: center;
    justify-self: center;
}

.header__phone a {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header__phone a img {
    transform: scaleX(-1);
}

.header__phone p {
    font-size: 12px;
    text-align: center;
}

.header__logo {
    grid-column: 2/3;
    align-self: center;
    justify-self: center;
}

.header__actions {
    align-self: center;
    justify-self: end;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__actions-btn {
    padding: 8px 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    background-color: #E9F5FF;
}

.header__actions-btn:hover {
    color: #000000;
}

.header__actions-logout {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-right: 16px;
}

.header-menu {
    display: none;
}

@media (max-width: 991px) {
    .header__phone {
        display: none;
    }

    .header-body {
        grid-template-columns: 80px 1fr 80px;
    }

    .header-menu {
        align-self: center;
        justify-self: start;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .header__actions-btn {
        display: none;
    }

    .header__actions-logout {
        display: none;
    }
}

.mobile {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-color: #FFFFFF;
    z-index: 100;
    padding: 15px;
}

.mobile__header {
    display: grid;
    grid-template-columns: 40px 1fr 78px;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.mobile__header-close {
    cursor: pointer;
    height: 24px;
}

.mobile__header-btn {
    justify-self: end;
    padding: 8px 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    background-color: #E9F5FF;
}

.mobile__menu {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.mobile__menu-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
}

.mobile__menu-item img {
    width: 24px;
}

/* FOOTER */

.footer {
    margin-top: 40px;
    margin-bottom: 40px;
}

.footer-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer__top {
    background-color: #E9F5FF;
    padding: 30px 50px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer__top-phones {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.footer__top-phones-item {
    color: #000000;
    font-weight: 600;
    font-size: 17px;
}

.footer__top-worktime {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.footer__top-worktime-item {
    color: #000000;
    font-weight: 600;
    font-size: 17px;
}

.footer__top-logo {
    align-self: center;
}

@media (max-width: 991px) {
    .footer__top {
        padding: 15px 25px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.footer__docs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.footer__docs-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
}

.footer__docs-item img {
    width: 18px;
    height: 18px;
}

.footer__docs-item a {
    font-size: 14px;
    line-height: 1.3;
    color: #000000;
    transition: color .3s ease;
}

.footer__docs-item a:hover {
    color: #0B4AD8;
}

@media (max-width: 991px) {
    .footer__docs {
        grid-template-columns: 1fr;
    }
}

.footer__bottom * {
    color: rgba(0, 0, 0, .5);
}

.footer__bottom a {
    color: rgba(133, 47, 185, 0.5);
    text-decoration: underline;
}

/* OTHERS */

.range {
    z-index: 1;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 18px;
    border-radius: 50px;
    background: #f1f1f1;
    outline: none;
    padding: 0;
    margin: 0;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 31px;
    height: 33px;
    border-radius: 50%;
    background: #8CFFF7;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, .3);
    cursor: pointer;
    -webkit-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}

.range::-webkit-slider-thumb:hover {
    background: #8CFFF7;
}

.range::-moz-range-thumb {
    width: 31px;
    height: 33px;
    border-radius: 50%;
    background: #8CFFF7;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, .3);
    cursor: pointer;
    -webkit-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}

.hide {
    display:none!important;
}

.info-modal {
    max-width:500px;
    text-align:center;
    border-radius:16px;
}

.info-modal div {
    font-weight: 500;
    line-height: 1.5;
}

.info-modal strong {
    font-weight: 700;
}

.info-modal .form-group {
    margin-top: 16px;
}

.info-modal .form-control {
    margin-bottom: 8px;
}

.info-modal .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #8D20A7;
}

.info-modal .sms-repeat {
    color: #a7a7a7;
    margin-top: 8px;
    display: block;
    width: 240px;
}

.info-modal .btn {
    background: #FF8D3B;
    border: none;
    outline: none;
    border-radius: 16px;
}

.error-icon {
    display:block;
    width:64px;
    height:64px;
    margin: 0 auto 20px auto;
    background: url('../img/icons/error.svg') center no-repeat;
    background-size:contain;
}

.success-message,
.error-message {
    display:block;
    color:#df3b3b;
    font-weight:600;
    margin:10px 0;
}

.success-message {
    color:#54cc61;
}

.success-message p {
    padding-bottom:20px;
}

.input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .5);
    border-radius: 8px;
    font-size: 13px;
    height: 51px;
    padding: 0 16px;
    transition: border .3s ease;
}

.input:focus {
    border: 1px solid rgba(133, 47, 185, .5);
}

.btn-orange {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 42px;
    background-color: #FF8D3B;
    color: #FFFFFF;
    border: 1px solid #FF8D3B;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background-color .3s ease, color .3s ease;
}

.btn-orange:hover {
    background-color: #FFFFFF;
    color: #FF8D3B;
}

.sbp__list {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sbp__list-bg {
    cursor: pointer;
    position: fixed;
    z-index: 1;
    background-color: rgba(0, 0, 0, .5);
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
}

.sbp__list-body {
    border-radius: 16px;
    padding: 16px 24px;
    position: relative;
    z-index: 2;
    height: 60vh;
    width: 400px;
    background: #f4eaff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.sbp__list-search {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    border-radius: 24px;
    padding: 0 16px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.sbp__list-banks {
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 52px;
    gap: 12px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 18px;
    padding: 12px 6px;
}

.sbp__list-banks::-webkit-scrollbar {
    display: none;
}

.sbp__list-banks-item {
    width: 100%;
    height: 52px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    padding: 6px;
    border-radius: 8px;
}

.sbp__list-banks-item.selected {
    background-color: #f4eaff;
}

.sbp__list-banks-item-icon {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.sbp__list-banks-item-name {
    font-size: 18px;
    font-weight: 500;
    margin: 0!important;
}

@media (max-width: 600px) {
    .sbp__list-body {
        padding: 12px 18px;
        width: calc(100% - 30px);
    }

    .sbp__list-search {
        padding: 0 12px;
        margin-bottom: 12px;
    }
}

.sbp-text {
    color: #00c4f1;
    cursor: pointer;
    margin-top: 8px;
}

.btn.sbp-text {
    color: #fff;
}

.sbp-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.sbp-label img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.btn-accept-contract, .btn-accept-contract:hover, .btn-accept-contract:focus, .btn-accept-contract:active {
    background-color: rgb(255, 111, 25);
    color: #fff;
    font-weight: 600;
}
