._popup{
    position: relative;
    left: auto;
    transform: none;
    width:auto;
}
._popup._active{
    top: 0px;
}
.med_cart .upper_card .img{
    max-width: 181px;
    margin: 0px auto;
}
.icon.app{
    width: 31px;
    height: 31px;
}
.get_an_appointment .right_part .times{
    row-gap: 8px;
}
button.main_button:disabled,button.main_button:disabled:hover {
    background: #dcdcdc;
    border-color: #dcdcdc;
    color: rgba(42, 52, 64, 0.6980392157);
    cursor: default;
}
.mob-menu-bottom{
    display: none !important;
}
.video_block_mobile .mobile_video,.video_block_mobile .mobile_video iframe{
    min-height: 182px;
}
.navigation {
    padding-bottom: 30px;
}
button.js-tab-doc-clinic.main_button:hover{
    color: #fff;
    background: #3e8dff;
}
.popular_services .modf_item.popular_item .title{
    font-size: 26px;
}
.popular_services .modf_item.popular_item a.main_link{
    margin-bottom: 20px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.popular_services .modf_item.popular_item a.main_link:after{
    display: none;
}
.our_doctors .doctors_footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
@media screen and (max-width: 900px) {
    .popular_services .right_part .main_cta {
        height: 50px;
        margin: 0 auto;
    }
    .fancybox__container {
        z-index: 99999999;
    }
    .fancybox__slide::before{
        display: none;
    }
    .fancybox__content{
        padding: 0px;
    }
    .fancybox__slide{
        padding: 8px;
    }
    .our_doctors .block_header .slider_specialist_controls{
        display: flex;
    }
    .our_stars .slider_item a{
        width: 100%;
    }
    .our_stars .slider_item a.main_link{
        width: auto;
    }
    .dicount_block p br {
        display: inherit;
    }
}
.big_wrapper .image_p_block {
  min-width: 615px;
  min-height: 556px;
}
@media (max-width: 767px) {
    .big_wrapper .image_p_block {
        min-width: inherit;
    }
    .promo_block.new_np_block .image_p_block {
        margin-top: 16px;
    }
}
@media screen and (max-width: 600px) {
    .popular_services .btn_container {
        height: auto;
    }
}


.popup__success .content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 16px;
    gap: 40px;
    flex-direction: row;
    flex-wrap: wrap;
}

.popup__success .left {
    text-align: center;
    max-width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup__success .left svg {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
}

.popup__success .left h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2d3643;
}

.popup__success .left p {
    font-size: 16px;
    color: #5f6b7a;
}

.popup__success .card {
    background-color: #F2F4F8;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 440px;
}

.popup__success .profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.popup__success .avatar {
    width: 64px;
    height: 64px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.popup__success .name {
    font-size: 20px;
    font-weight: 700;
    color: #2d3643;
}

.popup__success .info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px 24px;
    align-items: start;
    width: 100%;
}

.popup__success .info-label {
    font-weight: 600;
    color: #2d3643;
}

.popup__success .info-value {
    color: #4c5561;
}

.popup__success .divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 16px 0;
    grid-column: 1 / -1;
}

.popup__success .close-button {
    margin: 24px auto 0;
    background-color: #338dff;
    color: white;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 14px 64px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.popup__success .close-button:hover {
    background-color: white;
    color: #338dff;
    border: 1px solid #338dff;
}
.approve_popup .form-group{
    flex: 0 1 calc(50% - 10px);
}
.approve_popup .form-group input,.approve_popup .form-group textarea{
    width: 100%;
}
.approve_popup .form-group.w100{
    flex: 0 1 100%;
}
.approve_popup .form-group.field-request-code{
    width: 1px;
    height: 1px
}
.approve_popup .order-modal__agreement.agreement_full_width input{
    width: 20px;
    height: 20px;
}
.approve_popup .order-modal__agreement.agreement_full_width a{
    text-decoration: underline;
}
@media (max-width: 768px) {
    .popup__success .content {
        flex-direction: column;
        padding: 24px 16px;
    }

    .popup__success .card {
        padding: 20px;
    }

    .popup__success .left h1 {
        font-size: 20px;
    }

    .popup__success .left svg {
        width: 80px;
        height: 80px;
    }

    .popup__success .info-grid {
        grid-template-columns: 1fr;
    }
    .popup__success .content{
        gap: 10px;
    }
}

/* Базовое оформление таблицы */
.text_block table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #ccc;
    overflow: hidden;
}

.text_block table td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: left;
    vertical-align: middle;
}
.similar_desiese .arrow {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    align-self: center;
    cursor: pointer;
    border-radius: 100px;
    background: #3e8dff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}
