/* SFVS online booking widget. Colours follow the page it sits in. */
#sfvs-booking { scroll-margin-top: 130px; max-width: 720px; margin: 1.5rem auto 2rem; min-height: 60vh; text-align: left; color: #283e56; }
#sfvs-booking h2, #sfvs-booking h3 { color: #283e56; text-shadow: none; }
#sfvs-booking a { color: #283e56; text-decoration: underline; }
.bk-emergency { background: #fff4e5; border: 1px solid #f0c27b; border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1rem; }
.bk-card { background: #fff; border: 1px solid #d9dee3; border-radius: 10px; padding: 1.25rem; }
.bk-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 1rem; outline: none; }
.bk-back { background: none; border: 0; padding: 0; margin-bottom: .5rem; color: inherit; text-decoration: underline; cursor: pointer; }
.bk-list { display: grid; gap: .6rem; }
.bk-choice { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #b9c2cb; border-radius: 8px; padding: .8rem 1rem; cursor: pointer; }
.bk-choice:hover, .bk-choice:focus-visible, .bk-time:hover, .bk-time:focus-visible { border-color: #283e56; box-shadow: 0 0 0 2px rgba(40, 62, 86, .3); outline: none; }
.bk-choice-name { display: block; font-weight: 600; }
.bk-choice-blurb { display: block; font-size: .9rem; opacity: .8; }
.bk-day { font-size: 1rem; font-weight: 600; margin: 1.1rem 0 .5rem; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.bk-time { background: #fff; border: 1px solid #b9c2cb; border-radius: 8px; padding: .55rem .25rem; cursor: pointer; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; margin-bottom: 1rem; }
.bk-wide { grid-column: 1 / -1; }
.bk-field label { display: block; font-weight: 600; margin-bottom: .2rem; }
.bk-field input, .bk-field select, .bk-field textarea { width: 100%; border: 1px solid #b9c2cb; border-radius: 6px; padding: .5rem .6rem; font: inherit; background: #fff; }
.bk-field [aria-invalid="true"] { border-color: #a4161a; }
.bk-hint { margin: 0 0 .35rem; font-size: .92rem; color: #4a5560; }
.bk-error { color: #a4161a; font-size: .9rem; min-height: 1.1rem; }
.bk-suggest { margin-top: .25rem; border: 1px solid #b9c2cb; border-radius: 6px; background: #fff; overflow: hidden; }
.bk-suggest[hidden] { display: none; }
.bk-suggest-item { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #e6eaee; padding: .55rem .6rem; font: inherit; color: #283e56; cursor: pointer; }
.bk-suggest-item:hover, .bk-suggest-item[aria-selected="true"] { background: #eef2f6; }
.bk-suggest-main { display: block; font-weight: 600; }
.bk-suggest-rest { display: block; font-size: .9rem; opacity: .8; }
.bk-suggest-by { padding: .3rem .6rem; text-align: right; font-family: Roboto, sans-serif; font-size: 12px; font-weight: 400; color: #5e5e5e; white-space: nowrap; }
.bk-check { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.bk-trap { display: none; }
.bk-summary { font-weight: 600; }
.bk-notice { background: #fdecea; border: 1px solid #f1a9a0; border-radius: 8px; padding: .6rem .8rem; }
.bk-urgent { background: #fdecea; border: 2px solid #a4161a; border-radius: 8px; padding: .8rem 1rem; margin-bottom: 1rem; }
.bk-urgent strong { display: block; font-size: 1.15rem; margin-bottom: .35rem; }
.bk-urgent p { margin: 0 0 .5rem; }
.bk-urgent b { overflow-wrap: anywhere; }
.bk-urgent p:last-child { margin-bottom: 0; }
.bk-review { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin-bottom: 1rem; }
.bk-review dt { font-weight: 600; }
.bk-review dd { margin: 0; overflow-wrap: anywhere; }
.bk-main { margin-top: .5rem; background: #283e56; border-color: #283e56; color: #fff; padding: .6rem 1.4rem; border-radius: 8px; }
.bk-main:hover, .bk-main:focus-visible { background: #1c2d40; border-color: #1c2d40; color: #fff; }
.bk-main:disabled { opacity: .5; cursor: not-allowed; }
.bk-bot { min-height: 65px; margin-bottom: .25rem; }
.bk-choice, .bk-time { color: #283e56; }
.bk-phones a { font-weight: 600; }
.bk-busy { display: flex; justify-content: center; padding: 1.5rem 0; }
.bk-spinner { width: 2rem; height: 2rem; border: 3px solid #d9dee3; border-top-color: #283e56; border-radius: 50%; animation: bk-spin .8s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
@media (max-width: 540px) { .bk-grid { grid-template-columns: 1fr; } .bk-review { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bk-spinner { animation-duration: 3s; } }
#sfvs-booking a[href^="tel:"] { white-space: nowrap; }
