/* The cookie banner (26 November 2026): the same minimal bar as westcountrydigital.com's, at the foot of the page, in
   CareSimplify's navy with the pink pill buttons. Colours come from theme.css. The choices open above the buttons.
   assets/js/cookies.js builds it */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--ever-2);color:rgba(255,255,255,.8);border-top:3px solid var(--lime);box-shadow:0 -8px 30px rgba(var(--shadow-rgb)/.22);max-height:100dvh;overflow-y:auto;font-family:"Poppins","Segoe UI",Arial,sans-serif}
/* It rises into view, since on the first page it only appears once the visitor scrolls */
.cookie-bar:not(.in-dialog){animation:cookie-rise .35s cubic-bezier(.2,.7,.2,1)}
@keyframes cookie-rise{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.cookie-bar:not(.in-dialog){animation:none}}
.cookie-bar .cookie-inner{display:grid;grid-template-columns:1fr auto;gap:14px 40px;align-items:center;padding-block:20px}
.cookie-copy h2{font-size:1.15rem;line-height:1.3;font-weight:700;letter-spacing:0;color:#fff;margin:0}
.cookie-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.cookie-bar .cookie-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:150px;min-height:48px;margin:0;padding:12px 24px;border:2px solid var(--lime);border-radius:999px;background:var(--lime);color:var(--on-accent);font:700 .95rem/1.2 "Poppins","Segoe UI",Arial,sans-serif;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s}
.cookie-bar .cookie-btn:hover{background:var(--lime-2);border-color:var(--lime-2);color:var(--on-accent)}
.cookie-bar .cookie-btn.outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.cookie-bar .cookie-btn.outline:hover{background:#fff;border-color:#fff;color:var(--ever-2)}
.cookie-bar .cookie-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cookie-bar :focus-visible{outline:3px solid #fff;outline-offset:3px}
.cookie-options{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr auto;gap:14px 26px;align-items:start;border-top:1px solid rgba(255,255,255,.16);padding-top:16px}
.cookie-options[hidden]{display:none}
.cookie-options .cookie-btn{align-self:end}
.cookie-choice{display:flex;gap:12px;align-items:flex-start;cursor:pointer;margin:0;font-size:.85rem;color:rgba(255,255,255,.8)}
.cookie-choice input{width:20px;height:20px;margin:2px 0 0;flex:none;accent-color:var(--lime)}
.cookie-choice input:disabled{cursor:default}
.cookie-choice strong{display:flex;gap:10px;align-items:baseline;color:#fff;font-size:.9rem;font-weight:600}
.cookie-choice em{font-style:normal;font-weight:600;font-size:.7rem;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:.06em}
.cookie-choice small{display:block;font-weight:400;margin-top:3px;font-size:.8rem;line-height:1.55;color:rgba(255,255,255,.75)}
/* On the /book and /referral pages the bar sits inside the booking pop-up, which is the whole page there */
.cookie-bar.in-dialog{position:sticky;left:auto;right:auto;margin-top:18px;box-shadow:none;border-radius:0 0 16px 16px;max-height:none;overflow:visible}
.cookie-bar.in-dialog .cookie-inner{grid-template-columns:1fr;padding:18px 22px}
.cookie-bar.in-dialog .cookie-actions{justify-content:flex-start}
.cookie-bar.in-dialog .cookie-options{grid-template-columns:1fr}
.cookie-bar.in-dialog .cookie-options .cookie-btn{justify-self:start}
/* Cookie settings sits in the footer's row of links and looks like them */
.cp .ftr .ftr__links .cookie-settings-link{appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:var(--ever);cursor:pointer}
.cp .ftr .ftr__links .cookie-settings-link:hover{text-decoration:underline;text-underline-offset:5px}
@media (max-width:950px){.cookie-bar .cookie-inner{grid-template-columns:1fr}.cookie-actions{justify-content:flex-start}.cookie-options{grid-template-columns:1fr}.cookie-options .cookie-btn{justify-self:start}}
@media (max-width:700px){.cookie-bar .cookie-inner{padding-block:16px}.cookie-copy h2{font-size:1.05rem}.cookie-actions{display:grid;grid-template-columns:1fr 1fr}.cookie-bar .cookie-btn{min-width:0;width:100%;padding-inline:14px}.cookie-options .cookie-btn{width:100%}}
@media print{.cookie-bar{display:none}}
