/* Jaipur Eye & Dental Hospital's own look on its patients' pages (home, booking, check-in, appointment, prescription; 1 Dec),
   loaded after each page's own styles: its navy band with the eye-and-tooth mark and its name in Hindi, the cyan-and-lime
   line of the mark's two colours under it, its blue for what is pressed, Poppins titles over Inter text, the mark again
   on a navy foot with "Powered by TuringEdge".
   An eye hospital's patients are often older and many see poorly (before a cataract operation, after dilating drops):
   text a size larger than the pages' own, darker greys (the muted grey 8.6:1 on white), taller tap targets (44 px and
   more), the doctors' names in Poppins. Both themes; the band and the foot keep their colours. */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap");

:root {
  --ink: #0b1626; --muted: #424c5b; --line: #e2ddd2; --paper: #f5f3ee; --card: #ffffff; --amber: #8a520a;
  --mint: #0060c0; --mint-deep: #004a96; --mint-soft: #e7f0fb; --on-mint: #ffffff; --ring: rgba(43, 175, 224, .22);
  --slip: #fffdf8; --slip-line: #e7dfd0; --logo-bg: transparent;
  --sans: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  --jd-navy: #0e2a47; --jd-navy-2: #16426f; --jd-cyan: #2bafe0; --jd-lime: #9dc13e;
  --jd-signature: linear-gradient(90deg, var(--jd-cyan) 0 50%, var(--jd-lime) 50% 100%);
}
/* patient.css paints a light page #f2f2f7 with :root:not([data-theme="dark"]); the reception's stone needs the same weight */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --paper: #f5f3ee; --card: #ffffff; } }
:root[data-theme="light"] { --paper: #f5f3ee; --card: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef2f7; --muted: #c2cad6; --line: #2a3a4f; --paper: #0b1522; --card: #13202f; --amber: #e8b05e;
    --mint: #5fb0ff; --mint-deep: #8cc6ff; --mint-soft: #14304f; --on-mint: #04172b; --ring: rgba(95, 176, 255, .2);
    --slip: #132032; --slip-line: #2c3e55; --logo-bg: transparent;
  }
}
:root[data-theme="dark"] {
  --ink: #eef2f7; --muted: #c2cad6; --line: #2a3a4f; --paper: #0b1522; --card: #13202f; --amber: #e8b05e;
  --mint: #5fb0ff; --mint-deep: #8cc6ff; --mint-soft: #14304f; --on-mint: #04172b; --ring: rgba(95, 176, 255, .2);
  --slip: #132032; --slip-line: #2c3e55; --logo-bg: transparent;
}
body { font-family: var(--sans); font-size: 17px; background: var(--paper); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main, body > .wrap { width: 100%; }
html { overflow-x: clip; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: 24px; line-height: 1.2; }
.big { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
small { font-size: max(13px, .8em); }

/* ---------- the band ---------- */
.rh-band {
  color: #fff;
  background: var(--jd-signature) left bottom / 100% 3px no-repeat, linear-gradient(110deg, #1a365d 0%, var(--jd-navy) 45%, var(--jd-navy-2) 100%);
}
.rh-band-in { max-width: 480px; margin: 0 auto; padding: 14px 16px 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.rh-band img { display: block; height: 34px; width: auto; flex: none; }
.rh-motto { font: 600 15px/1.35 "Poppins", "Noto Sans Devanagari", var(--sans); text-align: right; text-wrap: balance; color: rgba(255, 255, 255, .94); }
.rh-band-home .rh-band-in { max-width: 1080px; padding-top: 18px; padding-bottom: 18px; }
.rh-band-home img { height: 40px; }
.rh-band-home .rh-motto { font-size: 17px; }

/* ---------- the foot ---------- */
.rh-foot { margin-top: auto; background: var(--jd-navy); color: #d5dde8; position: relative; }
.rh-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--jd-signature); }
.rh-foot-in { max-width: 480px; margin: 0 auto; padding: 22px 16px 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; font-size: 13px; }
.rh-foot-wide .rh-foot-in { max-width: 1080px; }
.rh-foot-logo { display: block; height: 30px; width: auto; }
.rh-foot .rh-powered { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #b9c4d3; }
.rh-foot .rh-powered img { display: block; height: 9px; width: auto; }
@media (max-width: 420px) { .rh-motto { font-size: 13.5px; } .rh-band img { height: 30px; } }

/* ---------- legible for eyes that see poorly: larger choices, darker hints, the time in tabular figures ---------- */
.card { border-radius: 16px; }
.day { font-size: 15.5px; padding: 10px 16px; min-height: 44px; }
.opt { font-size: 15.5px; min-height: 48px; border-radius: 12px; }
.opt small { font-size: 13.5px; }
.opts.slots .opt { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.part { font-size: 14px; color: var(--muted); }
.more { font-size: 15px; min-height: 44px; }
.doctor b, .doctor strong { font-family: var(--serif); font-weight: 600; font-size: 17.5px; letter-spacing: -.01em; }
header small { font-size: 12.5px; letter-spacing: .08em; }

/* a number to call (108 in the emergency line) and the way home are fingers' targets, not 16 px words: the area grows,
   the text stays where it was (the audit's small targets on a 375 px phone, 1 Dec) */
a[href^="tel:"] { display: inline-block; padding: 12px 6px; margin: -12px -6px; }
a.home { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- small things: the page's own controls in the hospital's blue, "booked" still green ---------- */
input[type="radio"], input[type="checkbox"] { accent-color: var(--mint); }
:is(input, select, textarea):focus { outline: 3px solid var(--ring); outline-offset: 1px; }
.status:not(.off) { background: #e3f3ec; color: #155c3f; }
