/* ---------------------------------
   Контейнер секции Личного кабинета
---------------------------------- */
.medical_personal-lk {
    display: inline-flex;
    width: 100%;
}
.medical_personal-lk .left_menu {
    width: 300px;
    text-align: center;
}
.medical_personal-lk .main_content {
    padding: 0px 20px;
}
.medical_personal-lk .left_menu ul li a {
    padding: 5px 25px;
    height: 30px;
    width: auto;
    display: block;
    margin: 5px 0px;
    font-family: 'Inter', 'Arial', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    background: linear-gradient(180deg, #F6606F 0%, #F099A2 100%);
}
.medical_personal-lk .left_menu ul li a.active {
    background: linear-gradient(180deg, #93b9b0 0%, #628a81 100%);
}

/* --------------- */
/* Стили для .user_select */
/* --------------- */

.user-select-wrapper {
    position: relative;
    display: inline-block;
    max-width: 300px;
}

.user_select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 100%;
    padding: 10px 40px 10px 16px;
    font-size: 16px;
    line-height: 1.2;

    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 6px;

    cursor: pointer;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.user_select:focus {
    outline: none;
    border-color: #009F97;
    box-shadow: 0 0 0 2px rgba(0, 159, 151, 0.2);
}

.user-select-wrapper::after {
    content: "";
    position: absolute;
    top: 53%;
    right: 12px;
    width: 12px;
    height: 12px;
    pointer-events: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.666504 0.333374L5.00017 4.66604L9.33384 0.333374' stroke='%23333' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.lk_link {
    margin-right: 210px;
}
.user_select option {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user_select:hover {
    border-color: #b3b3b3;
}

/* Изначально ограничиваем высоту и скрываем описание */
.motconsu_wrapper {
    max-height: 50px;          /* например, высота «линии заголовка» */
    overflow: hidden;
    transition: max-height 0.3s ease;

}
.motconsu_description {
    display: none;
    margin-top: 10px;         /* отступ для красоты */
}
/* Когда раскрыто — увеличиваем max-height, чтобы вместить описание */
.motconsu_wrapper.show .account-row__title {
    margin: 10px 0px;
}
.motconsu_wrapper.show {
    max-height: 500px;
    margin: 25px 0px;
    overflow-y: auto;
    width: 70%;
}

.embriolist .account-row__buttons .btn-group:hover{
    cursor: pointer;
}
.user_select.small-font {
    font-size: 14px;
}

.user_select.full-width {
    width: 100%;
}

/* ---------------------------------
   Форма ввода телефона
---------------------------------- */
.phone-check-form {
    max-width: 400px;
    width: 100%;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 32px 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 0 auto;
}

.phone-check-form__title {
    font-family: "PT Sans", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #93b9b0;
    margin-bottom: 8px;
}

.phone-check-form__subtitle {
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    color: #333333;
    margin-bottom: 24px;
}

.phone-check-form__label {
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    color: #93b9b0;
    text-align: left;
    display: block;
    margin-bottom: 8px;
}

.phone-check-form__input {
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    outline: none;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.phone-check-form__input:focus {
    border-color: #e94560;
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

.phone-check-form__button {
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #e94560;
    border: none;
    border-radius: 6px;
    padding: 14px 0;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    width: 100%;
}

.phone-check-form__button:hover {
    background-color: #d73756;
    transform: translateY(-1px);
}

.phone-check-form__button:active {
    transform: translateY(0);
}

.phone-check-form__error {
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    color: #e94560;
    margin-top: 8px;
    display: none; /* Покажем только при ошибке */
}

/* ---------------------------------
   Модальное окно ввода кода
---------------------------------- */
.sms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.sms-modal.visible {
    opacity: 1;
}

.sms-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.sms-modal__content {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    max-width: 360px;
    width: 90%;
    padding: 24px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 10000;
}

.sms-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: #888888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sms-modal__close:hover {
    color: #333333;
}

.sms-modal__title {
    font-family: "PT Sans", sans-serif;
    font-size: 20px;
    color: #0d3b66;
    margin-bottom: 8px;
}

.sms-modal__subtitle {
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    color: #333333;
    margin-bottom: 16px;
}

.sms-modal__input {
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    padding: 10px 14px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    outline: none;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.sms-modal__input:focus {
    border-color: #e94560;
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

.sms-modal__button {
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #e94560;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    width: 100%;
}

.sms-modal__button:hover {
    background-color: #d73756;
    transform: translateY(-1px);
}

.sms-modal__button:active {
    transform: translateY(0);
}

.sms-modal__error {
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    color: #e94560;
    margin-top: 8px;
    display: none; /* Покажем только при ошибке */
}

/* ---------------------------------
   Адаптив для мобильных (<480px)
---------------------------------- */
@media (max-width: 480px) {
    .phone-check-form {
        padding: 24px 16px;
    }
    .phone-check-form__title {
        font-size: 20px;
    }
    .phone-check-form__subtitle {
        font-size: 13px;
    }
    .phone-check-form__input {
        font-size: 14px;
        padding: 10px 14px;
    }
    .phone-check-form__button {
        font-size: 14px;
        padding: 12px 0;
    }

    .sms-modal__content {
        max-width: 90%;
        padding: 16px;
    }
    .sms-modal__title {
        font-size: 18px;
    }
    .sms-modal__subtitle {
        font-size: 13px;
    }
    .sms-modal__input {
        font-size: 14px;
        padding: 8px 12px;
    }
    .sms-modal__button {
        font-size: 14px;
        padding: 10px 0;
    }
}