/* Booking: public card, private page, agency dashboard. Matches the existing sidecards and account screens. */
.k2m-book__tz { margin: 0 0 .8rem; font-size: .9rem; color: var(--k2m-muted, #5a6480); }
.k2m-book__dates, .k2m-book__times { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 .9rem; }
.k2m-chipbtn { min-height: 44px; padding: 0 14px; border: 1.5px solid #d5daea; border-radius: 12px; background: #fff; color: #0b1533; font: 600 14px var(--k2m-font, inherit); cursor: pointer; }
.k2m-chipbtn:hover { border-color: #2340f5; } .k2m-chipbtn[aria-pressed="true"] { background: #0b1533; color: #fff; border-color: #0b1533; }
.k2m-chipbtn:focus-visible, .k2m-book input:focus-visible, .k2m-book textarea:focus-visible { outline: 3px solid #2340f5; outline-offset: 2px; }
.k2m-book__form { display: grid; gap: 8px; } .k2m-book__form[hidden], .k2m-book__times[hidden] { display: none; }
.k2m-book__form label { font: 600 14px var(--k2m-font, inherit); }
.k2m-book__form input[type=text], .k2m-book__form input[type=email], .k2m-book__form input[type=tel], .k2m-book__form textarea { width: 100%; min-height: 46px; padding: 8px 12px; border: 1.5px solid #d5daea; border-radius: 10px; font: 400 16px var(--k2m-font, inherit); }
.k2m-book__consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; }
.k2m-book__chosen { margin: 0; font-weight: 700; color: #0b1533; }
.k2m-book__msg { margin: .6rem 0 0; font: 600 14px/1.5 var(--k2m-font, inherit); color: #0b1533; } .k2m-book__msg.is-bad { color: #b3261e; }
.k2m-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k2m-bookpage, .k2m-bookdash { max-width: 760px; margin: 0 auto; padding: 0 0 3rem; }
.k2m-bookpage__facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 1rem 0; } .k2m-bookpage__facts dt { font-weight: 700; } .k2m-bookpage__facts dd { margin: 0; }
.k2m-bookpage__cancel { margin: 1rem 0; }
.k2m-bookdash h2 { font: 800 24px var(--k2m-display, inherit); letter-spacing: -.02em; margin: 2rem 0 .8rem; }
.k2m-bookdash__form { display: grid; gap: 14px; background: #fff; border: 1px solid #e3e7f3; border-radius: 16px; padding: 20px; }
.k2m-bookdash__form label { display: grid; gap: 6px; font: 600 14px var(--k2m-font, inherit); } .k2m-bookdash__on { display: flex !important; align-items: center; gap: 10px; }
.k2m-bookdash__form input[type=number], .k2m-bookdash__form input[type=text], .k2m-bookdash__form input[type=time], .k2m-bookdash__form select, .k2m-bookdash__form textarea { min-height: 46px; padding: 6px 10px; border: 1.5px solid #d5daea; border-radius: 10px; font: 400 16px var(--k2m-font, inherit); max-width: 100%; }
.k2m-bookdash__form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .k2m-bookdash__form legend { font: 800 13px var(--k2m-font, inherit); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 6px; }
.k2m-bookdash__day { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; } .k2m-bookdash__day > label:first-child { display: flex; gap: 8px; align-items: center; min-width: 140px; }
.k2m-bookdash__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.k2m-bookdash__row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #e3e7f3; flex-wrap: wrap; }
.k2m-bookdash__past { padding-left: 1.1rem; color: #5a6480; } .k2m-bookdash__cal { font-size: 14px; color: #5a6480; }
.k2m-pill { display: inline-block; font: 700 11px var(--k2m-font, inherit); background: #eef0f7; color: #3d4766; padding: 3px 9px; border-radius: 999px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .k2m-bookdash__form { padding: 16px; } .k2m-bookdash__row form { width: 100%; } .k2m-bookdash__row .k2m-btn { width: 100%; } }

/* Method choice on the public form */
.k2m-book__methods { border: 0; padding: 0; margin: 0 0 4px; display: grid; gap: 8px; } .k2m-book__methods legend { font: 700 14px var(--k2m-font, inherit); padding-bottom: 6px; }
.k2m-opt { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #d5daea; border-radius: 12px; padding: 12px 14px; background: #fff; cursor: pointer; min-height: 56px; }
.k2m-opt:has(input:checked) { border-color: #2340f5; background: #f5f7ff; } .k2m-opt input { margin-top: 4px; }
.k2m-opt span { display: grid; gap: 2px; } .k2m-opt b { font: 700 15px var(--k2m-font, inherit); color: #0b1533; } .k2m-opt small { font: 400 13px var(--k2m-font, inherit); color: #46506d; }
.k2m-book__how { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f5f7ff; font: 400 13px/1.5 var(--k2m-font, inherit); color: #0b1533; } .k2m-book__how:empty { display: none; }
.k2m-book__method { margin: 0; }
.k2m-book__msg--warn { background: #fff8e0; border: 1px solid #ffd23f; border-radius: 10px; padding: 10px 14px; color: #6b4e00; font-weight: 500; }
.k2m-pill--type { background: #e8edff; color: #1528b8; }

/* Availability settings (agency dashboard) */
.k2m-bk { display: grid; gap: 16px; margin: 1rem 0 2rem; }
.k2m-bk__title { margin: 0 0 .2rem !important; }
.k2m-bk .acct-sec { margin: 0; }
.k2m-bk__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 14px; }
.k2m-bk__row { display: grid; gap: 6px; margin: 12px 0 0; } .k2m-bk__row[hidden] { display: none; }
.k2m-bk__row > label { font: 700 14px var(--k2m-font, inherit); color: #0b1533; }
.k2m-bk input[type=url], .k2m-bk input[type=text], .k2m-bk input[type=time], .k2m-bk input[type=date], .k2m-bk select { width: 100%; min-height: 48px; padding: 6px 12px; border: 1.5px solid #d5daea; border-radius: 12px; font: 400 16px var(--k2m-font, inherit); background: #fff; color: #0b1533; box-sizing: border-box; }
.k2m-bk input:focus-visible, .k2m-bk select:focus-visible, .k2m-bk button:focus-visible { outline: 3px solid #2340f5; outline-offset: 2px; }
.k2m-bk__help { margin: 0; font: 400 13px/1.5 var(--k2m-font, inherit); color: #46506d; }
.k2m-bk__days { display: grid; gap: 8px; margin: 12px 0; }
.k2m-bk__day { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 12px; border: 1px solid #e3e7f3; border-radius: 12px; background: #fff; min-height: 56px; }
.k2m-bk__day.is-off { background: #f6f7fb; } .k2m-bk__day.is-off .k2m-bk__times input { opacity: .5; }
.k2m-bk__times { display: flex; align-items: center; gap: 8px; } .k2m-bk__times input[type=time] { width: 128px; }
.k2m-bk__copy { margin-top: 4px; }
.k2m-bk__chips { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .k2m-bk__chips legend { font: 700 14px var(--k2m-font, inherit); padding: 0 0 8px; width: 100%; }
.k2m-chipopt input { position: absolute; opacity: 0; width: 1px; height: 1px; } .k2m-chipopt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #d5daea; border-radius: 12px; background: #fff; font: 600 14px var(--k2m-font, inherit); color: #0b1533; cursor: pointer; }
.k2m-chipopt input:checked + span { background: #0b1533; color: #fff; border-color: #0b1533; } .k2m-chipopt input:focus-visible + span { outline: 3px solid #2340f5; outline-offset: 2px; }
.k2m-bk__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.k2m-bk__datepick { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 12px; } .k2m-bk__datepick input[type=date] { width: auto; flex: 1 1 200px; }
ul.k2m-bk__dates { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.k2m-bk__dates li { display: inline-flex; align-items: center; gap: 4px; padding: 0 0 0 14px; border-radius: 999px; background: #eef1ff; color: #1528b8; font: 600 14px var(--k2m-font, inherit); }
.k2m-bk__dates li button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #0b1533; font-size: 18px; line-height: 1; cursor: pointer; }
.k2m-bk__save { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0)); }
.k2m-bk__feed { border: 1px solid #e3e7f3; border-radius: 16px; padding: 16px 20px; background: #fff; margin: 1rem 0; } .k2m-bk__feed h2 { margin: 0 0 8px !important; font-size: 18px !important; }
.k2m-bk__feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .k2m-bk__feed li { font: 400 14px/1.5 var(--k2m-font, inherit); } .k2m-bk__feed li.is-new { background: #f5f7ff; border-radius: 10px; padding: 6px 10px; }
.k2m-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; }
.k2m-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.k2m-switch__t { width: 46px; height: 26px; border-radius: 999px; background: #c5cbe0; position: relative; flex: none; transition: background .15s; } .k2m-switch__t::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.k2m-switch input:checked + .k2m-switch__t { background: #2340f5; } .k2m-switch input:checked + .k2m-switch__t::after { transform: translateX(20px); } .k2m-switch input:focus-visible + .k2m-switch__t { outline: 3px solid #2340f5; outline-offset: 2px; }
.k2m-switch__l { font: 600 15px var(--k2m-font, inherit); color: #0b1533; }
.k2m-bk__h { font: 800 24px var(--k2m-display, inherit); letter-spacing: -.02em; margin: 2rem 0 .8rem; }
@media (max-width: 600px) { .k2m-bk__day { flex-direction: column; align-items: stretch; } .k2m-bk__times input[type=time] { width: 100%; } .k2m-bk__times { width: 100%; } .k2m-bk__save .k2m-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .k2m-switch__t, .k2m-switch__t::after { transition: none; } }
/* Keep focused fields clear of the sticky Save bar */
html:has(.k2m-bk) { scroll-padding-bottom: 120px; }
.k2m-bk { padding-bottom: 8px; }
.k2m-bk .k2m-bk__day, .k2m-bk input, .k2m-bk select, .k2m-bk button { scroll-margin-bottom: 120px; }
/* Never let a wide field push the form past the screen edge */
.k2m-bk { grid-template-columns: minmax(0, 1fr); } .k2m-bk > *, .k2m-bk .acct-sec, .k2m-bk__row, .k2m-bk__grid > * { min-width: 0; } .k2m-bk input, .k2m-bk select { max-width: 100%; }
.k2m-bk .k2m-btn, .k2m-bookdash .k2m-btn { white-space: normal; height: auto; min-height: 48px; max-width: 100%; text-align: center; padding-block: 10px; }
