/* Clinic public UI polish — v4.5.24
   Scope: patient header cleanliness, footer reception schedule, mobile navigation.
   No booking/business behavior is defined in this stylesheet. */

/* --------------------------------------------------------------------------
   Footer: readable reception schedule instead of one long sentence
   -------------------------------------------------------------------------- */
body.public-shell .meet-footer-clinic-info{
    min-width:0;
}
body.public-shell .meet-footer-contact{
    display:grid;
    gap:12px;
}
body.public-shell .meet-footer-contact>div{
    display:grid;
    gap:3px;
    min-width:0;
}
body.public-shell .meet-footer-contact small{
    color:#93b6ba;
    font-size:.66rem;
    font-weight:750;
}
body.public-shell .meet-footer-contact strong{
    color:#f4fbfb;
    font-size:.78rem;
    font-weight:900;
    overflow-wrap:anywhere;
}
body.public-shell .meet-footer-schedule{
    margin-top:19px;
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.12);
}
body.public-shell .meet-footer-schedule__title{
    display:block;
    margin-bottom:9px;
    color:#fff;
    font-size:.72rem;
    font-weight:950;
}
body.public-shell .meet-footer-schedule ul{
    display:grid;
    gap:7px;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
body.public-shell .meet-footer-schedule li{
    display:grid;
    grid-template-columns:minmax(84px,.82fr) minmax(120px,1.18fr);
    align-items:start;
    gap:10px;
    margin:0!important;
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:11px;
    background:rgba(255,255,255,.045);
}
body.public-shell .meet-footer-schedule li>span{
    color:#b9d3d5;
    font-size:.64rem;
    font-weight:800;
    line-height:1.85;
}
body.public-shell .meet-footer-schedule li>strong{
    color:#fff;
    font-size:.66rem;
    font-weight:900;
    line-height:1.85;
    text-align:start;
}
body.public-shell .meet-footer-schedule--empty p{
    margin:0;
    color:#a8c2c5;
    font-size:.67rem;
}

/* --------------------------------------------------------------------------
   Mobile drawer: compact, structured and touch-friendly
   -------------------------------------------------------------------------- */
body.public-shell .doctor-mobile-drawer.meet-mobile-drawer{
    background:#f7fafb;
}
body.public-shell .doctor-mobile-drawer__header{
    min-height:76px;
    padding:12px 14px;
    border-bottom:1px solid #e3ecef;
    background:rgba(255,255,255,.97);
    box-shadow:0 5px 18px rgba(12,55,65,.035);
}
body.public-shell .doctor-mobile-drawer__header .meet-brand{
    min-width:0;
    gap:9px;
}
body.public-shell .doctor-mobile-drawer__header .meet-brand__mark{
    width:40px;
    height:40px;
    flex:0 0 40px;
    border-radius:13px;
}
body.public-shell .doctor-mobile-drawer__header .site-logo{
    max-width:128px;
    max-height:40px;
}
body.public-shell .doctor-mobile-drawer__header .meet-brand>span:last-child{
    min-width:0;
}
body.public-shell .doctor-mobile-drawer__header .meet-brand strong{
    max-width:168px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.84rem;
}
body.public-shell .doctor-mobile-drawer__header .meet-brand small{
    margin-top:2px;
    color:#789099;
    font-size:.57rem;
}
body.public-shell .doctor-mobile-drawer__header>button.doctor-mobile-drawer__close{
    display:grid!important;
    place-items:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid #dce7ea;
    border-radius:13px;
    background:#fff;
    color:#47616b;
    box-shadow:0 5px 15px rgba(16,56,65,.05);
}
body.public-shell .doctor-mobile-drawer__close svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
}
body.public-shell .doctor-mobile-drawer__body{
    display:flex!important;
    flex-direction:column;
    gap:0;
    padding:14px 14px calc(22px + env(safe-area-inset-bottom));
}
body.public-shell .doctor-mobile-drawer__booking{
    min-height:76px;
    padding:13px 14px;
    border:1px solid color-mix(in srgb,var(--vc-primary,#0f9f8f) 48%,transparent);
    border-radius:18px;
    background:linear-gradient(135deg,var(--vc-primary-dark,#075b66),var(--vc-primary,#0f9f8f));
    box-shadow:0 13px 28px color-mix(in srgb,var(--vc-primary,#0f9f8f) 20%,transparent);
}
body.public-shell .doctor-mobile-drawer__booking>span{
    width:46px!important;
    height:46px!important;
    border-radius:14px;
    background:rgba(255,255,255,.16)!important;
}
body.public-shell .doctor-mobile-drawer__booking svg{
    width:23px;
    height:23px;
    color:#fff;
}
body.public-shell .doctor-mobile-drawer__booking strong{
    font-size:.8rem;
    font-weight:950;
}
body.public-shell .doctor-mobile-drawer__booking small{
    margin-top:2px;
    color:rgba(255,255,255,.76);
    font-size:.58rem;
}
body.public-shell .doctor-mobile-drawer__booking>b{
    color:rgba(255,255,255,.92);
    font-size:1.2rem;
}
body.public-shell .doctor-mobile-drawer__section-title{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:10px;
    margin:20px 2px 8px;
}
body.public-shell .doctor-mobile-drawer__section-title span{
    color:#183f49;
    font-size:.69rem;
    font-weight:950;
}
body.public-shell .doctor-mobile-drawer__section-title small{
    color:#8ca1a8;
    font-size:.52rem;
    font-weight:700;
}
body.public-shell .doctor-mobile-drawer__nav{
    display:grid!important;
    gap:6px;
    margin:0!important;
}
body.public-shell .doctor-mobile-drawer__nav a{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) 20px;
    align-items:center;
    gap:10px;
    min-height:54px!important;
    padding:6px 9px!important;
    border:1px solid transparent;
    border-radius:14px!important;
    background:#fff;
    color:#38535d;
    box-shadow:0 4px 12px rgba(22,64,73,.025);
    font-size:.72rem;
    font-weight:900;
}
body.public-shell .doctor-mobile-drawer__nav a:hover,
body.public-shell .doctor-mobile-drawer__nav a.active{
    border-color:color-mix(in srgb,var(--vc-primary,#0f9f8f) 24%,#dfe9ec);
    background:color-mix(in srgb,var(--vc-primary,#0f9f8f) 7%,white);
    color:var(--vc-primary-dark,#075b66);
}
body.public-shell .doctor-mobile-drawer__nav a>.doctor-mobile-drawer__nav-icon{
    display:grid!important;
    place-items:center;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    border-radius:12px!important;
    background:#f0f6f7!important;
    color:var(--vc-primary-dark,#075b66);
}
body.public-shell .doctor-mobile-drawer__nav a.active>.doctor-mobile-drawer__nav-icon,
body.public-shell .doctor-mobile-drawer__nav a:hover>.doctor-mobile-drawer__nav-icon{
    background:color-mix(in srgb,var(--vc-primary,#0f9f8f) 13%,white)!important;
}
body.public-shell .doctor-mobile-drawer__nav-icon svg{
    width:20px!important;
    height:20px!important;
}
body.public-shell .doctor-mobile-drawer__nav a>.doctor-mobile-drawer__nav-label{
    display:block!important;
    min-width:0!important;
    padding:0!important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    background:transparent!important;
}
body.public-shell .doctor-mobile-drawer__nav-arrow{
    display:grid;
    place-items:center;
    color:#a2b3b9;
    font-size:1.2rem;
    line-height:1;
    transform:translateY(-1px);
}
body.public-shell .doctor-mobile-drawer__nav a.active .doctor-mobile-drawer__nav-arrow{
    color:var(--vc-primary,#0f9f8f);
}
body.public-shell .doctor-mobile-drawer__account-card{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    margin-top:17px;
    padding:11px;
    border:1px solid #dfe9ec;
    border-radius:16px;
    background:#fff;
}
body.public-shell .doctor-mobile-drawer__account-icon{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:13px;
    background:color-mix(in srgb,var(--vc-primary,#0f9f8f) 10%,white);
    color:var(--vc-primary-dark,#075b66);
}
body.public-shell .doctor-mobile-drawer__account-icon svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
}
body.public-shell .doctor-mobile-drawer__account-card>div{
    display:grid;
    min-width:0;
}
body.public-shell .doctor-mobile-drawer__account-card small{
    color:#82969d;
    font-size:.53rem;
}
body.public-shell .doctor-mobile-drawer__account-card strong{
    overflow:hidden;
    color:#294852;
    font-size:.66rem;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
}
body.public-shell .doctor-mobile-drawer__account-card>a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 10px;
    border-radius:11px;
    background:#edf6f5;
    color:var(--vc-primary-dark,#075b66);
    font-size:.59rem;
    font-weight:950;
}
body.public-shell .doctor-mobile-drawer__register{
    margin:7px 3px 0;
    color:#86999f;
    font-size:.56rem;
    text-align:center;
}
body.public-shell .doctor-mobile-drawer__register a{
    color:var(--vc-primary-dark,#075b66);
    font-weight:950;
}
body.public-shell .doctor-mobile-drawer__contact.doctor-mobile-drawer__contact--compact{
    display:grid!important;
    gap:7px;
    margin-top:14px;
    padding:9px!important;
    border:1px solid #e1eaed;
    border-radius:16px!important;
    background:#eef5f6!important;
}
body.public-shell .doctor-mobile-drawer__contact--compact>a{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 38px;
    align-items:center;
    gap:10px;
    min-height:48px;
    padding:4px 7px;
    border-radius:11px;
    color:#35525c!important;
}
body.public-shell .doctor-mobile-drawer__contact--compact>a+a{
    border-top:1px solid #dce7e9;
    border-radius:0;
    padding-top:8px;
}
body.public-shell .doctor-mobile-drawer__contact--compact>a>span{
    display:grid;
    min-width:0;
}
body.public-shell .doctor-mobile-drawer__contact--compact small{
    color:#7b9299!important;
    font-size:.52rem!important;
}
body.public-shell .doctor-mobile-drawer__contact--compact strong{
    margin-top:1px;
    color:#284851;
    font-size:.65rem!important;
    font-weight:900;
}
body.public-shell .doctor-mobile-drawer__contact--compact svg{
    justify-self:end;
    width:18px;
    height:18px;
    color:var(--vc-primary-dark,#075b66);
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
}

/* Bottom mobile dock: cleaner selection state and safer touch sizing. */
@media (max-width:767.98px){
    body.public-shell .doctor-mobile-dock.meet-mobile-dock{
        min-height:70px!important;
        height:70px!important;
        padding:7px!important;
        border:1px solid rgba(164,190,198,.6)!important;
        border-radius:20px!important;
        background:rgba(255,255,255,.97)!important;
        box-shadow:0 16px 44px rgba(15,55,65,.18)!important;
        backdrop-filter:blur(18px);
    }
    body.public-shell .doctor-mobile-dock.meet-mobile-dock>a{
        min-height:54px;
        border-radius:13px;
        color:#748a92;
        transition:background .18s ease,color .18s ease;
    }
    body.public-shell .doctor-mobile-dock.meet-mobile-dock>a.is-active:not(.doctor-mobile-dock__booking){
        background:#edf6f5;
        color:var(--vc-primary-dark,#075b66);
    }
    body.public-shell .doctor-mobile-dock.meet-mobile-dock>a>svg{
        width:20px!important;
        height:20px!important;
    }
    body.public-shell .doctor-mobile-dock.meet-mobile-dock>a>span{
        margin-top:2px;
        font-size:.54rem!important;
        font-weight:900!important;
    }
    body.public-shell .doctor-mobile-dock__booking>b{
        border:4px solid #fff;
        background:linear-gradient(135deg,var(--vc-primary-dark,#075b66),var(--vc-primary,#0f9f8f))!important;
        box-shadow:0 9px 23px color-mix(in srgb,var(--vc-primary,#0f9f8f) 30%,transparent)!important;
    }
}

@media (max-width:991.98px){
    body.public-shell .doctor-mobile-drawer.meet-mobile-drawer{
        right:0!important;
        left:auto!important;
        width:min(368px,92vw)!important;
        max-width:92vw!important;
        border-radius:22px 0 0 22px;
        overflow-x:hidden;
    }
}

@media (max-width:575.98px){
    body.public-shell .meet-site-footer{
        padding-top:44px;
    }
    body.public-shell .meet-footer-schedule li{
        grid-template-columns:1fr;
        gap:2px;
        padding:9px 10px;
    }
    body.public-shell .meet-footer-schedule li>strong{
        font-size:.68rem;
    }
    body.public-shell .doctor-mobile-drawer__section-title small{
        display:none;
    }
}

@media (max-width:340px){
    body.public-shell .doctor-mobile-drawer.meet-mobile-drawer{
        width:94vw!important;
        max-width:94vw!important;
    }
    body.public-shell .doctor-mobile-drawer__header,
    body.public-shell .doctor-mobile-drawer__body{
        padding-inline:10px;
    }
    body.public-shell .doctor-mobile-drawer__account-card{
        grid-template-columns:40px minmax(0,1fr);
    }
    body.public-shell .doctor-mobile-drawer__account-card>a{
        grid-column:1/-1;
        width:100%;
    }
}
