
.over-overlay {
    position: fixed;
    top: 0;
    overflow: auto;
    width: 100%;
    z-index: 100;
    min-height: 100vh;
    display: none;
}

.overlay {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(32, 29, 26, 0.6);
    display: none;
    filter: blur(8px);
}

.recaptcha-over-overlay {
  z-index: 200;
}

.menu-overlay {
    z-index: 3 !important;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(62, 59, 100, 0.5);
    display: none;
    backdrop-filter: blur(8px);
}

.form-popup {
    display: none;
    max-width: 500px;
    margin: 0 auto;
    position: absolute;
    top: 10vh;
    left: 0;
    right: 0;
    z-index: 120;
}

.callbackform__message {
    position: relative;
    padding: 60px;
    border-radius: 24px;
    border: 1px solid #272727;
    background: #222039;
}

.callbackform__message_thnx {
    text-align: center;
}

.close-icon {
    cursor: pointer;
    z-index: 6;
    position: absolute;
    top: 24px;
    right: 24px;
    height: 16px;
    width: 16px;
    background-image: url(../img/close-icon.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.callbackform__thnx-img {
    display: block;
    margin: 0 auto 4px auto;
    width: 56px;
}

.callbackform__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: #f0f0f0;
}

.callbackform__description {
    font-size: 18px;
    line-height: 22px;
    color: #f0f0f0;
    margin: 8px 0 0 0;
}

.callbackform__note {
    color: #f0f0f0;
    opacity: 0.8;
    font-size: 14px;
    line-height: 18px;
    margin: 24px 0 0 0;
}

.callbackform__input {
    margin: 16px 0 0 0;
    border-radius: 8px;
    border: 1px solid #40404a;
    background: #403c68;
    padding: 16px 4px 16px 16px;
    font-size: 16px;
    line-height: 32px;
.callbackform__input-container {
    position: relative;
    margin-top: 16px;
    display: inline-block;
    width: 100%;
}
.callbackform__input-container .callbackform__input {
    margin: 0;
}
.callbackform__input-phone-mask {
    padding: 12px 24px 12px 73px;
}
.callbackform__flag-container {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 57px;
    height: 40px;
    background: #403c68;
    padding: 12px 0 12px 12px;
    display: flex;
    align-items: center;
}

.callbackform__flag-container::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    background: url(../img/callbackform__flag-arrow.svg) center center no-repeat;
    background-size: contain;
    width: 8px;
    height: 6px;
}

.callbackform__flag {
    width: 20px;
    margin: 0 16px 0 0;
    transform: scale(1.2);
    background-image: url("../img/flags.png");
    background-repeat: no-repeat;
    background-color: #dbdbdb;
    background-position: 20px 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .callbackform__flag {
        background-image: url("../img/flags@2x.png");
    }
}

.callbackform__dropdown {
    position: absolute;
    top: 46px;
    background: #f8f8f8;
    z-index: 2;
    width: 100%;
    border: 1px solid #ededed;
    overflow: hidden;
}

.callbackform__dropdown.hide {
    display: none;
}

.callbackform__dropdown.show {
    display: block;
}

.callbackform__country-list {
    padding: 0;
    margin: 0;
    height: 100%;
    max-height: 50vh;
    overflow: auto;
}

.callbackform__country-item {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 22px;
    cursor: pointer;
}

.callbackform__country-item.hide {
    display: none;
}

.callbackform__country-item:hover {
    background: #fff;
}

.callbackform__country-name {
    display: inline-block;
    margin-right: 8px;
    color: #454545;
}
.callbackform__country-phone-code {
    color: #454545;
}

@media screen and (max-width: 750px) {
    .callbackform__dropdown {
        top: 44px;
    }
}
    border: none;
    width: 100%;
    outline: none;
    color: #fff;
}

.callbackform__input:focus,
.callbackform__input:focus::placeholder {
    background: #eff;
    color: #1e1e1f !important;
}

.callbackform__input::placeholder {
    color: #8f96a5;
}

.callbackform__btn {
    width: 100%;
    text-align: center;
    font-size: 18px;
    line-height: 20px;
    color: #ffffff;
    padding: 16px 24px;
    margin: 24px 0 0 0;
    border: none;
    cursor: pointer;
    transition: 0.2s all;
}

.callbackform__btn_disabled {
    background: #e2e2e2;
    color: rgba(29, 29, 29, 0.5);
    cursor: initial;
}

.callbackform__btn_disabled:hover {
    background: #e2e2e2;
}

.callbackform__agreecheck {
    margin: 16px 0 0 0;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px;
    margin: 8px -8px -8px -8px;
    transition: 0.2s;
}

.callbackform__agreecheck.error {
    border: 1px solid #ff5858;
    border-radius: 10px;
    padding: 8px;
    margin: 8px -8px -8px -8px;
}

.callbackform__checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.callbackform__checkbox + label {
    display: block;
    user-select: none;
    padding: 0 0 0 40px;
    position: relative;
    font-size: 12px;
    line-height: 16px;
    color: #f0f0f0;
    opacity: 0.8;
}

.callbackform__checkbox + label a {
    color: inherit;
}

.callbackform__note-message a {
    color: inherit;
}

.callbackform__checkbox + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 13px;
    cursor: pointer;
    border: 1px solid #7be6e6;
}

.callbackform__checkbox:checked + label::before {
    background-image: url("../img/default/checkbox.svg");
    background-size: 80%;
}

.callbackform__error-message {
    color: #ff2c2c;
    position: relative;
    line-height: 0px;
    opacity: 0;
    transition: all 0.2s;
    font-weight: 400;
    font-size: 12px;
    margin: 8px 0 -8px 0;
    border-radius: 4px;
    border: 1px solid #f08585;
    background: #e0e0e0;
    padding: 4px;
    width: max-content;
    max-width: 100%;
}

.callbackform__message input.error {
    border: 1px solid #fe5656;
}

.callbackform__add-to-calendar {
    border: 2px solid rgb(240, 240, 240, 0.9);
    border-radius: 12px;
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    color: #f0f0f0;
    padding: 18px;
    margin: 16px 0 0 0;
    position: relative;
}

.callbackform__add-to-calendar img {
    width: 20px;
    position: relative;
    top: 3px;
    margin: -5px 0 0 3px;
}

@keyframes input-error {
    0% {
        transform: translate(0);
    }

    33% {
        transform: translate(5px);
    }

    66% {
        transform: translate(-5px);
    }

    100% {
        transform: translate(0);
    }
}

/*new styles*/
.hidden {
    display: none;
}

.callbackform___stap-phone-code {
    display: none;
    position: relative;
}

.callbackform___stap-with-email {
    display: none;
    position: relative;
}

.callbackform__note-message {
    color: #f0f0f0;
    opacity: 0.8;
    font-size: 12px;
    line-height: 16px;
    margin: 12px 0 0 0;
}

.allbackform__note-message_top {
    margin: 24px 0 0 0;
}

.callbackform__input-code-wrap {
    position: relative;
}

.callbackform__input-code-state {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 24px;
    height: 24px;
    background-size: contain;
    display: none;
}

.callbackform__input-code-state_sending {
    background: url(../img/default/sending.svg) center center no-repeat;
    transform: rotate(0);
    animation: rotation 2s linear infinite;
    display: block;
}

.callbackform__input-code-state_success {
    background: url(../img/default/success.svg) center center no-repeat;
    display: block;
}

.callbackform__input-code-state_new-code {
    background: url(../img/default/new-code.svg) center center no-repeat;
    display: block;
    cursor: pointer;
}

.callbackform__input-container {
    position: relative;
    margin-top: 16px;
    display: inline-block;
    width: 100%;
}
.callbackform__input-container .callbackform__input {
    margin: 0;
}
.callbackform__input-phone-mask {
    padding: 12px 24px 12px 73px;
}
.callbackform__flag-container {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 57px;
    height: 40px;
    background: #403c68;
    padding: 12px 0 12px 12px;
    display: flex;
    align-items: center;
}

.callbackform__flag-container::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    background: url(../img/callbackform__flag-arrow.svg) center center no-repeat;
    background-size: contain;
    width: 8px;
    height: 6px;
}

.callbackform__flag {
    width: 20px;
    margin: 0 16px 0 0;
    transform: scale(1.2);
    background-image: url("../img/flags.png");
    background-repeat: no-repeat;
    background-color: #dbdbdb;
    background-position: 20px 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .callbackform__flag {
        background-image: url("../img/flags@2x.png");
    }
}

.callbackform__dropdown {
    position: absolute;
    top: 46px;
    background: #f8f8f8;
    z-index: 2;
    width: 100%;
    border: 1px solid #ededed;
    overflow: hidden;
}

.callbackform__dropdown.hide {
    display: none;
}

.callbackform__dropdown.show {
    display: block;
}

.callbackform__country-list {
    padding: 0;
    margin: 0;
    height: 100%;
    max-height: 50vh;
    overflow: auto;
}

.callbackform__country-item {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 22px;
    cursor: pointer;
}

.callbackform__country-item.hide {
    display: none;
}

.callbackform__country-item:hover {
    background: #fff;
}

.callbackform__country-name {
    display: inline-block;
    margin-right: 8px;
    color: #454545;
}
.callbackform__country-phone-code {
    color: #454545;
}

@media screen and (max-width: 750px) {
    .callbackform__dropdown {
        top: 44px;
    }
}

@keyframes rotation {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.callbackform__href-next-step {
    cursor: pointer;
    width: max-content;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #7be6e6;
    margin: 25px auto 0 auto;
}

.callbackform__arrow-back {
    position: absolute;
    top: -20px;
    left: -30px;
    cursor: pointer;
}

.callbackform__arrow-back img {
    width: 24px;
}

.callbackform___stap-phone-code-hidden {
    display: none;
}

.callbackform__message_thnx {
    display: none;
}

.callbackform__title_ltl {
    font-size: 24px;
    line-height: 32px;
}

@media screen and (max-width: 1350px) {
    .callbackform__description {
        font-size: 16px;
        line-height: 22px;
    }

    .callbackform__note {
        margin: 16px 0 0 0;
    }

    .callbackform__btn {
        font-size: 16px;
    }

    .callbackform__input {
        font-size: 16px;
        line-height: 22px;
        border-radius: 8px;
    }

    .callbackform__add-to-calendar {
        border-radius: 8px;
        padding: 12px;
    }
}

@media screen and (max-width: 750px) {
    .callbackform__arrow-back {
        top: -19px;
        left: -12px;
    }

    .callbackform__arrow-back img {
        width: 17px;
    }

    .callbackform__title_ltl {
        font-size: 18px;
        line-height: 24px;
    }

    .form-popup {
        max-width: 400px;
    }

    .callbackform__message {
        box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.15);
        border-radius: 20px;
        padding: 32px 24px 32px 24px;
    }

    .close-icon {
        top: 17px;
        right: 16px;
        height: 16px;
        width: 16px;
    }

    .callbackform__title {
        font-size: 24px;
        line-height: 28px;
    }

    .callbackform__description {
        font-size: 16px;
        line-height: 20px;
        margin: 8px 0 8px 0;
    }

    .callbackform__input {
        margin: 8px 0 0 0;
        line-height: 20px;
        padding: 12px 16px;
    }

    .callbackform__btn {
        padding: 14px 24px;
    }

    .callbackform__checkbox + label {
        padding: 0 0 0 32px;
    }
}
