.make-appointment {
    position: relative;
}
.calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 576px) {
    .calendar__header {
        margin-bottom: 16px;
    }
}
.calendar-make h3 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 21px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #21272a;
}
@media (max-width: 576px) {
    .calendar-make h3 {
        font-size: 16px;
        line-height: 24px;
    }
}
.calendar__control {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}
@media (max-width: 576px) {
    .calendar__control {
        font-size: 14px;
        line-height: 20px;
    }
}
.month-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.calendar__header-text {
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    min-width: 120px;
    text-align: center;
}
@media (max-width: 576px) {
    .calendar__header-text {
        font-size: 14px;
        min-width: 100px;
        line-height: 20px;
    }
}
.calendar__days-names {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 12px;
    gap: 12px;
    margin-bottom: 12px;
}
@media (max-width: 576px) {
    .calendar__days-names {
        margin-bottom: 8px;
    }
}
.calendar__days-names div {
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.02em;
    color: var(--text-tertiary);
}
@media (max-width: 576px) {
    .calendar__days-names div {
        font-size: 12px;
        line-height: 18px;
    }
}
.calendar-make .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 12px 8px;
    gap: 12px 8px;
}
@media (max-width: 576px) {
    .calendar-make .days {
        gap: 8px;
    }
}
.calendar-make .day {
    height: 40px;
    line-height: normal;
    border: 1px solid var(--color-grayscale-40);
    border-radius: 32px;
    padding: 8px 16px;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
}
@media (max-width: 576px) {
    .calendar-make .day {
        border-radius: 32px;
        width: 100%;
        height: 36px;
        font-size: 14px;
        padding: 0;
        line-height: 20px;
    }
}
.calendar-make .day.disable {
    color: var(--text-secondary);
    border: 1px solid var(--color-grayscale-40);
    opacity: .5;
    pointer-events: none;
}
.calendar-make .day:empty {
    display: none;
}
.calendar-make .day:hover {
    background: rgba(244, 247, 251, 0.6);
    border: 1px solid var(--color-grayscale-40);
    color: var(--text-primary);
}
.calendar-make .day:active {
    border: 1.5px solid var(--border-orange);
    color: var(--text-orange);
}
.calendar-make .day.muted {
    color: var(--text-secondary);
    border: 1px solid var(--color-grayscale-40);
    opacity: 0.5;
}
.calendar-make .day.act {
    border: 1.5px solid var(--border-orange);
    color: var(--text-orange);
    background: transparent;
}
.make-appointment .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.make-appointment .swiper-slide {
    margin-right: 8px;
    margin-bottom: 8px;
}
#otp_target .fake-inputs {
    display: flex;
    align-items: center;
}

/**/
.appointment-popup {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, .7);
    backdrop-filter: blur(4px);
    color: #4D5358;
}
.appointment-popup.open {
    display: block;
}
.appointment-popup__wrap {
    background-color: white;
    border-radius: 16px;
    max-width: 370px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 36px 20px;
}
.appointment-popup__content {
    position: relative;
}
.appointment-popup__error {
    color: red;
    text-align: center;
    margin-bottom: 12px;
    padding: 0 7px;
}
.appointment-popup__close {
    position: absolute;
    top: -25px;
    right: -10px;
    background-image: url("images/icon-close.svg?v=1");
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.appointment-popup h2 {
    font-size: 24px;
    line-height: 29px;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
    color: #EE7219;
}
.appointment-popup__text {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 28px;
    color: #646565;
}
.appointment-popup__text2 {
    padding: 22px 16px;
    background-color: #EE7219;
    color: white;
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    margin: 0;
}
.appointment-popup__btn-close {
    display: block;
    height: 52px;
    cursor: pointer;
    background-color: #F18D18;
    border-radius: 16px;
    color: white;
    font-size: 17px;
    line-height: 28px;
    border: 0;
    padding: 12px 50px;
    margin: 0 auto;
}
.appointment-popup__icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}
.realInput {
    opacity: 0;
}
#otp_target .otp-fake-input {
    border: 1px solid #C8CCD0;
    border-radius: 12px;
    cursor: text;
}
#otp_target .otp-fake-input.otpdesigner__focus__ {
    border: 2px solid #F18D18;
}
#otp_target .otp-fake-input:not(:last-child) {
    margin-right: 8px;
}
#otp_target {
    margin-bottom: 24px;
}
.sms-popup__message {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 24px;
    text-align: center;
}
.sms-popup__resend .resend-btn {
    font-size: 17px;
    line-height: 24px;
    background-color: transparent;
    border: 0;
    color: #077EDC;
    margin: 0 auto;
    cursor: pointer;
}
.sms-popup__resend .resend-btn {
    display: none;
}
.sms-popup__resend-msg {
    text-align: center;
    font-size: 17px;
    line-height: 28px;
}
.sms-popup__resend-msg .timer {
    font-size: 21px;
    line-height: 28px;
    font-weight: 600;
}
.sms-popup__resend .sms-popup__resend-msg {
    display: block;
}
.sms-popup__resend.resend-available .resend-btn {
    display: block;
}
.sms-popup__resend.resend-available .sms-popup__resend-msg {
    display: none;
}

@media screen and (max-width: 800px) {
    .appointment-popup__wrap {
        padding: 32px;
    }
    .appointment-popup h2 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 24px;
    }
    #otp_target {
        margin-bottom: 16px;
    }
    .sms-popup__message {
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 20px;
    }
    .sms-popup__resend-msg {
        font-size: 16px;
        line-height: 24px;
    }
    .appointment-popup__close {
        top: -25px;
        right: -25px;
    }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 2;
    display: none;
}
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
.loading-overlay.show {
    display: flex;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-shedule__message {
    top: 50px;
}
.empty-shedule__message-wrap {
    display: flex;
    flex-direction: column;
    background-color: #f9fbf6;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .15);
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    margin-top: -200px;
}
.empty-shedule__message p {
    margin-bottom: 20px;
}
.empty-shedule__message .btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;
}

#register-client__captcha-container {
    display: flex;
}
#register-client__captcha-container input[name=captchaVal] {
    width:200px;
    margin-left:16px;
}
#register-client__captcha-container button {
    margin-left:16px;
    height: 52px;
    cursor: pointer;
    background-color: #cccccc;
    border-radius: 16px;
    color: white;
    font-size: 17px;
    line-height: 28px;
    border: 0;
    padding: 12px 44px;
}
@media (max-width: 560px) {
    #register-client__captcha-container input[name=captchaVal],
    #register-client__captcha-container button {
        margin-left:4px;
    }
    #register-client__captcha-container img {
        width:auto;
    }
}
@media (max-width: 530px) {
    #register-client__captcha-container button {
        padding: 12px;
    }
}
@media (max-width: 454px) {
    #register-client__captcha-container input[name=captchaVal] {
        width:100px;
    }
}

.btns button.hidden {
    display: none;
}
.empty-shedule__message button {
    width:100%;
}