.clinic-choice-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.clinic-choice-overlay.is-open {
    display: block;
}

.clinic-choice-overlay__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(12, 27, 54, .68);

    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.clinic-choice-overlay__dialog {
    position: absolute;

    top: 20px;
    bottom: 20px;

    left: 50%;
    transform: translateX(-50%);

    width: min(1200px, calc(100vw - 40px));

    background: #eef2f8;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
            0 25px 80px
            rgba(0, 0, 0, .35);
}

.clinic-choice-overlay__frame {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    background: #eef2f8;
}

.clinic-choice-overlay__close {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 20;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #fff;

    color: #19458e;

    font-size: 30px;
    line-height: 42px;

    cursor: pointer;

    box-shadow:
            0 4px 18px
            rgba(0, 0, 0, .18);
}

.clinic-choice-overlay__close:hover {
    background: #f4f6fa;
}

body.clinic-choice-overlay-open {
    overflow: hidden !important;
}

@media (max-width: 768px) {

    .clinic-choice-overlay__dialog {
        inset: 0;

        width: 100%;
        height: 100%;

        transform: none;

        border-radius: 0;
    }

    .clinic-choice-overlay__close {
        top: 8px;
        right: 8px;
    }
}