@font-face {
    font-family:BookingManrope;
    src:url('/assets/fonts/Manrope/Manrope-Regular.ttf') format('truetype');
    font-weight:400;
    font-display:swap;
}
@font-face {
    font-family:BookingManrope;
    src:url('/assets/fonts/Manrope/Manrope-SemiBold.ttf') format('truetype');
    font-weight:600 800;
    font-display:swap;
}
body:has(.booking) {
    margin:0;
    background:#eef3f6;
}
.booking {
    --blue:#00a5d9;
    --ink:#00618b;
    --line:#d8d8d8;
    font:14px BookingManrope,Arial,sans-serif;
    color:#252525;
    max-width:920px;
    margin:48px auto;
    background:#f8f8f8;
    border:1px solid #e3e8ec;
    border-radius:20px;
    box-shadow:0 12px 50px #0036530b;
    overflow:hidden;
    position:relative;
}
.booking * {
    box-sizing:border-box;
}
.booking [hidden] {
    display:none!important;
}
.booking button,.booking input {
    font:inherit;
}
.booking button {
    cursor:pointer;
}
.booking button:disabled {
    cursor:default;
}
.booking button:focus-visible,.booking a:focus-visible,.booking input:focus-visible {
    outline:2px solid var(--ink);
    outline-offset:3px;
}
.booking-header {
    height:76px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #e1e1e1;
    padding:0 24px;
}
.booking-header h1 {
    font-size:17px;
    font-weight:600;
    color:var(--ink);
    margin:0;
}
.booking-back,.booking-home {
    background:none;
    border:0;
    font-size:30px!important;
    color:var(--ink);
    text-decoration:none;
    padding:4px 8px;
    line-height:1;
}
.booking-progress {
    display:flex;
    gap:5px;
    max-width:220px;
    margin:-8px auto 8px;
    position:relative;
}
.booking-progress span {
    height:3px;
    border-radius:4px;
    background:#e7e7e7;
    flex:1;
}
.booking-progress span.active {
    background:var(--blue);
}
.booking-steps {
    display:flex;
    gap:12px;
    align-items:center;
    padding:24px 40px 8px;
    color:#999;
}
.booking-steps button {
    border:0;
    background:none;
    padding:0;
    color:#999;
    font-size:12px;
}
.booking-steps span {
    display:inline-grid;
    place-items:center;
    border:1px solid currentColor;
    background:#999;
    color:#fff;
    border-radius:50%;
    width:20px;
    height:20px;
    margin-right:6px;
}
.booking-steps .active {
    color:var(--ink);
}
.booking-steps .active span {
    color:var(--ink);
    background:transparent;
}
.booking-steps .complete {
    color:#279c45;
}
.booking-steps .complete span {
    color:#279c45;
    background:transparent;
}
.booking-body {
    padding:24px 40px;
    min-height:450px;
}
.booking h2 {
    font-size:22px;
    font-weight:600;
    line-height:1.4;
    margin:18px 0;
}
.booking h1:focus,.booking h2:focus {
    outline:none;
}
.booking [data-screen="visit"] h2 {
    text-align:left;
}
.booking-survey {
    min-height:410px;
    display:flex;
    flex-direction:column;
    max-width:500px;
    margin:auto;
}
.booking-survey h2 {
    text-align:center;
    max-width:400px;
    align-self:center;
}
.booking-options {
    margin:auto 0 0;
    padding:0;
    border:0;
    display:grid;
    gap:10px;
}
.booking-options label {
    background:#fff;
    border:1px solid var(--line);
    border-radius:10px;
    min-height:48px;
    padding:12px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    cursor:pointer;
    margin:0;
    font-size:13px;
    -webkit-tap-highlight-color:transparent;
}
.booking-options label:has(:checked) {
    border-color:var(--blue);
    background:#fff;
}
.booking input[type=radio],.booking input[type=checkbox] {
    accent-color:var(--blue);
    width:18px;
    height:18px;
    margin:0;
    flex-shrink:0;
    -webkit-tap-highlight-color:transparent;
}
.booking input[type=radio]:focus:not(:focus-visible),.booking input[type=checkbox]:focus:not(:focus-visible) {
    outline:none;
    box-shadow:none;
}
.booking-footer {
    border-top:1px solid #dedede;
    padding:20px 40px;
    display:flex;
    flex-direction:column;
    gap:12px;
    background:#f8f8f8;
}
.booking-primary,.booking-secondary {
    border:1px solid var(--blue);
    border-radius:10px;
    min-height:48px;
    width:100%;
    font-weight:600!important;
    background:var(--blue);
    color:#fff;
}
.booking-primary:disabled {
    background:#d0d0d0;
    border-color:#d0d0d0;
    color:#929292;
}
.booking-secondary {
    background:transparent;
    color:var(--blue);
}
.booking-label {
    display:block;
    font-size:13px!important;
    color:var(--ink);
    margin:18px 0 10px!important;
    font-weight:600;
}
.booking-select {
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    border:1px solid var(--line);
    border-radius:10px;
    padding:14px;
    text-align:left;
    min-height:48px;
}
.booking-select b {
    color:#999;
}
.booking-card {
    padding:12px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
}
.booking-doctor {
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    background:#fff;
    border:0;
    padding:4px 0 14px;
    text-align:left;
    color:#333;
}
.booking-doctor .booking-avatar {
    display:block;
    width:56px;
    height:56px;
    flex:0 0 56px;
    border-radius:50%;
    overflow:hidden;
    background:#edf4f8;
}
.booking-avatar img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 25%;
}
.booking-avatar img[data-portrait="true"] {
    transform:scale(1.85);
    transform-origin:50% 10%;
}
.booking-doctor span {
    flex:1;
    min-width:0;
    overflow-wrap:anywhere;
}
.booking-doctor strong {
    display:block;
    font-weight:600;
    font-size:14px;
}
.booking-doctor small {
    display:block;
    font-size:11px;
    color:#888;
    margin-top:2px;
}
.booking-doctor b {
    font-size:26px;
    font-weight:400;
    color:#777;
}
.booking-detail {
    border:1px solid var(--line);
    border-radius:10px;
    background:#f8f8f8;
    padding:10px 12px;
    margin-top:10px;
    display:block;
    width:100%;
    text-align:left;
    color:#444;
    position:relative;
    line-height:1.6;
}
.booking-detail small {
    font-size:11px;
    color:#888;
    display:block;
}
.booking-detail span {
    font-size:13px;
}
.booking-edit b {
    position:absolute;
    right:12px;
    top:16px;
    font-weight:400;
}
.booking-doctors {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.booking-doctors>.booking-doctor {
    border:1px solid var(--line);
    border-radius:9px;
    padding:12px;
}
.booking-doctors>.booking-doctor[aria-pressed="true"] {
    border-color:var(--blue);
    background:#f0fbff;
}
.booking-nearest {
    display:table!important;
    font-size:10px!important;
    color:var(--ink)!important;
    border:1px solid #6f9dbe;
    border-radius:8px;
    padding:1px 6px;
    margin-bottom:4px;
}
.booking-calendar {
    background:#fff;
    border:1px solid var(--line);
    border-radius:10px;
    padding:12px;
}
.booking-dates {
    display:flex;
    align-items:center;
    gap:10px;
    border-bottom:1px solid #eee;
}
.booking-dates>button {
    border:0;
    background:none;
    color:#777;
    font-size:24px;
    padding:8px;
}
.booking-dates>button:disabled {
    color:#ccc;
}
.booking-dates>div {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    flex:1;
}
.booking-dates>div>button {
    background:none;
    border:0;
    border-bottom:2px solid transparent;
    padding:10px 4px;
    color:#777;
    font-size:12px;
    line-height:1.5;
}
.booking-dates .active {
    color:#e1008c;
    border-bottom-color:#e1008c;
}
.booking-slots {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    padding:18px 4px 4px;
}
.booking-slots>button {
    border:1px solid #e4e4e4;
    border-radius:10px;
    background:#fff;
    color:#777;
    min-height:36px;
    font-size:12px;
}
.booking-slots>button.active {
    border-color:var(--blue);
    color:var(--ink);
    background:#f2fbff;
}
.booking-slots>button:disabled {
    background:#d3d3d3;
    color:#aaa;
}
.booking-slots>p {
    grid-column:1/-1;
}
.booking-muted {
    color:#888;
    font-size:13px;
    line-height:1.6;
}
.booking-fields {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
.booking-fields label {
    font-size:12px;
    color:#666;
}
.booking-fields input,.booking-dialog input {
    display:block;
    width:100%;
    border:1px solid var(--line);
    border-radius:9px;
    background:#fff;
    padding:12px;
    margin-top:6px;
    min-height:46px;
    color:#333;
    min-width:0;
    max-width:100%;
}
.booking-consent {
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-top:18px;
    font-size:12px;
    line-height:1.6;
}
.booking-consent a {
    color:var(--ink);
}
.booking-section-title {
    font-size:18px!important;
    color:var(--ink);
}
.booking-result {
    text-align:center;
    padding-top:30px;
    max-width:450px;
    margin:auto;
}
.booking-check {
    border:2px solid #444;
    box-shadow:inset 0 0 0 4px #fff;
    border-radius:50%;
    background:#0c852c;
    color:#fff;
    width:82px;
    height:82px;
    margin:0 auto 32px;
    font-size:56px;
    line-height:74px;
}
.booking-result h2 {
    font-size:18px;
}
.booking-result p {
    color:#888;
    font-size:13px;
    line-height:1.6;
}
.booking-error {
    background:#fff0f0;
    color:#a32929;
    border:1px solid #eccaca;
    border-radius:8px;
    padding:12px;
    margin:16px 40px 0;
    font-size:13px;
}
.booking-loading {
    margin:16px 40px 0;
    color:var(--ink);
    font-size:13px;
}
.booking-dialog {
    position:fixed;
    inset:0;
    margin:auto;
    font-family:BookingManrope,Arial,sans-serif;
    border:0;
    border-radius:16px;
    padding:28px;
    width:min(480px,calc(100% - 32px));
    max-height:80dvh;
    color:#333;
    box-sizing:border-box;
    overflow-x:hidden;
    overscroll-behavior:contain;
    touch-action:pan-y pinch-zoom;
}
.booking-dialog::backdrop {
    background:#0006;
    backdrop-filter:blur(4px);
}
.booking-dialog h2 {
    font-size:16px;
    color:var(--ink);
    margin:8px 0;
}
.booking-dialog p {
    font-size:13px;
    color:#777;
    line-height:1.5;
}
.booking-close {
    position:absolute;
    right:12px;
    top:8px;
    border:0;
    background:none;
    color:#777;
    font-size:26px!important;
    padding:4px 8px;
}
.booking-dialog-handle {
    display:none;
}
.booking-dialog #booking-clinics {
    margin-top:10px;
    max-height:45dvh;
    overflow:auto;
}
.booking-dialog #booking-clinics>button {
    display:block;
    background:none;
    border:0;
    border-bottom:1px solid #ddd;
    padding:16px 8px;
    width:100%;
    text-align:left;
    color:#555;
    font-size:13px;
}
.booking-otp .booking-primary {
    margin-top:14px;
}
.booking-otp #booking-otp {
    text-align:center;
    font-size:24px;
    letter-spacing:8px;
}
.booking-otp #booking-otp-error {
    color:#a32929;
}
.booking-sr {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}
@media(min-width:768px) {
    .booking [data-screen=clinic],.booking [data-screen=schedule],.booking [data-screen=summary],.booking [data-screen=patient],.booking [data-screen=appointments] {
        max-width:600px;
        margin:0 auto;
    }
    .booking-footer>button {
        max-width:500px;
        align-self:center;
    }
}
@media(max-width:767px) {
    html:has(.booking),body:has(.booking) {
        overflow-x:clip;
    }
    html:has(.booking dialog[open]),body:has(.booking dialog[open]) {
        overflow:hidden;
    }
    body:has(.booking) {
        background:#f8f8f8;
    }
    body:has(.booking)>.site-wrap,body:has(.booking)>.container {
        padding:0!important;
        max-width:none;
    }
    body:has(.booking) .site-navbar-wrap,body:has(.booking) .footer-section {
        display:none;
    }
    body:has(.booking) main.pb-3 {
        padding-bottom:0!important;
    }
    .booking {
        max-width:none;
        margin:0;
        border:0;
        border-radius:0;
        box-shadow:none;
        min-height:100dvh;
        display:flex;
        flex-direction:column;
    }
    .booking-header {
        height:72px;
        padding:0 14px;
    }
    .booking-header h1 {
        font-size:15px;
    }
    .booking-home {
        visibility:hidden;
    }
    .booking-progress {
        width:66%;
        margin:-8px auto 8px;
    }
    .booking-steps {
        padding:20px 16px 4px;
        gap:8px;
    }
    .booking-steps button {
        font-size:11px;
    }
    .booking-steps span {
        width:18px;
        height:18px;
    }
    .booking form {
        flex:1;
        display:flex;
        flex-direction:column;
        min-height:0;
    }
    .booking-body {
        padding:18px 14px 24px;
        min-height:0;
        flex:1;
        display:flex;
        flex-direction:column;
    }
    .booking-body>section {
        width:100%;
    }
    .booking-survey {
        min-height:0;
        flex:1;
    }
    .booking-survey h2 {
        font-size:20px;
        margin:20px 10px;
        max-width:320px;
    }
    .booking-options {
        padding-top:80px;
        gap:9px;
    }
    .booking-options label {
        min-height:43px;
        padding:10px 12px;
        font-size:12px;
    }
    .booking-footer {
        padding:14px 14px max(22px,env(safe-area-inset-bottom));
        position:sticky;
        bottom:0;
        z-index:2;
    }
    .booking-primary,.booking-secondary {
        min-height:45px;
    }
    .booking-doctors {
        grid-template-columns:1fr;
        gap:9px;
    }
    .booking-doctors>.booking-doctor {
        padding:10px;
    }
    .booking-doctor strong {
        font-size:13px;
    }
    .booking-doctor .booking-avatar {
        width:48px;
        height:48px;
        flex-basis:48px;
    }
    .booking-label {
        font-size:12px!important;
    }
    .booking-slots {
        gap:10px 8px;
        padding:18px 4px 4px;
    }
    .booking-slots>button {
        min-height:32px;
    }
    .booking-calendar {
        padding:8px;
    }
    .booking-fields {
        gap:12px;
    }
    .booking-fields input,.booking-dialog input {
        font-size:16px;
    }
    .booking-error,.booking-loading {
        margin:12px 14px 0;
    }
    .booking-dialog:not(.booking-otp) {
        position:fixed;
        inset:auto 0 0;
        margin:0;
        width:100%;
        max-width:100%;
        border-radius:16px 16px 0 0;
        padding:26px 16px max(24px,env(safe-area-inset-bottom));
    }
    .booking-dialog-handle {
        display:block;
        position:absolute;
        top:8px;
        left:calc(50% - 15px);
        width:30px;
        height:4px;
        border-radius:4px;
        background:#999;
    }
    .booking-result {
        padding-top:28px;
    }
    .booking-result h2 {
        font-size:16px;
    }
}
