.booking-result-page {
    margin: 0;
    background: #f7f7f7;
    color: #101010;
    font-family: Roboto, Arial, sans-serif;
}

.booking-result-page .mfp-content {
  width: fit-content;
}

.booking-result-page .site-header-wrapper {
    position: relative;
    z-index: 20;
}

.booking-result {
    min-height: calc(100vh - 120px);
    padding: 126px 0 74px;
}

.booking-result__container {
    width: min(1320px, calc(100% - 40px));
}

.booking-result__intro {
    padding: 2px 0 2px 20px;
    border-left: 4px solid #df0014;
    margin: 0 0 28px;
}

.booking-result-rating__icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #df0014;
    color: #fff;
}

.booking-result-rating__icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
}

.booking-result__title {
    margin: 0;
    color: #000;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
}

.booking-result__intro p {
    margin: 7px 0 0;
    color: #666;
    font-size: 17px;
    line-height: 1.45;
}

.booking-result__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(320px, .9fr);
    gap: 24px;
    align-items: start;
}

.booking-result__appointment,
.booking-result__guidance {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
}

.booking-result__appointment {
    padding: 32px;
}

.booking-result__guidance {
    padding: 30px 30px 28px;
}

.booking-result__card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9e9e9;
}

.booking-result__card-heading h2,
.booking-result__guidance h2,
.booking-result__notice h3 {
    margin: 0;
    color: #111;
    font-weight: 700;
}

.booking-result__card-heading h2,
.booking-result__guidance h2 {
    font-size: 26px;
    line-height: 1.18;
}

.booking-result__doctor {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 0;
}

.booking-result__doctor img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #f2f2f2;
}

.booking-result__doctor strong,
.booking-result__doctor span {
    display: block;
}

.booking-result__doctor strong {
    color: #101010;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.booking-result__doctor span {
    margin-top: 4px;
    color: #737373;
    font-size: 15px;
    line-height: 1.35;
}

.booking-result__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    margin: 0;
    padding: 23px 0;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.booking-result__details div {
    min-width: 0;
}

.booking-result__details-clinic {
    grid-column: 1 / -1;
}

.booking-result__details-service {
    grid-column: 1 / -1;
}

.booking-result__details dt {
    margin: 0 0 6px;
    color: #787878;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
}

.booking-result__details dd {
    margin: 0;
    color: #171717;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
}

.booking-result__details dd strong,
.booking-result__details dd span {
    display: block;
}

.booking-result__details dd span {
    margin-top: 3px;
    color: #777;
    font-size: 14px;
    font-weight: 400;
}

.booking-result__new-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    margin-top: 25px;
    padding: 0 22px;
    border-radius: 999px;
    background: #df0014;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.booking-result__new-booking:hover {
    background: #bc0011;
    color: #fff;
    transform: translateY(-1px);
}

.booking-result__new-booking span {
    font-size: 21px;
    line-height: .8;
    font-weight: 400;
}

.booking-result__guidance > p {
    margin: 17px 0 0;
    color: #353535;
    font-size: 16px;
    line-height: 1.5;
}

.booking-result__guidance .booking-result__alert {
    color: #bd0012;
    font-weight: 600;
}

.booking-result__guidance a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.booking-result__notice {
    margin-top: 22px;
    padding: 20px;
    border-radius: 12px;
    background: #f7f7f7;
    color: #333;
    font-size: 15px;
    line-height: 1.48;
}

.booking-result__notice--danger {
    border-left: 3px solid #df0014;
    background: #fff2f3;
    color: #9d0010;
}

.booking-result__notice h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.25;
}

.booking-result__notice p:last-child {
    margin-bottom: 0;
}

.booking-result__visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.booking-result-rating {
    width: min(460px, calc(100vw - 40px));
    padding: 34px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.booking-result-modal.mfp-bg {
    opacity: 0;
    transition: opacity .18s ease-out;
}

.booking-result-modal.mfp-bg.mfp-ready {
    opacity: .8;
}

.booking-result-modal.mfp-bg.mfp-removing {
    opacity: 0;
}

.booking-result-modal.mfp-wrap .mfp-content {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .18s ease-out, transform .18s ease-out;
}

.booking-result-modal.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    transform: translateY(0);
}

.booking-result-modal.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
    transform: translateY(8px);
}

.booking-result-rating__icon {
    margin: 0 auto 16px;
    width: 46px;
    height: 46px;
}

.booking-result-rating__icon svg {
    width: 23px;
    height: 23px;
}

.booking-result-rating h2 {
    margin: 0;
    color: #111;
    font-size: 27px;
    line-height: 1.16;
    font-weight: 700;
}

.booking-result-rating > p,
.booking-result-rating .rate_noties {
    margin: 10px 0 0;
    color: #656565;
    font-size: 16px;
    line-height: 1.45;
}

.booking-result-rating .booking-result__alert {
    color: #bd0012;
    font-weight: 600;
}

.booking-result-rating .booking-result__alert a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.booking-result-rating .rate_noties {
    color: #111;
    font-weight: 600;
}

.booking-result-rating .star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.booking-result-rating .star-rating__input {
    position: absolute;
    opacity: 0;
}

.booking-result-rating .star-rating__ico {
    display: block;
    float: none;
    width: 39px;
    height: 39px;
    padding-left: 0;
    color: inherit;
    cursor: pointer;
}

.booking-result-rating .star-rating__ico::before {
    content: "\2605" !important;
    color: #d8d8d8;
    font-family: Arial, sans-serif;
    font-size: 37px;
    line-height: 39px;
    transition: color .18s ease, transform .18s ease;
}

.booking-result-rating .star-rating__ico:hover::before,
.booking-result-rating .star-rating__ico:hover ~ .star-rating__ico::before,
.booking-result-rating .star-rating__input:checked ~ .star-rating__ico::before {
    content: "\2605" !important;
    color: #df0014;
    transform: scale(1.07);
}

@media (max-width: 991px) {
    .booking-result__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .booking-result {
        padding: 94px 0 50px;
    }

    .booking-result__container {
        width: min(100% - 28px, 1320px);
    }

    .booking-result__intro {
        padding-left: 14px;
        margin-bottom: 22px;
    }

    .booking-result__title {
        font-size: 30px;
    }

    .booking-result__intro p {
        font-size: 15px;
    }

    .booking-result__appointment,
    .booking-result__guidance {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .booking-result__card-heading {
        display: block;
        padding-bottom: 18px;
    }

    .booking-result__card-heading h2,
    .booking-result__guidance h2 {
        font-size: 23px;
    }

    .booking-result__doctor {
        padding: 19px 0;
    }

    .booking-result__doctor img {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .booking-result__doctor strong,
    .booking-result__details dd {
        font-size: 16px;
    }

    .booking-result__details {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 19px 0;
    }

    .booking-result__details-clinic {
        grid-column: auto;
    }

    .booking-result__new-booking {
        width: 100%;
        margin-top: 20px;
    }

    .booking-result__guidance > p {
        font-size: 15px;
    }

    .booking-result__notice {
        padding: 16px;
    }

    .booking-result-rating {
        padding: 28px 20px;
    }

    .booking-result-rating h2 {
        font-size: 24px;
    }
}
