/* request forms (cms/forms.js); uses the site's own colour tokens, with fallbacks for pages that lack them */
.req { --f-line: var(--line-2, rgba(255,255,255,.18)); --f-dim: var(--dim, #96B6C7); --f-ink: var(--ink, #fff); --f-accent: var(--teal, #4AD5FD);
  display: grid; gap: 18px; text-align: start; max-width: 860px; margin: 48px auto 0; }
.req-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.req label { display: grid; gap: 6px; font-family: var(--display, inherit); font-size: 13.5px; color: var(--f-dim); }
.req input, .req textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--f-ink); background: rgba(255,255,255,.04);
  border: 1px solid var(--f-line); border-radius: 10px; padding: 12px 14px; }
.req textarea { resize: vertical; min-height: 84px; }
.req input:focus, .req textarea:focus { outline: 2px solid var(--f-accent); outline-offset: 1px; border-color: transparent; }
.req input[type="tel"], .req input[type="email"] { direction: ltr; text-align: start; }
html[dir="rtl"] .req input[type="tel"], html[dir="rtl"] .req input[type="email"] { text-align: right; }
.req { position: relative; }
/* the bot trap: invisible and out of reach, without pushing the page sideways (a far-off left offset widened RTL pages by 10,000px) */
.req .req-hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.req .req-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.req button[disabled] { opacity: .6; cursor: progress; }
.req .req-done, .req .req-fail, .req .req-need { margin: 0; font-size: 15px; }
.req .req-done { color: var(--f-accent); }
.req .req-fail, .req .req-need { color: #FFB4A8; }
.req .req-fail a { color: inherit; }
.req.sent .req-row, .req.sent > label, .req.sent .req-foot button { display: none; }
.qresult .req { margin-top: 22px; max-width: none; }

/* 2 Nov 2026: the visit's preferred day and time, as chips (cms/forms.js fills them from settings.booking) */
.req .req-when { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.req .req-when legend { padding: 0; margin-bottom: 4px; font-family: var(--display, inherit); font-weight: 700; font-size: 16px; color: var(--f-ink); }
.req .req-when-help, .req .req-when-sub { margin: 0; font-size: 13.5px; color: var(--f-dim); }
.req .req-when-sub { font-family: var(--display, inherit); }
.req .req-times-wrap { display: grid; gap: 8px; }
.req .req-times-wrap[hidden] { display: none; }
.req .req-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.req .req-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.req label.req-chip { position: relative; display: block; gap: 0; font-size: inherit; color: var(--f-ink); cursor: pointer; min-width: 0; }
/* the real radio covers its chip (so it takes clicks and focus) but is invisible: nothing sits off-screen */
.req .req-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.req .req-chip > span { display: grid; justify-items: center; align-content: center; gap: 0; min-height: 44px; padding: 8px 6px; text-align: center; line-height: 1.25;
  border: 1px solid var(--f-line); border-radius: 12px; background: rgba(255,255,255,.04); transition: background .2s, border-color .2s, color .2s; }
.req .req-day > span { padding: 9px 4px 8px; }
.req .req-day small { font-size: 12px; color: var(--f-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.req .req-day b { font-family: var(--display, inherit); font-size: 22px; font-weight: 800; line-height: 1.15; }
.req .req-time > span { font-family: var(--display, inherit); font-weight: 700; font-size: 15px; white-space: nowrap; }
.req .req-chip:hover > span { border-color: var(--f-dim); }
.req .req-chip input:focus-visible + span { outline: 2px solid var(--f-accent); outline-offset: 2px; }
.req .req-chip input:checked + span { background: var(--f-accent); border-color: var(--f-accent); color: #00243A; }
.req .req-chip input:checked + span small { color: inherit; opacity: .8; }
html[data-theme="light"] .req .req-chip > span { background: #FFFFFF; }
html[data-theme="light"] .req .req-chip input:checked + span { background: var(--f-accent); color: #FFFFFF; }
.req .req-when-chosen { margin: 2px 0 0; font-size: 15px; color: var(--f-ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.req .req-when-chosen[hidden] { display: none; }
.req .req-when-chosen b { color: var(--f-accent); font-weight: 700; }
.req .req-when-clear { font: inherit; font-size: 13.5px; color: var(--f-dim); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.req .req-when-clear:hover { color: var(--f-ink); }
.req .req-when-need { margin: 0; font-size: 15px; color: #FFB4A8; }
html[data-theme="light"] .req .req-when-need, html[data-theme="light"] .req .req-fail, html[data-theme="light"] .req .req-need { color: #B3392F; }
.req.sent .req-when { display: none; }
@media (max-width: 480px) {
  .req .req-days { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .req .req-times { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .req .req-time > span { font-size: 14px; padding-inline: 2px; }
}
/* the consent line above the send button (cms/forms.js, 6 Nov 2026) */
.req-consent { margin: 4px 0 10px; font-size: 13px; line-height: 1.6; color: var(--dim, #96B6C7); }
.req-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.req-consent a:hover { color: var(--ink, #fff); }
