/* Doctors / Hospitals services dialog (same as the homepage header buttons). */
.sv-back{position:fixed;inset:0;z-index:50;display:none;place-items:center;padding:20px;background:rgba(15,20,45,.35);backdrop-filter:blur(6px);
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:40px 40px}
.sv-back.open{display:grid;animation:svfade .2s ease}
@keyframes svfade{from{opacity:0}to{opacity:1}}
.sv{position:relative;display:flex;align-items:center;gap:18px;max-width:600px;width:100%}
.sv-side{display:flex;flex-direction:column;gap:16px;flex:none;order:2}
.sv-side button{width:88px;height:118px;border:0;border-radius:18px;background:var(--c);opacity:.6;cursor:pointer;padding:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;align-content:start;transition:opacity .15s ease,transform .15s ease}
.sv-side button:hover,.sv-side button:focus-visible{opacity:.95;transform:translateX(-4px);outline:none}
html[dir="rtl"] .sv-side button:hover,html[dir="rtl"] .sv-side button:focus-visible{transform:translateX(4px)}
.sv-side button i{aspect-ratio:1;border-radius:3px;background:rgba(255,255,255,.35)}
.sv-side button span{grid-column:1/-1;color:#fff;font-weight:700;font-size:11px;line-height:1.3;margin-top:6px;text-align:center}
.sv-card{flex:1;min-width:0;border-radius:30px;padding:22px 22px 24px;background:radial-gradient(240px circle at 12% 108%,rgba(255,255,255,.24),transparent 70%),var(--c);color:#fff;position:relative;
  box-shadow:0 0 0 8px rgba(255,255,255,.55),0 30px 70px -25px rgba(15,20,45,.55);animation:svpop .25s cubic-bezier(.2,.9,.3,1.1)}
@keyframes svpop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
.sv-top{display:flex;gap:18px;align-items:flex-start}
.sv-prev{width:190px;height:190px;flex:none;border-radius:18px;background:#fff;color:var(--ink);padding:12px;display:flex;flex-direction:column;box-shadow:0 10px 24px -12px rgba(0,0,0,.35)}
.sv-prev .ph{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:10px;font-weight:700;color:var(--navy);white-space:nowrap}
.sv-prev .ph em{font-style:normal;background:#fff4dd;color:#9a6000;border-radius:999px;padding:1px 7px;font-size:8.5px;overflow:hidden;text-overflow:ellipsis}
.sv-prev .art{flex:1;display:grid;place-items:center}
.sv-prev .art svg{width:86px;height:86px}
.sv-prev .pf{display:flex;justify-content:space-between;align-items:center}
.sv-prev .pf .dots{display:flex;gap:3px}.sv-prev .pf .dots b{width:10px;height:3px;border-radius:2px;background:#e3e6ee}.sv-prev .pf .dots b.on{background:var(--c)}
.sv-prev .pf img{height:12px}
.sv-deco{flex:1;display:flex;flex-direction:column;align-items:flex-end;gap:14px}
html[dir="rtl"] .sv-deco{align-items:flex-start}
.sv-grid{display:grid;grid-template-columns:repeat(4,34px);gap:9px;direction:ltr}
.sv-grid i{width:34px;height:34px;border-radius:8px;background:rgba(0,0,0,.14)}
.sv-count{font:700 14px "Montserrat",sans-serif;letter-spacing:.06em;color:rgba(255,255,255,.9);direction:ltr}
.sv-logo{display:flex;justify-content:flex-start;margin:18px 0 14px}
html[dir="rtl"] .sv-logo{justify-content:flex-end}
.sv-logo span{background:#fff;border-radius:16px;padding:10px 16px}
.sv-logo img{height:46px;width:auto}
.sv-tag{display:inline-block;font:700 12px "Montserrat",sans-serif;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,255,255,.18);border-radius:999px;padding:3px 10px;direction:ltr}
.sv-card h3{color:#fff;font-size:22px;margin:8px 0 6px}
.sv-card p{margin:0;color:rgba(255,255,255,.9);font-size:14.5px;line-height:1.75}
.sv-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;position:relative;z-index:1}
.sv-actions a{height:46px;border-radius:12px;display:inline-flex;align-items:center;gap:8px;padding:0 20px;font-weight:700;font-size:14.5px}
.sv-actions .p{background:#fff;color:var(--c)}
.sv-actions .o{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6);color:#fff;direction:ltr}
.sv-actions .o svg{width:16px;height:16px}
.sv-nav{position:absolute;top:16px;inset-inline-end:16px;display:flex;gap:6px;z-index:2}
.sv-x{position:absolute;top:-14px;inset-inline-end:-14px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:var(--navy);cursor:pointer;box-shadow:0 6px 16px -6px rgba(0,0,0,.35);display:grid;place-items:center}
.sv-x svg{width:18px;height:18px}
@media (max-width:640px){
  .sv{flex-direction:column;align-items:stretch}
  .sv-side{flex-direction:row;justify-content:center}
  .sv-side button{width:auto;flex:1;height:64px;grid-template-columns:repeat(6,1fr)}
  .sv-side button i:nth-child(n+7){display:none}
  .sv-prev{width:130px;height:130px}.sv-prev .art svg{width:56px;height:56px}
  .sv-grid{grid-template-columns:repeat(3,26px);gap:7px}.sv-grid i{width:26px;height:26px}.sv-grid i:nth-child(n+10){display:none}
  .sv-x{top:-10px;inset-inline-end:-6px}
}
