/* Shasthya Hospital — main stylesheet. Tokens per DESIGN-SPEC §1.1 */
:root{--primary:#002355;--navy2:#152644;--navy3:#1E3357;--footer-bg:#0F1D37;--sky:#5AC3E6;--sky2:#44C9F5;--sky600:#0284C7;--sky500:#0EA5E9;--purple:#8B6DAF;--green:#97D700;--orange:#F99D1C;--ink:#020817;--grey700:#374151;--grey600:#4B5563;--grey500:#6B7280;--border:#E2E8F0;--pale:#F7FAFF;--pale2:#F6F9FE;--panel:#F5F7FB;--radius:8px}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,"Noto Sans Bengali",ui-sans-serif,system-ui,sans-serif;font-size:1rem;line-height:1.5;color:var(--ink);background:#fff}
img{max-width:100%;height:auto}
a{color:var(--sky600);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{color:var(--primary);line-height:1.25;margin:0 0 .5em}
.container-md{max-width:1280px;margin:auto;padding:0 1rem}
.container-lg{max-width:1590px;margin:auto;padding:0 1rem}
.container-sm{max-width:960px;margin:auto;padding:0 1rem}
.section{margin-bottom:3rem}
.section-alt{background:var(--pale2);padding:3rem 0;margin-bottom:3rem}
.section-title{margin-bottom:2rem;text-align:center;font-size:1.5rem;font-weight:700;color:var(--primary)}
.section-title.left{text-align:left}
.section-intro{font-size:1rem;font-weight:500;line-height:1.75;text-align:center;color:var(--primary);max-width:820px;margin:0 auto 2rem}
@media(min-width:1024px){.section-title{font-size:2.25rem;margin-bottom:3rem}.section{margin-bottom:4rem}}
/* gradient strip §1.4 */
.gradient-strip{height:2px;background:linear-gradient(90deg,#1d4991 0%,#1c4991 16%,#145e93 20%,#107294 24%,#0c8693 28%,#059c91 32%,#06b38d 36%,#41a399 40%,#5f92a4 44%,#707faa 48%,#7f6cb0 52%,#8c85bf 56%,#9aa3d0 60%,#aac2e1 64%,#bde5f4 68%,#c0d5db 72%,#c2c5c3 76%,#c4b0a7 80%,#c48b7a 84%,#c46650 88%,#c33a2f 92%,#c32c29 93%,#c32c29 100%)}
/* buttons */
.btn{display:inline-block;min-width:160px;height:48px;line-height:48px;padding:0 1rem;text-align:center;font-size:.875rem;font-weight:700;color:#fff;background:var(--primary);border:0;cursor:pointer;position:relative;overflow:hidden}
.btn:hover{text-decoration:none;background:var(--navy3)}
.btn-purple{background:var(--purple)}
.btn-purple:hover{background:#7a5c9c}
.btn-outline{background:transparent;color:#fff;border:2px solid #fff}
.btn-outline:hover{background:#fff;color:var(--primary)}
.btn-sky{background:var(--sky600)}
.btn-block{width:100%}
/* header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #F9FAFB}
.topbar{background:var(--primary);color:#fff;min-height:40px;display:flex;align-items:center}
.topbar .container-md{display:flex;align-items:center;gap:1rem;width:100%}
.topbar .home-badge{background:var(--sky);border-radius:4px;padding:.25rem .75rem;font-size:.875rem;color:#fff}
.topbar .welcome{font-size:.875rem}
.topbar .spacer{flex:1}
.topbar a{color:#fff;font-size:.875rem}
.topbar .hotline{display:flex;align-items:center;gap:.4rem;font-weight:700}
.topbar .hotline .phone-circle{background:#fff;color:var(--primary);width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem}
.mainnav{display:flex;align-items:center;gap:1.5rem;padding:.6rem 0}
.site-logo{font-size:1.4rem;font-weight:800;color:var(--primary);line-height:1.1}
.site-logo small{display:block;font-size:.7rem;font-weight:600;color:var(--sky600);letter-spacing:.08em;text-transform:uppercase}
.mainnav nav{margin-left:auto}
.mainnav ul{display:flex;gap:1.25rem;list-style:none;margin:0;padding:0}
.mainnav ul a{color:var(--primary);font-weight:600;font-size:.95rem}
.menu-toggle{display:none;margin-left:auto;background:var(--primary);color:#fff;border:0;padding:.5rem .8rem;font-size:1.1rem;cursor:pointer}
.mobile-menu{display:none;background:#fff;border-top:1px solid var(--border);padding:1rem}
.mobile-menu.open{display:block}
.mobile-menu ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.mobile-menu a{color:var(--primary);font-weight:600}
/* hero slider */
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#002355,#1E3357 60%,#0284C7)}
.hero-slide{display:none;min-height:420px;align-items:center;color:#fff;padding:3rem 1rem}
.hero-slide.active{display:flex}
.hero-slide .container-md{width:100%}
.hero-slide h2{color:#fff;font-size:2rem;margin-bottom:.5rem}
.hero-slide p{font-size:1.125rem;max-width:640px}
.hero-slide .btn{margin-top:1rem}
.hero-slide.bg-1{background:linear-gradient(135deg,#002355,#0284C7)}
.hero-slide.bg-2{background:linear-gradient(135deg,#152644,#8B6DAF)}
.hero-slide.bg-3{background:linear-gradient(135deg,#0F1D37,#0EA5E9)}
/* v1.3.1 — slide with a featured-image photo: photo shows FULLY CLEAR, no
   coloured overlay/curtain over it. White text stays readable by strong
   text-shadow alone (no overlay layer). */
.hero-slide.has-photo{background-size:cover;background-position:center center;background-repeat:no-repeat}
.hero-slide.has-photo h2{text-shadow:0 2px 14px rgba(0,0,0,.9),0 1px 4px rgba(0,0,0,.95)}
.hero-slide.has-photo p{text-shadow:0 2px 10px rgba(0,0,0,.9),0 1px 3px rgba(0,0,0,.95)}
.hero-slide.has-photo .btn{text-shadow:0 1px 4px rgba(0,0,0,.8);box-shadow:0 2px 12px rgba(0,0,0,.45)}
.hero-nav{position:absolute;top:45%;width:100%;display:flex;justify-content:space-between;padding:0 1rem;pointer-events:none}
.hero-nav button{pointer-events:auto;background:rgba(0,35,85,.6);color:#fff;border:0;width:44px;height:44px;border-radius:50%;cursor:pointer;font-size:1.2rem}
.hero-dots{text-align:center;padding:.6rem 0}
.hero-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#D1D5DB;margin:0 3px;cursor:pointer}
.hero-dots button.active{background-color:var(--sky600)}
/* slider effects */
.hero-slide.fx-fade{animation:fxFade .8s ease}
.hero-slide.fx-zoom{animation:fxZoom .8s ease}
.hero-slide.fx-slide-left{animation:fxL .6s ease}
.hero-slide.fx-slide-right{animation:fxR .6s ease}
.hero-slide.fx-slide-down{animation:fxD .6s ease}
.hero-slide.fx-slide-up{animation:fxU .6s ease}
.hero-slide.fx-blinds{animation:fxFade .5s steps(6)}
.hero-slide.fx-curtain{animation:fxCurtain .7s ease}
.hero-slide.fx-flip{animation:fxFlip .7s ease}
.hero-slide.fx-kenburns{animation:fxZoom 6s ease}
@keyframes fxFade{from{opacity:0}to{opacity:1}}
@keyframes fxZoom{from{opacity:0;transform:scale(1.06)}to{opacity:1;transform:scale(1)}}
@keyframes fxL{from{opacity:0;transform:translateX(60px)}to{opacity:1;transform:none}}
@keyframes fxR{from{opacity:0;transform:translateX(-60px)}to{opacity:1;transform:none}}
@keyframes fxD{from{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:none}}
@keyframes fxU{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes fxCurtain{from{opacity:0;transform:scaleY(.6)}to{opacity:1;transform:scaleY(1)}}
@keyframes fxFlip{from{opacity:0;transform:rotateY(40deg)}to{opacity:1;transform:none}}
/* quick tiles — v1.3.2: Evercare-style on-hero overlay (desktop), stacked
   below the hero on phones. The tiles are a sibling AFTER </section>, pulled
   up over the hero with a negative top margin: tiles are 104px tall, pulled
   up 124px, so their bottom edge stops 20px above the hero's bottom edge
   (the gradient strip), exactly like Evercare. margin-bottom:20px makes the
   next section start exactly at the hero's bottom edge. Mobile: static,
   stacked full-width below the hero, never covering slide text. */
.quick-tiles{position:relative;z-index:5}
.quick-tiles .row{display:flex;flex-direction:column;gap:.5rem}
.quick-tile{flex:1;background:#fff;border:0;border-radius:0;box-shadow:0 8px 24px rgba(0,35,85,.14);padding:1.25rem .75rem;text-align:center;transition:transform .25s,box-shadow .25s;color:var(--primary)}
.quick-tile .tile-icon{width:58px;height:58px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin:0 auto .6rem;transition:background .25s}
.quick-tile .tile-label{font-weight:700;text-transform:uppercase;font-size:16px}
.quick-tile:hover{background:#fff;color:var(--primary);transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,35,85,.24);text-decoration:none}
.quick-tile:hover .tile-icon{background:var(--sky600)}
.quick-tile:hover .tile-label{color:var(--primary)}
/* hero bottom edge: the gradient strip lives INSIDE .hero (hero.php) and is
   pinned to its bottom edge on every screen. */
.hero .gradient-strip{position:absolute;left:0;right:0;bottom:0;z-index:4}
@media(min-width:1024px){
  /* Taller hero like Evercare (~570px) + deep bottom padding so slide
     text/button never hide behind the tiles (tiles top = hero bottom
     -124px, dots at -150px). */
  .hero-slide{min-height:560px;padding:3rem 1rem 11rem}
  /* Dots sit just above the tiles, clickable again (previously the
     pulled-up tiles covered them — live check 19:20 Dec 2: dots "did not
     respond to clicks"). */
  .hero-dots{position:absolute;left:0;right:0;bottom:150px;z-index:6;padding:0}
  .quick-tiles{margin:-124px 0 20px}
  .quick-tiles .row{flex-direction:row;gap:26px;align-items:stretch}
  /* Equal 104px height, solid pure white, crisp soft shadow, square
     corners; label left, navy circle icon right (Evercare layout). */
  .quick-tile{flex:1 1 0;min-width:0;height:104px;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:0 1.25rem;text-align:left;box-shadow:0 10px 30px rgba(0,35,85,.18)}
  .quick-tile .tile-icon{order:2;flex:0 0 auto;width:55px;height:55px;margin:0;font-size:1.4rem}
  .quick-tile .tile-label{flex:1 1 auto;min-width:0;text-align:left;font-size:.875rem;line-height:1.35}
}
@media(min-width:1536px){.quick-tiles .row{gap:26px}.quick-tile .tile-label{font-size:.95rem}}
/* specialities */
.spec-layout{display:grid;gap:1.5rem}
@media(min-width:1024px){.spec-layout{grid-template-columns:2fr 4fr}}
.spec-image{border-radius:8px;background:linear-gradient(135deg,#002355,#44C9F5);min-height:300px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem;font-weight:700;text-align:center;padding:1rem}
/* v1.3.3 — doctor photo slider (replaces the solid blue box above). The photo
   is FULLY CLEAR — no blue veil over it (v1.3.1 rule); readability comes only
   from the dark gradient strip behind the name caption at the bottom. */
.spec-slider{border-radius:8px;overflow:hidden;background:#fff;border:1px solid var(--border);box-shadow:0 10px 60px rgba(0,0,0,.07)}
.spec-slider-label{margin:0;padding:.8rem 1rem .6rem;font-weight:700;color:var(--primary);font-size:1rem;line-height:1.35}
.spec-slides{position:relative;min-height:300px}
.spec-slide{position:absolute;inset:0;display:none;background-size:cover;background-position:center top;background-repeat:no-repeat}
.spec-slide.active{display:block}
.spec-slide-cap{position:absolute;left:0;right:0;bottom:0;display:block;padding:2.75rem 1rem .85rem;background:linear-gradient(to top,rgba(0,20,50,.88),rgba(0,20,50,0));color:#fff}
.spec-slide-name{display:block;font-weight:800;font-size:1.05rem;line-height:1.3}
.spec-slide-name a{color:#fff;text-decoration:none}
.spec-slide-name a::after{content:'';position:absolute;inset:0}
.spec-slide-sub{display:block;font-size:.9rem;opacity:.95;margin-top:.1rem}
.spec-slide-phone{position:relative;z-index:1;display:block;font-size:.9rem;color:#fff;text-decoration:none;margin-top:.15rem}
.spec-slide-phone:hover{text-decoration:underline}
.spec-slider-arrows{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 .5rem;pointer-events:none;z-index:2}
.spec-slider-arrows button{pointer-events:auto;width:40px;height:40px;border-radius:50%;border:0;background:rgba(0,35,85,.55);color:#fff;font-size:1.2rem;cursor:pointer}
.spec-dots{text-align:center;padding:.55rem 0 .65rem}
/* v1.3.4 — was width:12px;height:12px;padding:7px with background-clip:
   content-box. With the global border-box sizing that leaves a 0x0 content
   box, so the grey dot painted NOTHING (only the active dot showed, and only
   because its `background:` shorthand reset the clip). 40px box, 14px
   padding, no side margin = visible 12px dot + 40px tap target; 8 dots
   x 40px = 320px fits the 328px content width of a 360px phone in one row. */
.spec-dots button{width:40px;height:40px;padding:14px;border-radius:50%;border:0;background:var(--primary);background-clip:content-box;margin:0;cursor:pointer}
.spec-dots button.active{background-color:var(--sky600);background-clip:content-box}
.spec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
@media(min-width:1024px){.spec-grid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1536px){.spec-grid{grid-template-columns:repeat(5,1fr)}}
.spec-tile{height:150px;border-radius:12px;border:1px solid var(--border);background:var(--pale);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;color:var(--primary);font-weight:600;text-align:center;padding:.75rem;transition:all .5s}
.spec-tile .spec-icon{font-size:1.8rem}
.spec-tile small{color:var(--grey500);font-weight:400}
.spec-tile:hover{background:var(--primary);color:#fff;text-decoration:none}
.spec-tile:hover small{color:#DCEDFE}
.spec-nav{display:flex;gap:.5rem;margin-top:1rem}
.spec-nav button{background:var(--primary);color:#fff;border:0;width:40px;height:40px;cursor:pointer}
/* cards */
.card-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:640px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.card-grid.cols-4{grid-template-columns:repeat(4,1fr)}.card-grid.cols-3{grid-template-columns:repeat(3,1fr)}}
.card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 10px 60px rgba(0,0,0,.07)}
.card-thumb{height:200px;background:linear-gradient(135deg,#1E3357,#5AC3E6);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem;text-align:center;padding:1rem}
.card-thumb img{width:100%;height:100%;object-fit:cover}
.card-body{padding:1rem 1.25rem}
.card-date{font-size:.875rem;color:var(--grey500)}
.card-title{font-size:1.125rem;font-weight:700;color:var(--primary);margin:.3rem 0}
.card-title a{color:var(--primary)}
.card-price{font-weight:800;color:var(--sky600);font-size:1.1rem}
.card-features{font-size:.9rem;color:var(--grey700);padding-left:1.1rem}
.read-more{font-weight:700;font-size:.875rem}
/* ask banner */
.ask-banner{background:var(--primary);color:#fff;padding:1.5rem 0}
.ask-banner .container-md{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.ask-banner h2{color:#fff;font-size:1.875rem;margin:0}
.ask-banner p{margin:.5rem 0 0;font-weight:500}
.ask-banner .ask-right{margin-left:auto}
/* partner carousel */
.partner-panel{background:var(--panel);border-radius:12px;padding:1.5rem 5rem;text-align:center}
.partner-logo{display:inline-block;width:170px;height:170px;line-height:170px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.12);border-radius:8px;font-weight:800;color:var(--primary);margin:.5rem}
/* doctor */
.doctor-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:768px){.doctor-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.doctor-grid{grid-template-columns:repeat(3,1fr)}}
.doctor-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.25rem;box-shadow:0 10px 60px rgba(0,0,0,.07);display:flex;gap:1rem}
.avatar{width:84px;height:84px;min-width:84px;border-radius:50%;background:linear-gradient(135deg,#002355,#44C9F5);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:800}
.avatar.lg{width:150px;height:150px;min-width:150px;font-size:2.6rem}
/* v1.1.0 — doctor portrait photo inside the round avatar (square-cropped); the
   gradient behind stays as the fallback while the photo loads */
.avatar.has-photo{overflow:hidden;padding:0}
.avatar.has-photo img{width:100%;height:100%;object-fit:cover;display:block}
/* v1.3.4 — if a portrait ever fails to load, the browser renders the img's
   long alt text ("Dr. Mizanur Rahman (Demo)") inside the circle and it
   spills messily. Zero the font here: the img itself is unaffected, and
   the alt text stays in the DOM for screen readers. (Found because the
   test sandbox could not fetch the live site's images; on the live site
   the photos load fine.) */
.avatar.has-photo{font-size:0;line-height:0}
/* v1.3.0 — homepage doctors grid: 4 per row desktop, 2 tablet, 1 mobile */
@media(min-width:768px){.doctor-grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.doctor-grid.cols-4{grid-template-columns:repeat(4,1fr)}}
.doctor-card.compact{flex-direction:column;align-items:center;text-align:center;padding:1.5rem 1rem}
.doctor-card.compact .avatar{width:120px;height:120px;min-width:120px;font-size:2rem}
/* v1.3.6 — "Meet Our Doctors" CURVED slider (homepage only). Cards sit on a
   gentle arc like Anthin's reference screenshot: the centre card is upright
   and largest, side cards tilt and drop along the curve (transforms are set
   by JS in assets/js/main.js — see .curve-card). Layered navy shadows keep
   the v1.3.5 floating-card feel; the centre card gets the deepest shadow.
   Scoped to #home-doctors so the /doctors/ archive cards are untouched. */
#home-doctors .curve-wrap{position:relative}
#home-doctors .curve-stage{position:relative;height:600px;overflow:hidden;perspective:1200px}
#home-doctors .curve-track{position:relative;height:100%}
#home-doctors .curve-card{position:absolute;left:50%;top:0;width:250px;margin-left:-125px;display:flex;flex-direction:column;text-align:center;padding:0;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 2px 6px rgba(0,35,85,.08),0 18px 38px rgba(0,35,85,.14);transition:transform .8s cubic-bezier(.22,.61,.21,1),opacity .8s ease,box-shadow .8s ease;will-change:transform,opacity}
#home-doctors .curve-card.is-centre{box-shadow:0 8px 18px rgba(0,35,85,.12),0 32px 60px rgba(0,35,85,.22)}
#home-doctors .curve-card.is-far{pointer-events:none}
#home-doctors .curve-photo{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;background:linear-gradient(135deg,#002355,#44C9F5)}
#home-doctors .curve-photo img{width:100%;height:100%;object-fit:cover;display:block}
#home-doctors .curve-initials{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;font-size:3rem;font-weight:800}
#home-doctors .curve-body{padding:1rem .9rem 1.25rem;display:flex;flex-direction:column;align-items:center;gap:.3rem}
#home-doctors .curve-body h3{font-size:1.1rem}
#home-doctors .curve-body .qual{font-size:.9rem}
#home-doctors .curve-phone{font-size:.95rem;font-weight:700;color:var(--sky600)}
#home-doctors .curve-phone:hover{color:var(--primary)}
#home-doctors .curve-body p{margin:.6rem 0 0;width:100%}
#home-doctors .curve-body .btn{width:100%;max-width:200px}
#home-doctors .curve-arrow{position:absolute;top:42%;z-index:20;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:rgba(255,255,255,.92);color:var(--primary);font-size:1.6rem;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,35,85,.18);transition:background .2s ease,color .2s ease}
#home-doctors .curve-arrow:hover{background:var(--primary);color:#fff}
#home-doctors .curve-prev{left:.25rem}
#home-doctors .curve-next{right:.25rem}
#home-doctors .curve-dots{display:flex;justify-content:center;gap:.5rem;margin:1rem 0 0}
#home-doctors .curve-dots button{appearance:none;width:26px;height:6px;border:0;border-radius:999px;background:#CBD5E1;cursor:pointer;padding:0;transition:background .2s ease,width .2s ease}
#home-doctors .curve-dots button.active{background:var(--primary);width:34px}
@media(max-width:767px){
  #home-doctors .curve-stage{height:500px}
  #home-doctors .curve-card{width:220px;margin-left:-110px}
  #home-doctors .curve-arrow{top:38%}
}
@media(prefers-reduced-motion:reduce){
  #home-doctors .curve-card{transition:transform .01ms,opacity .01ms,box-shadow .01ms}
}
/* v1.3.5 — speciality filter buttons above the doctor cards. Buttons are built
   dynamically in PHP from the specialities of the 8 shown doctors (+ All);
   active button is navy with white text. Row wraps on phones. */
.home-doctors-filter{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:0 0 1.5rem}
.home-doctors-filter .filter-btn{appearance:none;background:#fff;border:1px solid var(--border);border-radius:999px;padding:.5rem 1rem;font-size:.9rem;font-weight:700;color:var(--primary);cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.home-doctors-filter .filter-btn:hover{border-color:var(--primary)}
.home-doctors-filter .filter-btn.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
/* v1.3.7 — MOBILE ONLY: filter pills side by side, 2-3 per line.
   v1.3.6 problem: at 14.4px font + 1rem side padding the long speciality
   names made each pill ~210-250px wide, so on a 328px phone screen only
   one pill fitted per line (7 rows for 8 buttons). Fix: smaller font and
   padding, and cap each pill at half the row (minus a hair for the gap)
   so a long name wraps INSIDE its own pill to two lines instead of
   stretching the pill across the whole row. Short pills ("All") stay
   auto-width, so a row packs 2-3 pills. Desktop untouched. */
@media(max-width:767px){
  .home-doctors-filter{gap:.5rem}
  .home-doctors-filter .filter-btn{font-size:.8rem;line-height:1.35;padding:.55rem .7rem;min-height:38px;max-width:calc(50% - .35rem);text-align:center}
}
.home-doctors-empty{text-align:center;color:var(--grey600);margin:1rem 0}
.doctor-card h3{margin:0;font-size:1.1rem}
.doctor-card h3 a{color:var(--primary)}
.doctor-card .desig{font-size:.9rem;color:var(--sky600);font-weight:600}
.doctor-card .qual{font-size:.875rem;color:var(--grey600)}
.badge{display:inline-block;background:var(--green);color:#1F2937;font-size:.75rem;font-weight:700;padding:.15rem .5rem;border-radius:999px;margin-top:.4rem}
.badge.off{background:#E5E7EB;color:var(--grey600)}
/* v1.8.0 — chamber "Available Today / Not Available Today" badge (doctor card, single doctor, home slider). */
.sh-chamber-badge{display:inline-block;background:#229E75;color:#fff;font-size:.75rem;font-weight:700;padding:.15rem .6rem;border-radius:999px;margin-top:.4rem}
.sh-chamber-badge.off{background:#9CA3AF;color:#fff}
/* v1.8.2 — Today's Duty Doctors section. */
.sh-duty-grid .sh-duty-card{text-align:center}
.sh-duty-grid .sh-duty-card .avatar{margin:1rem auto 0}
.sh-duty-grid .sh-duty-card .card-title{font-size:1.05rem;margin-bottom:.25rem}
.sh-duty-grid .sh-duty-card .card-title a{color:inherit;text-decoration:none}
.sh-duty-spec{font-size:.9rem;color:var(--grey600);margin:.1rem 0 .4rem}
.sh-duty-badge{display:inline-block;background:#229E75;color:#fff;font-size:.8rem;font-weight:700;padding:.2rem .7rem;border-radius:999px}
.sh-duty-time{font-size:.9rem;font-weight:600;color:var(--primary);margin:.5rem 0}
.sh-duty-card .btn{margin-top:.25rem}
.sh-chamber-line{margin-top:.2rem}
.doctor-single{display:flex;flex-wrap:wrap;gap:2rem;margin:2rem 0}
.doctor-meta{font-size:.95rem;color:var(--grey700)}
.doctor-meta dt{font-weight:700;color:var(--primary)}
.doctor-meta dd{margin:0 0 .6rem}
/* search form */
.doctor-search{background:var(--pale);border:1px solid var(--border);border-radius:12px;padding:1.25rem;margin-bottom:2rem;display:flex;flex-wrap:wrap;gap:.75rem;align-items:end}
.doctor-search label{font-size:.85rem;font-weight:700;color:var(--primary);display:block}
.doctor-search input[type=text],.doctor-search select{height:44px;padding:0 .75rem;border:1px solid var(--border);border-radius:6px;font-size:1rem;min-width:220px}
.doctor-search .field{flex:1;min-width:200px}
/* forms */
.sh-form{max-width:640px}
.sh-form label{display:block;font-weight:700;color:var(--primary);margin:.9rem 0 .3rem}
.sh-form input,.sh-form textarea,.sh-form select{width:100%;padding:.7rem .8rem;border:1px solid var(--border);border-radius:6px;font-size:1rem}
.sh-form .error{background:#FEF2F2;border:1px solid #FECACA;color:#991B1B;padding:.75rem;border-radius:6px}
.sh-form .sh-doctor-fixed{background:var(--pale);border:1px solid var(--border);border-radius:6px;padding:.7rem .8rem;margin:0;color:var(--primary)}
.sh-form .success{background:#F0FDF4;border:1px solid #BBF7D0;color:#166534;padding:.75rem;border-radius:6px}
.required{color:#DC2626}
/* footer */
.site-footer{background:var(--footer-bg);color:#fff;padding:2rem 0 0}
.site-footer a{color:#DCEDFE}
.site-footer h4{color:#fff;font-size:1rem}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem;padding-bottom:2rem}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1.2fr}}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:1rem 0;text-align:center;font-size:.875rem;color:#D1D5DB}
.footer-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
/* misc */
.page-content{padding:2rem 0 3rem}
.post-thumb{height:270px;background:linear-gradient(135deg,#1E3357,#5AC3E6);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700}
.pagination{margin:2rem 0;text-align:center}
.pagination a,.pagination span{padding:.5rem .8rem;border:1px solid var(--border);margin:0 .15rem;color:var(--primary)}
.pagination .current{background:var(--primary);color:#fff}
.empty-state{background:var(--pale);border:1px dashed var(--sky600);border-radius:12px;padding:2.5rem;text-align:center;color:var(--grey700)}
.skip-link{position:absolute;left:-999px}
.widget{margin-bottom:1.5rem}
.widget h3{font-size:1.05rem}
/* ---- v1.3.4 — floating call button (footer.php). Shown only when a real
   hotline number is saved in the Customizer; hidden otherwise (never a
   hardcoded or placeholder number). */
.sh-call-float{position:fixed;right:1rem;bottom:1rem;z-index:60;width:56px;height:56px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.6rem;box-shadow:0 8px 24px rgba(0,35,85,.35);text-decoration:none}
.sh-call-float:hover{background:var(--navy3);color:#fff;text-decoration:none}
@media(max-width:480px){.sh-call-float{right:.75rem;bottom:.75rem}}
/* ---- v1.2.0 — Mobile optimization (phones first) ----
   Audit (code review of every template + stylesheet; the live site could not
   be fetched from this VM, so no live-browser visual check was possible):
   1. TOPBAR OVERFLOW (worst): .topbar .container-md is a no-wrap flex row
      holding the long site-name badge + the Top Bar menu + the hotline —
      wider than a 360px screen, so the header forced horizontal scrolling.
      Worse, .topbar-menu had NO CSS at all: wp_nav_menu's <ul> rendered
      with default bullets, stacked vertically, inside that flex row.
   2. HERO DOTS UNUSABLE: 10px dots, no padding — a 10px tap target
      (live check 19:20 Dec 2: dots "did not respond to clicks").
   3. SPEC TILES CLIP TEXT: fixed height:150px in a 2-column grid at 360px
      (~164px per tile); long names ("Dental & Maxillofacial Surgery")
      wrap to 3–4 lines and can overflow the fixed height.
   4. DOCTOR SEARCH SQUEEZED: inputs min-width:220px + fields
      min-width:200px inside a 1.25rem-padded form — nearly the full width
      of a 320–360px screen, with no room for the button.
   5. DOCTOR-CARD BUTTON 40px: the inline height beat the 48px .btn and
      is below the ~44px tap target (inline style removed in
      doctor-card.php; min-width:0 now lives in CSS below).
   6. Small tap targets elsewhere: menu toggle ~38px, spec-nav buttons
      40px, mobile-menu links with no vertical padding, pagination links
      ~36px tall. Quick-tile hover scale fires on touch taps.
   Desktop rules above are untouched: every size/layout change below lives
   inside a max-width media query, except the three documented base fixes
   (.topbar-menu styling, body overflow-x guard, .doctor-card .btn). */

/* Base fix A — Top Bar menu: inline, no bullets, on every screen. */
.topbar-menu{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.topbar-menu a{white-space:nowrap}
/* Base fix B — safety net against horizontal scroll on small screens.
   `clip` (unlike `hidden`) creates no scroll container, so the sticky
   header keeps working. */
body{overflow-x:clip}
/* Base fix C — doctor-card button keeps min-width:0 now that its inline
   40px height is gone (the 48px .btn height governs). */
.doctor-card .btn{min-width:0}

/* ---- v1.3.4 — Mobile optimization, done properly (real rendering) ----
   ROOT CAUSE of "mobile optimization didn't work" (v1.2.0): the hamburger
   NEVER appeared. The base rule is `.menu-toggle{display:none}` and v1.2.0
   only added `min-height:44px` inside this block — display stayed none —
   while `.mainnav nav` was never hidden. So on a 360px phone the 6-item
   desktop nav (451px min-content) stayed in the header flex row. Once the
   webfont loads, Chrome expands the LAYOUT viewport to fit it: measured
   innerWidth 565px on a 360px screen (clientWidth stays 360), so the whole
   page renders zoomed-out and tiny — exactly what Anthin saw. The
   `body{overflow-x:clip}` guard only hid the scrollbar; it cannot stop the
   viewport expansion. Fix: hide the desktop nav row and SHOW the toggle
   below 1024px, let the logo shrink, and give the mobile-menu links a
   full 44px+ tap height. Desktop (>=1024px) is untouched. */
@media(max-width:1023px){
  .topbar-menu{display:none}
  .mainnav nav{display:none}
  .menu-toggle{display:block;min-height:44px;min-width:44px;padding:.5rem .8rem}
  .site-logo{flex:1 1 auto;min-width:0;padding:.4rem 0}
  .mobile-menu a{display:block;padding:.75rem .25rem}
  .mobile-menu.open{max-height:calc(100dvh - 110px);overflow-y:auto}
}
@media(max-width:768px){
  .topbar .container-md{flex-wrap:wrap;gap:.25rem 1rem}
  .hero-slide p{font-size:1rem}
  .hero-dots{position:relative;z-index:2}
  /* v1.3.4 — was 12px box + 7px padding + background-clip:content-box =
     0x0 painted dot (invisible, like the spec dots). 44px box, 16px
     padding = visible 12px dot + full 44px tap target. */
  .hero-dots button{width:44px;height:44px;padding:16px;background-clip:content-box}
  .spec-image{min-height:180px}
  .spec-slides{min-height:240px}
  .spec-slider-arrows button{width:44px;height:44px}
  .spec-nav button{width:44px;height:44px}
  .ask-banner h2{font-size:1.5rem}
  /* v1.3.4 — partner panel had 5rem side padding: at 360px only ~168px of
     content width was left for a 170px logo, so it overflowed. */
  .partner-panel{padding:1.25rem 1rem}
  .partner-logo{max-width:100%}
}
/* No hover-scale on touch screens: a tap should not jump the tile. */
@media(hover:none){.quick-tile:hover{transform:none;box-shadow:none}}
@media(max-width:480px){
  /* Header: the site name already appears in the mainnav logo, so drop the
     topbar badge on phones — that frees ~200px and the hotline fits. */
  .topbar .home-badge{display:none}
  /* v1.3.4 — the welcome line is a duplicate of the site name; hiding it
     leaves the topbar a single clean row with the hotline, which must
     never break mid-number. */
  .topbar .welcome{display:none}
  .topbar .hotline{white-space:nowrap}
  .site-logo{font-size:1.1rem}
  .mainnav{gap:.75rem}
  /* Hero: shorter slide, smaller headline, full-width CTA for easy taps. */
  .hero-slide{min-height:300px;padding:2rem 1rem}
  .hero-slide h2{font-size:1.35rem}
  .hero-slide .btn{width:100%;max-width:280px}
  .hero-nav{padding:0 .5rem}
  /* Specialities: keep 2 columns (44 tiles in 1 column would be endless),
     but let tall tiles grow instead of clipping long names. */
  .spec-tile{height:auto;min-height:110px;padding:.6rem .5rem;font-size:.85rem}
  .spec-tile .spec-icon{font-size:1.5rem}
  /* Doctor cards: stack centred, full-width appointment button. */
  .doctor-card{align-items:center;text-align:center}
  .doctor-card .btn{width:100%;max-width:260px}
  /* Doctor search: every field full width, no fixed minimums. */
  .doctor-search{padding:1rem}
  .doctor-search .field{flex:1 1 100%;min-width:0}
  .doctor-search input[type=text],.doctor-search select{min-width:0;width:100%}
  .doctor-search .btn{width:100%}
  /* Shorter media blocks + roomier pagination on phones. */
  .card-thumb{height:180px}
  .post-thumb{height:200px}
  .pagination a,.pagination span{padding:.65rem .9rem}
  .doctor-single{gap:1.25rem}
}

/* ---- v1.8.1: homepage additions ---- */
/* Stats band — navy, white text, sky numbers. Flex so 3–5 stats fit. */
.sh-stats{background:var(--primary);color:#fff;padding:2.5rem 0;margin-bottom:3rem}
.sh-stats-title{text-align:center;color:#fff;font-size:1.5rem;font-weight:700;margin:0 0 1.75rem}
.sh-stats-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;text-align:center}
.sh-stat{flex:1 1 140px;max-width:220px}
.sh-stat-num{font-size:2rem;font-weight:800;color:var(--sky)}
.sh-stat-label{font-size:.9rem;font-weight:600;color:#fff;opacity:.92}
@media(min-width:1024px){.sh-stats-title{font-size:2rem}.sh-stat-num{font-size:2.5rem}}
/* Home appointment — centre the form. */
.sh-home-appt-form .sh-form{margin:0 auto}
/* Emergency strip — deep red so it reads as emergency at a glance. */
.sh-emergency{background:#991B1B;color:#fff;padding:2rem 0;margin-bottom:3rem}
.sh-emergency-inner{display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
.sh-emergency h2{color:#fff;margin:0 0 .35rem;font-size:1.4rem}
.sh-emergency p{margin:0;color:#fff;opacity:.95}
.btn-emergency{background:#fff;color:#991B1B;min-width:0}
.btn-emergency:hover{background:#FEE2E2;color:#991B1B}
@media(min-width:768px){.sh-emergency-inner{flex-direction:row;align-items:center;justify-content:space-between}}
/* Testimonials slider — centred quote, dots + arrows like the other sliders. */
.sh-testimonials{max-width:820px;margin:0 auto;text-align:center}
.tst-slide{display:none}
.tst-slide.active{display:block}
.tst-quote{font-size:1.15rem;line-height:1.8;color:var(--primary);font-weight:500;margin:0 0 1rem}
.tst-who strong{display:block;color:var(--primary)}
.tst-who span{color:var(--grey600);font-size:.9rem}
.tst-nav{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.5rem}
.tst-nav>button{width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:#fff;color:var(--primary);font-size:1.4rem;line-height:1;cursor:pointer}
.tst-dots{display:flex;gap:.5rem}
.tst-dots button{width:10px;height:10px;border-radius:50%;border:0;background:var(--border);cursor:pointer;padding:0}
.tst-dots button.active{background:var(--sky600)}
/* FAQ accordion — one open at a time. */
.sh-faq{max-width:820px;margin:0 auto}
.faq-item{border:1px solid var(--border);border-radius:8px;margin-bottom:.75rem;overflow:hidden}
.faq-question{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border:0;padding:1rem 1.25rem;font-size:1rem;font-weight:700;color:var(--primary);cursor:pointer;text-align:left}
.faq-icon{font-size:1.4rem;font-weight:400;color:var(--sky600);flex:none}
.faq-answer{display:none;padding:0 1.25rem 1.25rem}
.faq-answer p{margin:0;color:var(--grey700);line-height:1.75}
.faq-item.open .faq-answer{display:block}
.faq-item.open .faq-icon{transform:rotate(45deg)}
/* Map — hidden entirely until a real embed URL is pasted. */
.sh-map{border:1px solid var(--border);border-radius:12px;overflow:hidden}
.sh-map iframe{display:block}
.sh-map-address{text-align:center;color:var(--grey700);margin-top:1rem}

/* v1.9.0 — doctor ratings, rating form, history + ambulance forms. */
.sh-stars{color:#C9A227;font-weight:700;letter-spacing:.05em}
.sh-stars-count{color:var(--grey700,#5b6472);font-size:.85rem}
.sh-rating-line{margin:.35rem 0}
.sh-rate-form{border:1px solid var(--border,#dfe4ea);border-radius:12px;padding:1.25rem;margin:1.5rem 0;background:#fff}
.sh-rate-form h3{margin-top:0}
.sh-rate-stars{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:.5rem;margin:.5rem 0}
.sh-rate-stars label{cursor:pointer;font-size:1rem;font-weight:600;color:#5b6472}
.sh-rate-stars input{margin-right:.15rem}
.sh-history-form .widefat,.sh-amb-form .widefat{margin-top:1rem}

/* v1.9.3 — Motion Primitives-style animations (pure CSS + vanilla JS,
   no libraries). Subtle only: fade, a small rise, blur clearing.
   No bouncing, no spinning, no flashing — a hospital site. */
/* In-view: sections start hidden ONLY when JS is present (html.sh-js,
   added by the tiny inline script in wp_head). No JS = sections render
   normally. .sh-noanim is the 4s safety timer: if the animation script
   never loads, everything becomes visible. */
html.sh-js .sh-inview{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
html.sh-js .sh-inview.is-visible{opacity:1;transform:translateY(0)}
html.sh-js.sh-noanim .sh-inview{opacity:1;transform:none;transition:none}
/* Hero headline words: created by JS only, so a no-JS headline is
   untouched and fully visible. Each word fades in, blur clears, small
   upward slide; stagger comes from the inline transition-delay. */
.hero-slide h2 .sh-word{display:inline-block;opacity:0;filter:blur(4px);transform:translateY(8px);transition:opacity .5s ease,filter .5s ease,transform .5s ease}
.hero-slide h2.sh-words-in .sh-word{opacity:1;filter:blur(0);transform:translateY(0)}
/* Reduced motion: no animation anywhere, final content immediately. */
@media (prefers-reduced-motion:reduce){
  html.sh-js .sh-inview{opacity:1;transform:none;transition:none}
  .hero-slide h2 .sh-word{opacity:1;filter:none;transform:none;transition:none}
}

/* ------------------------------------------------------------------ */
/* v1.9.4 — Login / Register + Doctor & Patient dashboards             */
/* Navy-gold, mobile-first: centred auth card, KPI cards, clean       */
/* tables that scroll horizontally on phones, status badges.           */
/* ------------------------------------------------------------------ */

/* Header auth buttons (topbar, every page). */
.topbar .sh-auth{display:flex;gap:.5rem;align-items:center}
.topbar .sh-auth-btn{background:#fff;color:var(--primary);font-weight:700;border-radius:20px;padding:.32rem .95rem;font-size:.875rem;white-space:nowrap}
.topbar .sh-auth-btn:hover{background:#E8EEF7}
.topbar .sh-auth-btn-gold{background:#C9A227;color:#002355}
.topbar .sh-auth-btn-gold:hover{background:#D9B84A}
.topbar .sh-auth-name{color:#fff;font-weight:700;white-space:nowrap}
.topbar .sh-auth-link{color:#cfe0f2;white-space:nowrap}
.topbar .sh-auth-link:hover{color:#fff}

/* ---- v1.9.7 — Logged-in header, rebuilt (mobile first) ----
   Anthin (live, on his phone): the logged-in topbar was jumbled —
   the name + Dashboard + Logout + hotline sat in ONE no-wrap flex
   row wider than a 360px phone, so the row wrapped mid-way (name on
   one line, links on the next, hotline half-clipped) and the
   `body{overflow-x:clip}` guard cut off whatever stuck out. Fix,
   Evercare-style: on phones the topbar stacks into two CENTRED rows
   — the user row (name / Dashboard / Logout) on top, in one straight
   row, and the hotline on its own clean line below. The desktop
   spacer is hidden on phones so it cannot open a phantom row, and a
   long display name truncates with an ellipsis instead of pushing
   the row wide. Desktop (>=769px) keeps the single row, with the
   same ellipsis guard for very long names. */
.topbar .sh-auth{min-width:0}
.topbar .sh-auth-name{max-width:220px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:768px){
  .topbar .container-md{flex-direction:column;align-items:center;justify-content:center;gap:.15rem .5rem;padding-top:.45rem;padding-bottom:.45rem}
  .topbar .spacer{display:none}
  .topbar .sh-auth{order:1;flex-wrap:nowrap;flex-shrink:0;justify-content:center;max-width:100%}
  .topbar .hotline{order:2}
  .topbar .sh-auth-name{max-width:52vw}
}
/* v1.9.7 — dashboard side-clipping: long unbroken tokens (patient
   IDs like PT-20261203-0001, prescription numbers, report numbers)
   must wrap instead of pushing content past the screen edge. Tables
   keep their sideways scroll inside .sh194-scroll, so cells are
   NOT force-broken (that shredded names like "Demo" into "Dem/o"). */
.sh194-dash{overflow-wrap:break-word}
.sh-auth-card{overflow-wrap:break-word}

/* Auth card (login / register). */
.sh-auth-wrap{max-width:500px;margin:2rem auto 3rem;padding:0 1rem}
.sh-auth-card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 12px 32px rgba(0,35,85,.14)}
.sh-auth-head{background:var(--primary);color:#fff;text-align:center;padding:1.8rem 1.5rem 1.4rem;border-bottom:5px solid #C9A227}
.sh-auth-head h1{color:#fff;font-size:1.55rem;margin:0 0 .35rem}
.sh-auth-head p{color:#cfe0f2;margin:0;font-size:.95rem;line-height:1.6}
.sh-auth-body{padding:1.4rem 1.6rem 1.8rem}
.sh-auth-body label{display:block;font-weight:700;color:var(--primary);margin:.95rem 0 .35rem}
.sh-auth-body input,.sh-auth-body select,.sh-auth-body textarea{width:100%;padding:.85rem .9rem;border:1.5px solid var(--border);border-radius:8px;font-size:1.05rem;background:#fff}
.sh-auth-body input:focus,.sh-auth-body select:focus,.sh-auth-body textarea:focus{outline:3px solid rgba(201,162,39,.45);border-color:#C9A227}
.sh-auth-btn{display:block;width:100%;background:var(--primary);color:#fff;border:0;border-radius:8px;padding:.95rem 1rem;font-size:1.05rem;font-weight:700;cursor:pointer;margin-top:1.25rem}
.sh-auth-btn:hover{background:#0a3a6b}
.sh-auth-msg{border-radius:8px;padding:.85rem 1rem;margin:0 0 1rem;font-weight:600;line-height:1.6}
.sh-auth-msg.error{background:#FEF2F2;border:1px solid #FECACA;color:#991B1B}
.sh-auth-msg.success{background:#F0FDF4;border:1px solid #BBF7D0;color:#166534}
.sh-auth-msg.info{background:#EFF6FF;border:1px solid #BFDBFE;color:#1E40AF}
.sh-auth-tabs{display:flex;gap:.5rem;margin-bottom:.6rem}
.sh-auth-tabs a{flex:1;text-align:center;padding:.75rem .4rem;border-radius:8px;border:1.5px solid var(--border);font-weight:700;color:var(--primary);background:var(--pale2)}
.sh-auth-tabs a.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.sh-auth-note{background:var(--pale);border-left:4px solid #C9A227;border-radius:0 8px 8px 0;padding:.7rem .9rem;color:var(--primary);font-size:.95rem;line-height:1.6;margin:.4rem 0 1rem}
.sh-auth-hint{color:var(--grey600);font-size:.88rem;margin:.35rem 0 0;line-height:1.55}
.sh-auth-foot{text-align:center;margin:1.1rem 0 0;color:var(--grey600);font-size:.95rem}
.sh-auth-foot a{color:var(--primary);font-weight:700}
.sh-auth-help{font-size:.88rem;line-height:1.6}

/* Dashboards (doctor + patient) — same navy-gold language as the
   Hospital Dashboard: KPI cards, white section cards, gold rules. */
.sh194-dash{max-width:1100px;margin:0 auto}
.sh194-hello{font-size:1.05rem;color:var(--primary);margin:.5rem 0 0}
.sh194-kpis{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.sh194-kpi{flex:1;min-width:150px;background:#fff;border:1px solid #e3e8ef;border-top:4px solid var(--primary);border-radius:10px;padding:14px 16px}
.sh194-kpi.gold{border-top-color:#C9A227}
.sh194-kpi.green{border-top-color:#229E75}
.sh194-kpi .lbl{color:#646970;font-size:13px}
.sh194-kpi .val{font-size:26px;font-weight:800;color:var(--primary);margin-top:4px;line-height:1.2}
.sh194-kpi .sub{font-size:13px;color:#5b6472;margin-top:2px}
.sh194-card{background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:18px 20px;margin:18px 0}
.sh194-card h2{color:var(--primary);font-size:19px;margin:0 0 4px}
.sh194-card h2:after{content:"";display:block;width:48px;height:3px;background:#C9A227;margin-top:8px;border-radius:2px}
.sh194-card h3{color:var(--primary);font-size:16px;margin:18px 0 8px}
.sh194-card p{line-height:1.7}
.sh194-empty{color:#5b6472;margin:10px 0 2px}
.sh194-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.sh194-table{width:100%;border-collapse:collapse;min-width:560px}
.sh194-table th{background:#F4F7FB;color:var(--primary);text-align:left;padding:10px 12px;border-bottom:2px solid #dfe4ea;font-size:14px;white-space:nowrap}
.sh194-table td{padding:10px 12px;border-bottom:1px solid #eef1f5;font-size:14px;vertical-align:top}
.sh194-badge{display:inline-block;padding:2px 10px;border-radius:20px;font-size:12px;font-weight:700;white-space:nowrap}
.sh194-badge.green{background:#DCFCE7;color:#166534}
.sh194-badge.amber{background:#FEF3C7;color:#92400E}
.sh194-badge.grey{background:#F1F5F9;color:#475569}
.sh194-badge.red{background:#FEE2E2;color:#991B1B}
.sh194-next{background:linear-gradient(135deg,#002355,#0a3a6b);color:#fff;border-radius:12px;padding:20px 22px;border-bottom:5px solid #C9A227;margin:16px 0}
.sh194-next h2{color:#fff;margin:0 0 6px}
.sh194-next h2:after{display:none}
.sh194-next p{color:#cfe0f2;margin:4px 0}
.sh194-next strong{color:#fff}
.sh194-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.sh194-links a{background:var(--primary);color:#fff;padding:.7rem 1.2rem;border-radius:8px;font-weight:700}
.sh194-links a.gold{background:#C9A227;color:#002355}
.sh194-form label{display:block;font-weight:700;color:var(--primary);margin:.9rem 0 .3rem}
.sh194-form input,.sh194-form textarea{width:100%;padding:.7rem .8rem;border:1px solid var(--border);border-radius:6px;font-size:1rem}
.sh194-form input:focus,.sh194-form textarea:focus{outline:3px solid rgba(201,162,39,.45);border-color:#C9A227}
.sh194-form .sh194-row{display:flex;flex-wrap:wrap;gap:14px}
.sh194-form .sh194-row>div{flex:1;min-width:160px}
.sh194-form .sh194-submit{width:auto;min-width:220px}
/* v1.9.7 — Lab Reporter: replace-PDF file picker (the real file input
   is hidden inside the label, so the row stays one tidy button). */
.sh194-file-label{display:inline-block;background:#F4F7FB;border:1px solid #c3c4c7;border-radius:6px;padding:.35rem .7rem;font-size:13px;font-weight:700;color:#002355;cursor:pointer;white-space:nowrap}
.sh194-file-label:hover{background:#E8EEF7}
.sh194-file-label input[type="file"]{display:none}
/* v1.9.7 add-on 4 — mistake-proof upload: patient confirm card
   (initials circle + "Is this the report for this patient?") + pending test orders. */
.sh197-confirm{display:flex;gap:14px;align-items:flex-start;background:#F0FDF4;border:2px solid #229E75;border-radius:12px;padding:16px 18px;margin:14px 0}
.sh197-initials{flex:0 0 auto;width:56px;height:56px;border-radius:50%;background:#002355;color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800}
.sh197-confirm-body p{margin:.2rem 0;line-height:1.6}
.sh197-confirm-q{font-weight:800;color:#166534;font-size:1.05rem}
.sh197-confirm-name{font-weight:800;color:#002355;font-size:1.15rem}
.sh197-orders{background:#FFFBEB;border:1px solid #E5D5A1;border-radius:12px;padding:14px 16px;margin:14px 0}
.sh197-orders h3{color:#002355;font-size:16px;margin:0 0 4px}
.sh197-orders p{color:#5b6472;font-size:.93rem;line-height:1.6;margin:.3rem 0 .6rem}
.sh197-order{display:block;padding:.55rem .6rem;border-radius:8px;font-weight:600;color:#1a2332;line-height:1.55;cursor:pointer}
.sh197-order:hover{background:#FFF7D6}
.sh197-order input{margin-right:.5rem;accent-color:#002355}
/* v1.9.7 — one-click prescription button + prefilled (read-only) fields. */
.sh194-btn-small{display:inline-block;background:#002355;color:#fff!important;padding:.45rem .9rem;border-radius:8px;font-weight:700;font-size:13px;white-space:nowrap}
.sh194-btn-small:hover{background:#0a3a6b}
.sh194-form input[readonly]{background:#F4F7FB;color:#334155;cursor:default}
@media (max-width:640px){
  .sh194-kpi{min-width:44%}
  .sh194-kpi .val{font-size:22px}
  .sh-auth-body{padding:1.2rem 1.1rem 1.5rem}
  .sh194-card{padding:14px 14px}
  .topbar .sh-auth-btn{padding:.3rem .7rem}
}

/* ------------------------------------------------------------------ */
/* v1.9.5 — Login / Register redesign (glassmorphism, Anthin's        */
/* reference: the 2026-12-02 glass-login demo). WHY the old page     */
/* looked plain: page.php prints the page title ("Login") above the   */
/* card and the card sat on a plain white page, so the v1.9.4 navy    */
/* head read as a small box on a blank page. main.css WAS reaching    */
/* the page (it is enqueued on every front-end page in functions.php, */
/* and page.php loads it through get_header/wp_head) — the look      */
/* itself was the gap, not the loading. Now the whole scene is a      */
/* full-viewport navy gradient with glow orbs, the page title and     */
/* sidebar are hidden on auth pages, and the card is frosted glass.   */
/* ------------------------------------------------------------------ */

/* Auth pages: dark backdrop, no plain page title, no sidebar. */
body.sh-auth-page{background:#001a3d}
body.sh-auth-page .page-content{padding:0}
body.sh-auth-page .page-content>h1{display:none}
body.sh-auth-page .sidebar{display:none}
/* Full-bleed scene: breaks out of the 1280px container (body has
   overflow-x:clip, so no horizontal scrollbar appears). */
.sh-auth-scene{position:relative;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);min-height:calc(100vh - 220px);display:flex;align-items:center;justify-content:center;padding:2.5rem 1rem;overflow:hidden;background:linear-gradient(155deg,#001233 0%,#002355 48%,#0a3a6b 78%,#0284C7 130%)}
.sh-auth-glow{position:absolute;border-radius:50%;pointer-events:none}
.sh-auth-glow-a{width:420px;height:420px;top:-140px;right:-100px;background:radial-gradient(circle,rgba(201,162,39,.45),rgba(201,162,39,0) 65%)}
.sh-auth-glow-b{width:460px;height:460px;bottom:-180px;left:-140px;background:radial-gradient(circle,rgba(90,195,230,.4),rgba(90,195,230,0) 65%)}
.sh-auth-scene::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1px);background-size:26px 26px;opacity:.35;pointer-events:none}
/* Frosted-glass card. */
.sh-auth-scene .sh-auth-wrap{position:relative;z-index:1;width:100%;max-width:480px;margin:0;padding:0}
.sh-auth-scene .sh-auth-card{background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.65);border-radius:20px;box-shadow:0 24px 60px rgba(0,8,32,.5);overflow:hidden;animation:shAuthIn .45s ease}
@keyframes shAuthIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
/* Brand block: gold monogram, hospital name, big Bengali heading. */
.sh-auth-brand{text-align:center;padding:2rem 1.5rem 1.2rem}
.sh-auth-mark{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#C9A227,#D9B84A);box-shadow:0 10px 24px rgba(201,162,39,.45);margin-bottom:.9rem}
.sh-auth-mark svg{width:32px;height:32px}
.sh-auth-site{margin:0 0 .3rem;font-size:.8rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--sky600)}
.sh-auth-brand h1{margin:0 0 .3rem;font-size:1.7rem;font-weight:800;color:var(--primary)}
.sh-auth-sub{margin:0;color:var(--grey600);font-size:.98rem;line-height:1.6}
.sh-auth-scene .sh-auth-body{padding:.4rem 1.8rem 1.9rem}
/* Fields with icons. */
.sh-auth-scene .sh-field{position:relative}
.sh-auth-scene .sh-field svg{position:absolute;left:.9rem;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#0284C7;pointer-events:none}
.sh-auth-scene .sh-field input{padding-left:2.7rem;border-radius:12px;background:rgba(255,255,255,.9)}
.sh-auth-scene .sh-auth-body select{border-radius:12px;background:rgba(255,255,255,.9)}
/* Gold submit button. */
.sh-auth-scene .sh-auth-btn{background:linear-gradient(135deg,#C9A227,#D9B84A);color:#002355;border-radius:12px;box-shadow:0 8px 20px rgba(201,162,39,.4);transition:transform .15s ease,box-shadow .15s ease}
.sh-auth-scene .sh-auth-btn:hover{background:linear-gradient(135deg,#D9B84A,#C9A227);transform:translateY(-1px);box-shadow:0 12px 26px rgba(201,162,39,.5)}
/* Tabs that look like tabs: one pill container, active tab navy. */
.sh-auth-scene .sh-auth-tabs{background:rgba(0,35,85,.08);border-radius:999px;padding:4px;gap:4px;margin-bottom:1rem}
.sh-auth-scene .sh-auth-tabs a{border:0;border-radius:999px;background:transparent;padding:.65rem .4rem;color:var(--grey600)}
.sh-auth-scene .sh-auth-tabs a.active{background:var(--primary);color:#fff;box-shadow:0 4px 12px rgba(0,35,85,.3)}
/* Demo hint — shown ONLY when demo users exist (PHP-gated). */
.sh-auth-demo{background:#FFFBEB;border:1.5px dashed #C9A227;border-radius:12px;padding:.8rem 1rem;color:var(--primary);font-size:.92rem;line-height:1.7;text-align:center;margin:1rem 0 0}
.sh-auth-demo strong{color:#8a6d00}
@media (max-width:640px){
  .sh-auth-scene{min-height:calc(100dvh - 180px);padding:1.5rem .75rem}
  .sh-auth-brand{padding:1.6rem 1.2rem 1rem}
  .sh-auth-brand h1{font-size:1.5rem}
  .sh-auth-scene .sh-auth-body{padding:.3rem 1.25rem 1.5rem}
}
@media (prefers-reduced-motion:reduce){
  .sh-auth-scene .sh-auth-card{animation:none}
}
