/* Microsite booking widget styles (hero + doctors section). */

body.appointment-embed { background: #fff; }
body.appointment-embed .main-content { padding: 0; min-height: 100vh; }
.appointment-embed-page { min-height: 100vh; }


    .ms-hero { position: relative; min-height: 75vh; display: flex; align-items: stretch; justify-content: stretch; color: #fff; background-size: cover; background-position: center; }
    .ms-hero--positioned { align-items: stretch; justify-content: stretch; }
    .ms-hero-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.7); }
    .ms-hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; padding: 3rem 1rem; }
    .ms-hero-content--positioned { max-width: min(800px, 92vw); margin: 0; padding: 1.5rem 0; }
    .ms-hero-content-split.ms-overlay-copy--left,
    .ms-hero-content-split.ms-overlay-copy--center,
    .ms-hero-content-split.ms-overlay-copy--right { max-width: none; margin: 0; }
    .ms-hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
    .ms-hero .ms-eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .85rem; color: var(--ms-accent); margin-bottom: 1rem; font-weight: 600; }
    .ms-hero p { font-size: 1.15rem; opacity: .9; max-width: 600px; margin: 0 auto 2rem; }
    .ms-hero-split { min-height: auto; display: block; }
    .ms-hero-content-split { text-align: left; max-width: none; padding: 0; }
    .ms-hero-content-split p { margin-left: 0; margin-right: 0; }
    .ms-hero-content-split.text-center { text-align: center; }
    .ms-hero-content-split.text-center p { margin-left: auto; margin-right: auto; }
    .ms-hero-content-split.text-end { text-align: right; }
    .ms-hero-content-split.text-end p { margin-left: auto; margin-right: 0; }
    .ms-hero-booking-card { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 1.75rem; color: #fff; }
    .ms-hero-booking { min-height: auto; }
    .ms-hero-booking-title { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; margin-bottom: .75rem; }
    .ms-hero-booking-lead { font-size: 1.05rem; opacity: .92; max-width: 36rem; margin: 0 0 1.25rem; }
    .ms-hero-badge { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .35rem .85rem; font-size: .8rem; font-weight: 600; }
    .ms-hero-doctor-line { color: rgba(255,255,255,.92); font-size: .95rem; }
    .ms-hero-booking-panel { background: #fff; border-radius: 20px; border: 1px solid #e2e8f0; padding: 1.75rem; box-shadow: 0 20px 50px rgba(15,23,42,.12); color: #0f172a; }
    .ms-hero-booking-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .ms-hero-booking-stat { border: 1px solid #e2e8f0; border-radius: 10px; padding: .5rem .35rem; text-align: center; font-size: .7rem; color: #64748b; line-height: 1.2; }
    .ms-hero-booking-stat strong { display: block; color: #0f172a; font-size: .78rem; text-transform: uppercase; letter-spacing: .02em; }
    .ms-hero-booking-avatar { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--ms-primary), var(--ms-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; overflow: hidden; }
    .ms-hero-booking-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .ms-hero-slot { border: 1px solid #cbd5e1; border-radius: 10px; padding: .45rem .75rem; font-size: .8125rem; font-weight: 600; background: #f1f5f9; color: #0f172a; cursor: pointer; transition: background .15s, border-color .15s; }
    .ms-hero-slot:hover { background: #e2e8f0; border-color: var(--ms-primary); color: #0f172a; }



    @@media (min-width: 768px) {
    @@media (min-width: 992px) {


    .ms-section { padding: 4rem 0; }
    .ms-section-alt { background: #f8fafc; }
    .ms-section-intro { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
    .ms-section-intro .ms-eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .8rem; color: var(--ms-accent); font-weight: 600; margin-bottom: .5rem; }
    .ms-section-intro h2 { font-size: 2rem; font-weight: 700; margin-bottom: .75rem; }
    .ms-section-intro p { color: #6b7280; }




    .ms-doctor-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; height: 100%; }
    .ms-doctor-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,.1); }
    .ms-doctor-band { height: 6px; background: var(--ms-primary); }
    .ms-doctor-avatar { width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(135deg, var(--ms-primary), #10b981); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.4rem; font-weight: 700; margin: -20px auto 0; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.14); position: relative; z-index: 1; overflow: hidden; }
    .ms-doctor-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
    .doctor-avatar-preview-btn { border: 0; background: transparent; padding: 0; margin: 0; width: 100%; height: 100%; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: inherit; font: inherit; transition: transform .15s ease, box-shadow .15s ease; }
    .doctor-avatar-preview-btn:hover { transform: scale(1.04); }
    .doctor-avatar-preview-btn:focus-visible { outline: 2px solid var(--ms-primary); outline-offset: 3px; }
    .doctor-avatar-preview-btn--sm {
        width: 64px;
        height: 75px;
        flex-shrink: 0;
        border-radius: 10px;
        overflow: hidden;
    }
    .doctor-avatar-preview-btn--sm img,
    .doctor-avatar-preview-btn--sm .doctor-avatar-rect {
        width: 64px !important;
        height: 75px !important;
        max-width: 64px !important;
        max-height: 75px !important;
        object-fit: cover;
        object-position: center top;
        border-radius: 10px;
        display: block;
    }
    .doctor-avatar-preview-btn--sm .doctor-avatar-placeholder {
        width: 64px;
        height: 75px;
        font-size: 1.35rem;
        border-radius: 10px;
    }

    .doctor-profile-lightbox { position: fixed; inset: 0; z-index: 1065; display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
    .doctor-profile-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
    .doctor-profile-lightbox__backdrop { position: absolute; inset: 0; background: rgba(11, 20, 26, 0.94); }
    .doctor-profile-lightbox__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 700; line-height: 1; cursor: pointer; }
    .doctor-profile-lightbox__close:hover { background: rgba(255,255,255,.3); }
    .doctor-profile-lightbox__content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; animation: doctorProfileLightboxIn .25s ease; }
    .doctor-profile-lightbox__viewport {
    .doctor-profile-lightbox__photo {
    .doctor-profile-lightbox__photo.is-zoomed { cursor: grab; }
    .doctor-profile-lightbox__photo.is-zoomed:active { cursor: grabbing; }
    .doctor-profile-lightbox__initials {

    .doctor-booking-card { transition: transform .2s, box-shadow .2s; overflow: hidden; }
    .doctor-booking-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.1) !important; }
    .doctor-avatar-placeholder { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--ms-primary), #10b981); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; font-weight: 700; flex-shrink: 0; }
    .doctor-avatar-sm { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--ms-primary), #10b981); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .85rem; font-weight: 700; flex-shrink: 0; }

    .calendar-dates { scrollbar-width: thin; }
    .calendar-dates::-webkit-scrollbar { height: 4px; }
    .calendar-dates::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
    .date-btn { display: flex; flex-direction: column; align-items: center; min-width: 62px; padding: 8px 12px; border: 2px solid #e5e7eb; border-radius: 12px; background: #fff; cursor: pointer; transition: all .2s; flex-shrink: 0; color: #374151; }
    .date-btn:hover { border-color: #10b981; color: #10b981; background: #f0fdf4; }
    .date-btn.active { border-color: #10b981; background: #10b981; color: #fff; }
    .date-btn.active .date-day,
    .date-btn.active .date-num,
    .date-btn.active .date-month { color: #fff; }
    .date-btn .date-day { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
    .date-btn .date-num { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
    .date-btn .date-month { font-size: .65rem; opacity: .8; }

    .slots-area { border-top: 1px solid #f3f4f6; padding-top: 1rem; }

    .booking-summary { border-left: 4px solid var(--ms-primary); }
    @@media (min-width: 768px) {
        #bookingModal .booking-summary { margin-bottom: 0.75rem !important; padding: 0.6rem 0.85rem !important; }
        #bookingModal .booking-summary h6 { font-size: 0.95rem; margin-bottom: 0.1rem; }
        #bookingModal .booking-summary .fw-bold { font-size: 0.82rem; }
        #bookingModal .booking-form-compact .form-label { font-size: 0.8rem; margin-bottom: 0.2rem; }
        #bookingModal .booking-form-compact .form-control,
        #bookingModal .booking-form-compact .form-select { font-size: 0.875rem; padding: 0.3rem 0.55rem; }
        #bookingModal .booking-form-compact .btn-sm { font-size: 0.8rem; padding: 0.25rem 0.5rem; }
        #bookingModal .booking-otp-box { padding: 0.5rem 0.65rem !important; }
        #bookingModal .booking-fee-bar { padding: 0.35rem 0.6rem !important; font-size: 0.8rem; margin-bottom: 0 !important; }
    #bookingSymptomsCollapse:not(.show) + .booking-symptoms-hint { display: none; }
    .booking-symptoms-toggle[aria-expanded="true"] .bi-chevron-right { transform: rotate(90deg); }
    .booking-symptoms-toggle .bi-chevron-right { transition: transform .15s; display: inline-block; }


    @@media (prefers-reduced-motion: reduce) {


    @@media (max-width: 767.98px) {

    .ms-section-flush { padding: 0; margin: 0; }








    @@media (max-width: 768px) {
        .ms-hero h1 { font-size: 2rem; }
        .ms-hero { min-height: 60vh; }
