/* Repair appointment page (rendez-vous.html) — same look as the quote / client-space pages */
.bk-hero { padding-bottom: 22px; }
.bk-card { max-width: 860px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .35); }
.bk-load { display: grid; place-items: center; min-height: 220px; }
.bk-load i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #dbe4f0; border-top-color: var(--accent, #2563eb); animation: bk-spin .8s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
.bk-h { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.bk-h:first-child, .bk-note + .bk-h { margin-top: 0; }
.bk-note + .bk-h { margin-top: 18px; }
.bk-h span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eff6ff; color: #1d4ed8; font-size: 13px; }
.bk-note { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fffbeb; color: #92400e; font-size: 14.5px; line-height: 1.5; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bk-days button, .bk-slots button { font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.bk-days button { flex: none; width: 78px; padding: 9px 4px; text-align: center; scroll-snap-align: start; }
.bk-days button:hover:not(:disabled), .bk-slots button:hover:not(:disabled) { border-color: #93c5fd; transform: translateY(-1px); }
.bk-days b { display: block; font-size: 21px; line-height: 1.2; }
.bk-days small { display: block; font-size: 12px; color: var(--muted); text-transform: capitalize; }
.bk-days button:disabled { opacity: .45; cursor: not-allowed; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bk-slots button { padding: 11px 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-slots button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.bk-days .on, .bk-slots .on { border-color: var(--accent, #2563eb) !important; background: #eff6ff !important; color: #1d4ed8 !important; }
.bk-days .on small { color: #1d4ed8; }
.bk-form { display: grid; gap: 14px; position: relative; }
.bk-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.bk-form input, .bk-form textarea { font: inherit; font-weight: 400; width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: inherit; }
.bk-form input:focus, .bk-form textarea:focus { outline: none; border-color: var(--accent, #2563eb); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bk-err { margin: 0; min-height: 1.2em; color: #dc2626; font-size: 14px; }
.bk-go { justify-self: start; min-height: 48px; padding-inline: 26px; }
.bk-done { text-align: center; padding: 18px 0 6px; }
.bk-done h2 { margin: 12px 0 6px; font-size: 22px; }
.bk-done__ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 28px; font-weight: 700; }
.bk-when { margin: 0; font-size: 16px; text-transform: capitalize; }
.bk-muted { margin: 14px 0 6px; color: var(--muted); }
.bk-num { display: inline-block; font-size: 22px; letter-spacing: .04em; background: #f1f5f9; border-radius: 12px; padding: 6px 16px; }
.bk-done__act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.bk-link { background: none; border: 0; color: #dc2626; cursor: pointer; font: inherit; text-decoration: underline; }
@media (max-width: 560px) { .bk-row { grid-template-columns: 1fr; } .bk-go { justify-self: stretch; } .bk-days button { width: 70px; } }
@media (prefers-reduced-motion: reduce) { .bk-load i { animation-duration: 3s; } .bk-days button, .bk-slots button { transition: none; } }
/* centred layout: the calendar is the whole page */
.bk-hero { text-align: center; } .bk-hero .crumbs { justify-content: center; } .bk-hero p { margin-inline: auto; }
.bk-card { margin-inline: auto; }
/* appointment type, person, format */
.bk-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-types button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; text-align: start; padding: 14px 16px; font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.bk-types i { grid-row: span 2; font-style: normal; font-size: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f1f5f9; }
.bk-types b { font-size: 15px; } .bk-types small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.bk-types button:hover { border-color: #93c5fd; }
.bk-types .on { border-color: var(--accent, #2563eb); background: #eff6ff; } .bk-types .on i { background: #dbeafe; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: 14px; color: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: border-color .2s, background .2s; }
.bk-chips button:hover { border-color: #93c5fd; }
.bk-chips .on { border-color: var(--accent, #2563eb); background: #eff6ff; color: #1d4ed8; }
.bk-av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #22d3ee); color: #fff; font-size: 12px; }
.bk-what { margin: 8px 0 0; font-weight: 600; color: #1d4ed8; }
@media (max-width: 560px) { .bk-types { grid-template-columns: 1fr; } }
