/* Patient online booking: a single narrow column, large touch targets, same colours as the staff app. */
body.portal { margin:0; background:#f2f4f8; color:#161616; font-family:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size:16px; line-height:1.5; }
.pt-top { background:var(--c-header,#005d5d); color:#fff; padding:14px 16px; }
.pt-top div { max-width:720px; margin:0 auto; display:flex; align-items:center; gap:10px; font-weight:600; font-size:18px; }
.pt-top form { margin-left:auto; } .pt-top button { background:transparent; border:1px solid #9ed7d7; color:#fff; border-radius:6px; padding:6px 12px; font:inherit; font-size:14px; cursor:pointer; }
.pt { max-width:720px; margin:0 auto; padding:20px 16px 48px; }
.pt h1 { font-size:24px; margin:0 0 6px; } .pt h2 { font-size:18px; margin:0 0 10px; }
.pt-card { background:#fff; border:1px solid #dde4ee; border-radius:10px; padding:18px; margin:0 0 16px; }
.pt-muted { color:#525252; font-size:14px; }
.pt label { display:block; font-weight:600; font-size:14px; margin:14px 0 6px; }
.pt input, .pt select { width:100%; box-sizing:border-box; min-height:46px; padding:8px 12px; border:1px solid #8d8d8d; border-radius:8px; font:inherit; background:#fff; }
.pt input:focus, .pt select:focus, .pt button:focus-visible, .pt a:focus-visible { outline:3px solid #0f62fe; outline-offset:2px; }
.pt-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:8px 20px; border-radius:8px; border:0; background:var(--c-header,#005d5d); color:#fff; font:inherit; font-weight:600; text-decoration:none; cursor:pointer; margin-top:16px; }
.pt-btn:disabled { background:#8d8d8d; cursor:not-allowed; } .pt-btn.alt { background:#fff; color:var(--c-header,#005d5d); border:1.5px solid var(--c-header,#005d5d); margin-top:0; }
.pt-btn.danger { background:#fff; color:#a2191f; border:1.5px solid #a2191f; margin-top:0; min-height:40px; }
.pt-alert { padding:12px 14px; border-radius:8px; margin:0 0 16px; font-size:15px; } .pt-alert.err { background:#fff1f1; color:#a2191f; border:1px solid #ffb3b8; } .pt-alert.ok { background:#defbe6; color:#0e6027; border:1px solid #a7f0ba; }
.pt-appt { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; justify-content:space-between; padding:12px 0; border-top:1px solid #e5e8ee; } .pt-appt:first-of-type { border-top:0; }
.pt-appt strong { display:block; } .pt-actions { display:flex; gap:8px; flex-wrap:wrap; }
.pt-status { display:inline-block; padding:2px 10px; border-radius:12px; font-size:13px; font-weight:600; background:#fcf4d6; color:#684e00; } .pt-status.booked { background:#defbe6; color:#0e6027; }
.pt-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.pt-chip { min-height:44px; min-width:76px; padding:6px 14px; border-radius:22px; border:1.5px solid #198038; background:#f1faf4; color:#0e6027; font:inherit; font-weight:600; cursor:pointer; }
.pt-chip[aria-pressed="true"] { background:#198038; color:#fff; }
.pt-note { font-size:13px; color:#525252; margin-top:12px; }
@media (max-width:480px) { .pt h1 { font-size:21px; } .pt-actions .pt-btn { flex:1; } }

.pt-actions .pt-btn { margin-top:0; }
.pt-top span:first-child { font-weight:700; }
