.booking-modal__overlay {
    z-index: 1000;
    background: #0a00288c;
    justify-content: center;
    align-items: center;
    padding: 24px;
    display: none;
    position: fixed;
    inset: 0
}

.booking-modal__overlay.active {
    display: flex;
}

.booking-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px #00000040
}

.booking-modal--thanks {
    max-width: 420px
}

.booking-modal__header {
    text-align: center;
    background: linear-gradient(135deg, #ffe1ee 0%, #ffd0e6 100%);
    border-radius: 18px 18px 0 0;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    padding: 30px 100px 26px;
    display: flex;
    position: relative;
    overflow: hidden
}

.booking-modal--thanks .booking-modal__header {
    border-radius: 18px
}

.booking-modal__close {
    color: #111;
    cursor: pointer;
    z-index: 3;
    background: #ffffffb3;
    border: none;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    font-size: 14px;
    transition: background .2s;
    display: flex;
    position: absolute;
    top: 14px;
    right: 14px
}

.booking-modal__close:hover {
    background: #fff
}

.booking-modal__header-nurse {
    z-index: 1;
    width: 110px;
    height: 100%;
    position: absolute;
    bottom: 0
}

.booking-modal__header-nurse--left {
    left: 0
}

.booking-modal__header-nurse--right {
    right: 0
}

.booking-modal__nurse-img {
    object-fit: contain;
    object-position: bottom
}

.booking-modal__header-content {
    z-index: 2;
    max-width: 380px;
    margin: 0 auto;
    position: relative
}

.booking-modal__logo {
    height: auto;
    margin: 0 auto 10px;
    display: block
}

.booking-modal__title {
    color: #111;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3
}

.booking-modal__subtitle {
    color: #555;
    font-size: 12.5px;
    line-height: 1.6
}

.booking-modal__badge {
    color: #ff138e;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700
}

.booking-modal__body {
    padding: 24px 28px 32px
}

.booking-modal__section-title {
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 14px;
    font-size: 13px;
    font-weight: 700
}

.booking-modal__form {
    flex-direction: column;
    gap: 16px;
    display: flex
}

.booking-modal__row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    display: grid
}

.booking-modal__field {
    flex-direction: column;
    gap: 6px;
    display: flex
}

.booking-modal__field label {
    color: #333;
    font-size: 12.5px;
    font-weight: 600
}

.booking-modal__required {
    color: #ff138e
}

.booking-modal__field input,
.booking-modal__field select {
    box-sizing: border-box;
    color: #111;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .25s
}

.booking-modal__field select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat
}

.booking-modal__field input::placeholder {
    color: #b3b3b3
}

.booking-modal__field input:focus,
.booking-modal__field select:focus {
    border-color: #ff138e;
    outline: none
}

.time-picker {
    position: relative
}

.time-picker__trigger {
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    text-align: left;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .25s;
    display: flex
}

.time-picker__trigger:hover,
.time-picker__trigger[aria-expanded=true] {
    border-color: #ff138e
}

.time-picker__trigger--placeholder {
    color: #b3b3b3
}

.time-picker__chevron {
    color: #999;
    flex-shrink: 0;
    margin-left: 8px;
    font-size: 11px;
    transition: transform .2s
}

.time-picker__chevron--open {
    transform: rotate(180deg)
}

.time-picker__panel {
    z-index: 20;
    background: #fff;
    border-radius: 16px;
    width: 230px;
    max-width: 100%;
    padding: 16px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    box-shadow: 0 16px 40px #0000002e
}

.time-picker__panel-header {
    color: #111;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700
}

.time-picker__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
    display: grid
}

.time-picker__option {
    color: #333;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 10px 6px;
    font-family: inherit;
    font-size: 12.5px;
    transition: border-color .2s, background .2s, color .2s
}

.time-picker__option:hover {
    border-color: #ff138e
}

.time-picker__option--selected {
    color: #fff;
    background: #ff138e;
    border-color: #ff138e;
    font-weight: 700
}

.time-picker__panel-footer {
    border-top: 1px solid #eee;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    display: flex
}

.time-picker__clear,
.time-picker__done {
    cursor: pointer;
    background: 0 0;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 13px
}

.time-picker__clear {
    color: #5c6b84
}

.time-picker__done {
    color: #ff138e;
    font-weight: 700
}

.booking-modal__checkbox {
    color: #555;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    display: flex
}

.booking-modal__checkbox input {
    accent-color: #ff138e;
    cursor: pointer;
    width: 16px;
    height: 16px
}

.booking-modal__submit-wrap {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    display: flex
}

.booking-modal__submit:disabled {
    opacity: .7;
    cursor: not-allowed
}

.booking-modal__error {
    color: #d32f2f;
    margin: 0;
    font-size: 14px
}

.booking-modal__submit {
    color: #fff;
    cursor: pointer;
    background: #ff138e;
    border: none;
    border-radius: 999px;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 12px 26px;
    font-size: 14px;
    font-weight: 700;
    transition: background .25s;
    display: inline-flex
}

.booking-modal__submit:hover {
    background: #e0007c
}

.booking-modal__submit-arrow {
    color: #fff;
    background: #000;
    border-radius: 50%;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    display: flex
}

@media (max-width:640px) {
    .booking-modal__header {
        min-height: 130px;
        padding: 26px 76px 22px
    }

    .booking-modal__header-nurse {
        width: 80px
    }

    .booking-modal__title {
        font-size: 15px
    }

    .booking-modal__body {
        padding: 20px 20px 26px
    }

    .booking-modal__row {
        grid-template-columns: 1fr;
        gap: 14px
    }
}

@media (max-width:460px) {
    .booking-modal__header {
        flex-direction: column;
        padding: 22px 12px 18px
    }

    .booking-modal__header-nurse {
        display: none
    }

    .booking-modal__title {
        font-size: 15px
    }

    .booking-modal__submit {
        justify-content: center;
        width: 100%
    }

    .booking-modal__submit-wrap {
        width: 100%
    }
}

.date-picker {
    position: relative
}

.date-picker__trigger {
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .25s;
    display: flex
}

.date-picker__trigger--placeholder {
    color: #b3b3b3
}

.date-picker__trigger:focus,
.date-picker__trigger:hover {
    border-color: #ff138e;
    outline: none
}

.date-picker__chevron {
    color: #999;
    flex-shrink: 0;
    font-size: 11px;
    transition: transform .2s
}

.date-picker__chevron--open {
    transform: rotate(180deg)
}

.date-picker__panel {
    z-index: 20;
    box-sizing: border-box;
    background: #fff;
    border-radius: 14px;
    width: 320px;
    max-width: calc(100vw - 40px);
    padding: 18px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    box-shadow: 0 12px 32px #00000026
}

.date-picker__panel-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    display: flex
}

.date-picker__month-label {
    color: #111;
    font-size: 15px;
    font-weight: 700
}

.date-picker__month-nav {
    gap: 6px;
    display: flex
}

.date-picker__nav-btn {
    color: #333;
    cursor: pointer;
    background: #f3f3f3;
    border: none;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    transition: background .2s;
    display: flex
}

.date-picker__nav-btn:hover {
    color: #ff138e;
    background: #ffd7ec
}

.date-picker__weekdays {
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
    display: grid
}

.date-picker__weekday {
    text-align: center;
    color: #999;
    padding: 4px 0;
    font-size: 11.5px;
    font-weight: 700
}

.date-picker__grid {
    grid-template-columns: repeat(7, 1fr);
    row-gap: 4px;
    display: grid
}

.date-picker__day {
    aspect-ratio: 1;
    color: #222;
    cursor: pointer;
    background: 0 0;
    border: none;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    transition: background .2s, color .2s;
    display: flex
}

.date-picker__day:hover {
    background: #ffe1ee
}

.date-picker__day--muted {
    color: #ccc
}

.date-picker__day--today {
    color: #ff138e;
    font-weight: 700
}

.date-picker__day--selected {
    color: #fff;
    background: #ff138e;
    font-weight: 700
}

.date-picker__day--selected:hover {
    background: #e0007c
}

.date-picker__panel-footer {
    border-top: 1px solid #f0f0f0;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    display: flex
}

.date-picker__link {
    color: #1a73e8;
    cursor: pointer;
    background: 0 0;
    border: none;
    padding: 4px 6px;
    font-size: 13px;
    font-weight: 600
}

.date-picker__link:hover {
    text-decoration: underline
}

@media (max-width:480px) {
    .date-picker__panel {
        width: calc(100vw - 56px);
        left: 50%;
        transform: translate(-50%)
    }
}