/* ─────────────────────────────────────────────────────────────
   Patient site styles — ChatGPT's design, kept as it was (owner's choice,
   2026-10-18: "do like ChatGPT"). Source: design/chatgpt-landing-demo.html.
   Do not restyle this part; add below the line instead.
   ───────────────────────────────────────────────────────────── */
:root{--ink:#102d45;--sub:#587081;--teal:#0d8799;--deep:#076274;--light:#eaf9fb;--sky:#e8f3fb;--line:#dce9f1;--bg:#f4f9fc;--white:#fff;--rose:#fff0f0;--shadow:0 18px 48px rgba(26,73,100,.09);--radius:23px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);font-family:'Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
a{color:inherit;text-decoration:none}
svg{flex-shrink:0}
.ico{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hidden{display:none!important}
.container{width:min(1150px,calc(100% - 40px));margin-inline:auto}
.top-strip{height:37px;background:#0c5670;color:#eefaff;display:flex;justify-content:center;align-items:center;font-size:12px;letter-spacing:.1px}
.top-strip span{display:flex;align-items:center;gap:7px}
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid #e4eef3;position:sticky;top:0;z-index:80;backdrop-filter:blur(10px)}
.header-inner{height:79px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px;min-width:200px}
.brand-logo{width:50px;height:50px;border-radius:17px;background:#e4f8fa;color:#07839a;display:flex;align-items:center;justify-content:center}
.brand-logo .ico{width:34px;height:34px}
.brand-title{font-size:18px;font-weight:850;line-height:1.4}
.brand-sub{font-size:11px;color:var(--sub);font-weight:650}
.main-nav{display:flex;align-items:center;gap:26px;font-size:13px;font-weight:700;color:#41576b}
.main-nav a:hover{color:var(--teal)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:14px;padding:13px 23px;font-size:14px;font-weight:800;transition:transform .15s,box-shadow .15s,background .15s;text-align:center;white-space:nowrap}
.btn:hover:not(:disabled){transform:translateY(-2px)}
.btn-primary{background:linear-gradient(110deg,#119caf,#06748a);color:#fff;box-shadow:0 11px 26px rgba(7,128,145,.19)}
.btn-primary:hover{box-shadow:0 15px 30px rgba(7,128,145,.28)}
.btn-soft{background:#edf8fc;color:#076a7d;border:1px solid #cceaf2}
.btn-white{background:#fff;color:#0e6779;border:1px solid #d5edf2}
.btn-outline{background:transparent;border:1px solid #bfd6e2;color:var(--ink)}
.btn-danger{background:#fff0f0;color:#ae4d55;border:1px solid #ffdadb}
.btn-small{font-size:12px;padding:9px 15px;border-radius:10px}
.mobile-menu{display:none;background:none;border:0;color:var(--ink)}
.page{animation:in .25s ease}
@keyframes in{from{opacity:.3;transform:translateY(6px)}
to{opacity:1;transform:translateY(0)}
}
.hero{padding-top:32px}
.hero-card{border:1px solid #e1edf2;border-radius:31px;background:#fff;min-height:435px;overflow:hidden;display:grid;grid-template-columns:1.1fr .9fr;box-shadow:var(--shadow);position:relative}
.hero-copy{padding:49px 58px 40px;position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:7px;background:#e6f9fa;color:#087b8e;padding:7px 14px;border-radius:99px;font-size:12px;font-weight:850}
.eyebrow .ico{width:15px;height:15px}
.hero h1{font-size:clamp(29px,4vw,48px);line-height:1.5;margin:13px 0 7px;letter-spacing:-1.2px}
.hero h1 em{font-style:normal;color:#078ca2}
.hero p{color:var(--sub);font-size:16px;line-height:2;max-width:500px;margin:0 0 24px}
.hero-buttons{display:flex;gap:11px;flex-wrap:wrap}
.hero-facts{display:flex;align-items:center;gap:24px;margin-top:26px;color:#476b7e;font-size:12px;font-weight:700}
.hero-facts span{display:flex;align-items:center;gap:7px}
.hero-facts .ico{color:#0b92a1;width:18px;height:18px}
.hero-visual{position:relative;background:linear-gradient(135deg,#eafcff,#c2e7ee);overflow:hidden}
.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,transparent 56%,rgba(255,255,255,.37));pointer-events:none}
.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:saturate(.93) brightness(1.07)}
.hero-bubble{position:absolute;bottom:28px;right:22px;z-index:2;background:rgba(255,255,255,.94);padding:12px 17px;border:1px solid #e3f0f5;border-radius:16px;display:flex;align-items:center;gap:11px;box-shadow:0 8px 20px #1b799018}
.bubble-check{width:37px;height:37px;border-radius:13px;background:#e0f8ee;display:grid;place-items:center;color:#17a170}
.hero-bubble b{display:block;font-size:13px}
.hero-bubble small{display:block;color:#638193;font-size:11px}
.quick-info{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0 50px}
.info-card{background:white;border:1px solid var(--line);border-radius:17px;padding:21px 22px;display:flex;align-items:center;gap:16px}
.info-icon{width:49px;height:49px;display:grid;place-items:center;background:#e8f6fa;border-radius:14px;color:#08869c}
.info-card strong{font-size:13px}
.info-card p{margin:3px 0 0;color:#658092;font-size:12px;line-height:1.8}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 22px}
.section-heading h2,.about-copy h2{font-size:27px;line-height:1.5;margin:0}
.section-heading p{font-size:13px;color:var(--sub);margin:6px 0 0}
.section-label{color:var(--teal);font-size:12px;font-weight:850;letter-spacing:1px;margin-bottom:6px}
.about-card{padding:29px;display:grid;grid-template-columns:.95fr 1.05fr;gap:28px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:24px;margin-bottom:51px}
.about-art{min-height:235px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:radial-gradient(circle at 25% 15%,#fff,transparent 45%),linear-gradient(125deg,#dcf4fa,#eef9fd);position:relative;overflow:hidden}
.about-art svg{filter:drop-shadow(0 10px 13px #2d7a871d)}
.about-art .art-mini{position:absolute;bottom:19px;left:20px;color:#057c8f;font-size:16px;font-weight:900}
.about-copy p{color:#60798b;font-size:14px;line-height:2.15;margin:13px 0 15px}
.about-checks{display:flex;gap:16px;flex-wrap:wrap;color:#067e91;font-size:12px;font-weight:800}
.about-checks span{display:flex;align-items:center;gap:7px}
.services{margin-bottom:62px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service-card{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden;box-shadow:0 8px 22px #2d677a09;transition:transform .17s}
.service-card:hover{transform:translateY(-4px)}
.service-image{height:157px;overflow:hidden;background:#eaf5f9}
.service-image img{width:100%;height:100%;object-fit:cover;object-position:center 50%;transform:scale(1.08)}
.service-body{padding:18px 20px 19px}
.service-body h3{font-size:17px;margin:0 0 4px}
.service-body p{color:var(--sub);font-size:12px;margin:0 0 16px}
.service-bottom{display:flex;align-items:center;justify-content:space-between}
.service-time{display:flex;gap:5px;align-items:center;font-size:11px;color:#7990a0}
.service-arrow{border:0;width:34px;height:34px;border-radius:11px;background:#e8f8fa;color:#008499}
.bottom-cta{border-radius:25px;background:linear-gradient(112deg,#0b8296,#07536a);color:#fff;padding:30px 39px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:48px}
.bottom-cta h2{font-size:23px;margin:0 0 6px}
.bottom-cta p{font-size:12px;color:#cceef4;margin:0}
.footer{border-top:1px solid #dce8ef;padding:30px 0 34px;color:#6f8794}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}
.footer .brand-title{color:#224054;font-size:15px}
.footer small{font-size:11px}
.footer-actions{display:flex;align-items:center;gap:21px}
.footer-actions a:hover{color:var(--teal)}
.inner-main{min-height:calc(100vh - 230px);padding:37px 0 70px}
.inner-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}
.inner-title h1{font-size:29px;margin:5px 0 4px}
.inner-title p{margin:0;color:var(--sub);font-size:13px}
.crumb{font-size:12px;font-weight:750;color:#0f8294}
.panel{background:#fff;border:1px solid #e2edf1;border-radius:22px;box-shadow:0 12px 32px #17627e0a}
.booking-layout{display:grid;grid-template-columns:1fr 310px;gap:23px;align-items:start}
.form-panel{padding:28px}
.form-heading{display:flex;align-items:center;gap:11px;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:24px}
.form-heading .info-icon{width:45px;height:45px}
.form-heading h2{margin:0;font-size:19px}
.form-heading p{color:var(--sub);font-size:12px;margin:3px 0 0}
.form-section{margin-bottom:27px}
.form-section h3{font-size:15px;margin:0 0 14px;display:flex;align-items:center;gap:9px}
.form-section h3 b{display:grid;place-items:center;color:#fff;background:#0b8ba0;border-radius:9px;font-size:11px;width:24px;height:24px}
.field-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:12px;font-weight:800;color:#415c6f}
.field input,.field select{width:100%;border:1px solid #d6e5ee;background:#fafcfe;border-radius:11px;padding:12px 13px;color:#1b4154;outline:none;min-height:46px}
.field input:focus,.field select:focus{border-color:#119aae;box-shadow:0 0 0 3px #0b93ae15}
.field small{color:#798c9b;font-size:10px}
.slot-list{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.slot{border:1px solid #d9e7ef;background:#fff;border-radius:11px;padding:10px 4px;color:#31556b;font-size:12px;font-weight:800}
.slot[aria-pressed="true"]{background:#e5f9fb;border-color:#16a1ad;color:#047a8d;box-shadow:inset 0 0 0 1px #14a0ad}
.empty-slots{padding:14px;border-radius:12px;background:#f5f9fc;color:#6e8797;font-size:12px}
.notice{padding:13px 15px;font-size:12px;line-height:1.85;background:#eff9fb;border:1px solid #d5edf0;border-radius:12px;color:#376978}
.notice .ico{vertical-align:middle;width:16px;height:16px;margin-left:4px}
.form-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:24px;border-top:1px solid var(--line)}
.side-summary{padding:23px;position:sticky;top:115px}
.side-summary h3{font-size:16px;margin:0 0 15px}
.summary-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #e2ebf0;padding:12px 0;font-size:12px}
.summary-row span{color:#7a8c99}
.summary-row strong{color:#264b5f;max-width:60%;text-align:left}
.summary-help{font-size:12px;color:#77909c;line-height:1.9;margin-top:18px}
.patient-layout{display:grid;grid-template-columns:410px 1fr;gap:23px;align-items:start}
.lookup-card{padding:26px}
.lookup-card h2{font-size:19px;margin:0 0 8px}
.lookup-card p{font-size:12px;color:var(--sub);line-height:1.95;margin:0 0 20px}
.lookup-card .field{margin-bottom:14px}
.lookup-result{padding:26px;min-height:275px}
.welcome-empty{min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:#8296a3}
.welcome-empty svg{color:#3ba1b1}
.welcome-empty strong{font-size:15px;color:#436175}
.welcome-empty p{font-size:12px;line-height:1.8}
.status-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:850;border-radius:99px;padding:6px 11px}
.status-pill.pending{background:#fff4dc;color:#a7731d}
.status-pill.confirmed{background:#e2f8eb;color:#248657}
.status-pill.rejected,.status-pill.cancelled{background:#ffeded;color:#a95151}
.result-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}
.result-header h2{font-size:17px;margin:0}
.result-reference{font-family:monospace;font-weight:900;font-size:15px;direction:ltr;display:inline-block}
.result-field{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e9f1f4;font-size:12px}
.result-field span{color:#718b9a}
.result-field strong{color:#27475c}
.success-card{padding:36px;text-align:center;max-width:630px;margin:auto}
.success-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#e9faf3;color:#159f75;margin:auto}
.success-icon .ico{height:35px;width:35px}
.success-card h2{font-size:25px;margin:17px 0 8px}
.success-card p{color:var(--sub);line-height:2;font-size:13px}
.reference-box{margin:24px auto;background:#f2f9fc;border:1px dashed #a9d2e0;padding:17px;border-radius:13px;max-width:310px}
.reference-box small{display:block;color:#7a919d}
.reference-box strong{display:block;font-size:23px;font-family:monospace;letter-spacing:1px;margin:5px 0;color:#075a72}
.success-buttons{display:flex;align-items:center;justify-content:center;gap:11px;flex-wrap:wrap}
.admin-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}
.admin-head h1{font-size:28px;margin:0 0 5px}
.admin-head p{font-size:12px;color:var(--sub);margin:0}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}
.stat{padding:19px;background:white;border:1px solid #e0eaf0;border-radius:17px;display:flex;align-items:center;gap:14px}
.stat-ico{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#edf7fb;color:#0a899c}
.stat strong{display:block;font-size:24px;line-height:1.2}
.stat span{display:block;color:#7790a0;font-size:11px;margin-top:4px}
.admin-table-card{padding:23px}
.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.table-toolbar h2{font-size:17px;margin:0 0 4px}
.table-toolbar p{font-size:11px;color:var(--sub);margin:0}
.toolbar-controls{display:flex;align-items:center;gap:9px}
.filter-select,.search-input{border:1px solid var(--line);padding:10px 11px;border-radius:10px;color:#476172;background:#fafdfe;font-size:12px;outline:none}
.search-input{width:175px}
.table-scroll{overflow-x:auto}
.data-table{border-collapse:collapse;width:100%;text-align:right;white-space:nowrap;font-size:12px}
.data-table th{background:#f4f8fb;color:#6d8392;font-size:11px;font-weight:800;padding:15px 12px}
.data-table th:first-child{border-radius:0 10px 10px 0}
.data-table th:last-child{border-radius:10px 0 0 10px}
.data-table td{border-bottom:1px solid #eef3f6;padding:15px 12px;color:#4a6477}
.data-table td.patient-name{color:#203f53;font-weight:850}
.td-actions{display:flex;gap:6px}
.empty-table{padding:50px;text-align:center;color:#7591a0;font-size:13px}
.admin-note{margin-top:19px;font-size:11px;color:#8194a0;line-height:1.9}
.modal-backdrop{position:fixed;inset:0;background:#0b2941a3;z-index:200;display:flex;align-items:center;justify-content:center;padding:20px}
.modal{width:min(460px,100%);background:#fff;border-radius:23px;padding:26px;box-shadow:0 22px 60px #011e3538}
.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.modal-head h3{font-size:19px;margin:0}
.modal-close{background:#edf5f8;border:0;color:#577485;border-radius:9px;padding:7px;display:grid;place-items:center}
.modal-fields{margin-bottom:23px}
.modal .summary-row{padding:10px 0}
.modal-actions{display:flex;gap:8px;flex-wrap:wrap}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%) translateY(24px);opacity:0;transition:.25s;z-index:300;background:#123b50;color:#fff;padding:11px 22px;border-radius:12px;font-size:12px;box-shadow:0 14px 30px #092d4f27;pointer-events:none;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:950px){.container{width:min(100% - 34px,800px)}
.hero-copy{padding:35px}
.hero-card{min-height:375px}
.hero-facts{gap:12px;flex-wrap:wrap}
.main-nav{gap:14px}
.booking-layout{grid-template-columns:1fr 250px}
.about-card{gap:16px}
}
@media(max-width:700px){.top-strip{font-size:10px}
.container{width:calc(100% - 28px)}
.site-header .header-inner{height:68px}
.brand{min-width:0}
.brand-title{font-size:14px}
.brand-sub{font-size:9px}
.brand-logo{width:42px;height:42px}
.main-nav{display:none}
.header-book{padding:9px 12px;font-size:11px}
.hero{padding-top:13px}
.hero-card{display:flex;flex-direction:column-reverse;border-radius:22px}
.hero-visual{height:205px;flex-shrink:0}
.hero-visual img{object-position:50% 47%}
.hero-bubble{bottom:13px;right:13px;padding:8px 11px}
.hero-bubble b{font-size:11px}
.hero-bubble small{font-size:9px}
.bubble-check{width:29px;height:29px}
.hero-copy{padding:23px 23px 27px}
.hero h1{font-size:29px;margin-top:9px}
.hero p{font-size:13px;line-height:1.9}
.hero-buttons .btn{flex:1;padding:12px 9px;font-size:12px}
.hero-facts{margin-top:21px;gap:12px}
.hero-facts span{font-size:10px}
.quick-info{grid-template-columns:1fr;gap:9px;margin:16px 0 38px}
.info-card{padding:13px 17px}
.info-icon{width:41px;height:41px}
.section-heading h2,.about-copy h2{font-size:22px}
.about-card{grid-template-columns:1fr;padding:15px;margin-bottom:38px}
.about-art{min-height:175px}
.about-copy{padding:3px 7px 14px}
.about-copy p{font-size:12px}
.services{margin-bottom:35px}
.services-grid{grid-template-columns:1fr;gap:12px}
.service-card{display:grid;grid-template-columns:110px 1fr;border-radius:15px}
.service-image{height:100%;min-height:120px}
.service-body{padding:13px 15px}
.service-body h3{font-size:14px}
.service-body p{font-size:11px;margin-bottom:9px}
.bottom-cta{padding:22px;display:block}
.bottom-cta h2{font-size:19px}
.bottom-cta .btn{margin-top:17px}
.footer-inner{flex-direction:column;align-items:flex-start;gap:15px}
.footer-actions{gap:12px;flex-wrap:wrap}
.inner-main{padding:22px 0 40px}
.inner-title h1,.admin-head h1{font-size:22px}
.booking-layout,.patient-layout{grid-template-columns:1fr}
.side-summary{position:static;order:-1}
.form-panel,.lookup-card,.lookup-result{padding:19px}
.field-grid{grid-template-columns:1fr}
.slot-list{grid-template-columns:repeat(3,1fr)}
.form-actions .btn{flex:1}
.stats{grid-template-columns:repeat(2,1fr);gap:9px}
.stat{padding:13px;gap:9px}
.stat-ico{width:38px;height:38px}
.stat strong{font-size:19px}
.admin-head{align-items:flex-start}
.admin-table-card{padding:14px}
.table-toolbar{flex-direction:column;align-items:stretch}
.toolbar-controls{display:flex}
.search-input{flex:1;min-width:0}
.bottom-cta .btn{width:100%}
}
@media(max-width:380px){.hero-buttons{flex-direction:column}
.slot-list{grid-template-columns:repeat(2,1fr)}
.btn{padding:11px 14px}
}


/* ─────────────────────────────────────────────────────────────
   Added by the Clinic desk — only what ChatGPT's page did not have:
   the English switch, the demo label, the private booking link,
   more statuses, inline errors, and left-to-right fixes.
   ───────────────────────────────────────────────────────────── */
/* The font ChatGPT's design asks for, shipped with the app (SIL Open Font
   License 1.1; downloaded once from Google Fonts, 2026-10-18 — no request to
   Google at runtime). Without it Macs fell back to Tahoma and iPhones to Arial. */
/* arabic */
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/noto-sans-arabic-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/noto-sans-arabic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body{font-family:'Noto Sans Arabic','SF Arabic','Geeza Pro','Segoe UI',Tahoma,Arial,sans-serif}
[hidden]{display:none!important}
.num{unicode-bidi:isolate;font-variant-numeric:tabular-nums}
[dir="ltr"] .ico.flip,[dir="rtl"] .ico.back{transform:scaleX(-1)}
.header-actions{display:flex;align-items:center;gap:8px}
.btn-lang{font-size:13px;padding:9px 0;border-radius:12px;min-width:44px;letter-spacing:.5px}
.top-strip .demo{opacity:.8}
.form-error{margin:0 0 18px;padding:12px 14px;border-radius:12px;background:#fff0f0;border:1px solid #ffdadb;color:#ae4d55;font-size:12px;font-weight:700;display:flex;gap:8px;align-items:center}
.field input[dir="ltr"]{text-align:right}
[dir="ltr"] .field input[dir="ltr"]{text-align:left}
.status-pill.arrived{background:#e6efff;color:#2a55b5}
.status-pill.done{background:#e2f8eb;color:#248657}
.status-pill.no_show{background:#eef2f5;color:#6b7c88}
.link-box{margin:0 auto 22px;max-width:460px;text-align:start;background:#f2f9fc;border:1px solid #d5edf0;border-radius:13px;padding:16px}
.link-box b{display:flex;align-items:center;gap:7px;font-size:13px;color:#075a72}
.link-box p{font-size:12px!important;line-height:1.9!important;margin:6px 0 10px!important}
.link-row{display:flex;gap:8px}
.link-row input{flex:1;min-width:0;border:1px dashed #a9d2e0;background:#fff;border-radius:10px;padding:9px 10px;font-size:12px;color:#075a72;font-family:monospace}
.confirm-box{margin-top:16px;padding:14px;border-radius:12px;background:#fff0f0;border:1px solid #ffdadb;color:#ae4d55;font-size:12px;font-weight:700}
.confirm-box .modal-actions{margin-top:10px}
.result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.mine-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e9f1f4;font-size:12px}
.mine-row:last-child{border-bottom:0}
.mine-row b{display:block;font-size:13px;color:#27475c}
.mine-row span{color:#718b9a}
.lookup-result h2{font-size:17px;margin:0 0 6px}
/* ChatGPT's inline style="" attributes, moved here so the server's
   Content-Security-Policy can forbid inline styles. Same values. */
.brand-logo-sm{width:39px;height:39px;border-radius:11px}
a.service-arrow{display:grid;place-items:center}
.field-date{max-width:260px;margin-bottom:16px}
.slot-list .empty-slots{grid-column:1/-1}
.notice-gap{margin-top:20px}
.btn-block{width:100%}
.admin-note-top{margin:0 0 14px}
/* hero photo of a person: keep the face in frame (desktop is tall, phone is a 205px strip) */
.hero-visual img.hero-person{object-position:50% 22%;filter:none}
@media(max-width:700px){.hero-visual{height:260px}.hero-visual img.hero-person{object-position:50% 18%}}
/* with a person in the photo, the card goes to the top corner (over the blurred
   wall), not over her arms — same corner in both languages, the photo doesn't flip */
.hero-bubble.on-photo,[dir="ltr"] .hero-bubble.on-photo{top:22px;bottom:auto;right:22px;left:auto}
@media(max-width:700px){.hero-bubble.on-photo,[dir="ltr"] .hero-bubble.on-photo{top:12px;right:12px;white-space:nowrap}}
/* header: title and subtitle as two tight lines (ChatGPT's <br> left a big gap) */
.brand br{display:none}
.brand-title,.brand-sub{display:block;line-height:1.35}
/* phone: ChatGPT put the summary above the form (order:-1), so "ملخص موعدك" showed first,
   empty. The owner asked why — the form comes first now, the summary after it. */
/* phone: the summary moves inside the form, above the send button (see renderSummary) */
.summary-inline{display:none}
@media(max-width:700px){aside.side-summary{display:none}.summary-inline{display:block;position:static;padding:16px 0 0;margin-top:22px;border-top:1px solid var(--line)}}
/* phone: ChatGPT's two no-wrap buttons at the foot of the form were wider than the screen
   and pushed the whole page 9px wide. Grid items may shrink; the send button goes on top. */
.booking-layout>*,.patient-layout>*{min-width:0}
@media(max-width:700px){.form-actions{flex-wrap:wrap;flex-direction:column-reverse}.form-actions .btn{width:100%;flex:none}}
/* reception — on top of ChatGPT's admin classes */
.rx-clinics{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;flex:1}
.chip{border:1px solid #cceaf2;background:#edf8fc;color:#076a7d;border-radius:99px;padding:7px 15px;font-size:12px;font-weight:800}
.chip[aria-pressed="false"]{opacity:.45}
.tag{display:inline-block;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:800;white-space:nowrap}
.tag-0{background:#e2f6f9;color:#076a7d}.tag-1{background:#fbeaf1;color:#a03565}.tag-2{background:#eeeafd;color:#5640b0}.tag-3{background:#fdf2e1;color:#9a5d00}
.rx-datenav{display:flex;align-items:center;gap:8px}
.rx-datenav h2{margin-inline-start:6px}
.rx-datenav p{margin-inline-start:6px!important}
.rx-pending{margin-bottom:24px;border-color:#f3e3bf;background:#fffdf7}
.pending-list{display:grid;gap:8px}
.pending-item{display:grid;grid-template-columns:130px 1fr auto auto auto;align-items:center;gap:12px;padding:11px 13px;border-radius:13px;background:#fff;border:1px solid #f1e6cc;font-size:12px}
.pending-item b{display:block;font-size:13px;color:#203f53}
.pending-item span{color:#718b9a}
.pi-actions{display:flex;gap:6px;flex-wrap:wrap}
.data-table tr.st-cancelled td,.data-table tr.st-rejected td,.data-table tr.st-no_show td{opacity:.55}
.data-table a{color:#076a7d;font-weight:700}
.modal{max-height:calc(100vh - 40px);overflow:auto}
.modal .field-grid{margin-bottom:6px}
.modal h4{font-size:14px;margin:6px 0 8px}
.history{margin:0 0 20px;padding-inline-start:20px;font-size:12px;color:#4a6477}
.history li{margin-bottom:6px}
.history small{display:block;color:#8194a0}
@media(max-width:950px){.pending-item{grid-template-columns:1fr auto}.pi-actions{grid-column:1/-1}.rx .rx-clinics{order:3;flex-basis:100%;justify-content:flex-start}.rx .site-header .header-inner{flex-wrap:wrap;height:auto;min-height:68px;padding:8px 0}}
@media(max-width:700px){.rx-datenav{flex-wrap:wrap}}
/* left-to-right: ChatGPT's page was Arabic only, so a few rules were written for RTL */
[dir="ltr"] .hero-bubble{right:auto;left:22px}
[dir="ltr"] .about-art .art-mini{left:auto;right:20px}
[dir="ltr"] .summary-row strong{text-align:right}
[dir="ltr"] .data-table{text-align:left}
[dir="ltr"] .notice .ico{margin-left:0;margin-right:4px}
[dir="ltr"] .hero-visual:after{background:linear-gradient(90deg,transparent 56%,rgba(255,255,255,.37))}
@media(max-width:700px){[dir="ltr"] .hero-bubble{left:13px}.btn-lang{padding:8px 0;font-size:12px;min-width:40px}}
