/* Counselling booking: uses the site tokens (navy / gold) from site.css */

/* hero "how it works" card */
.cs-steps { border-radius: 22px; padding: 30px; color: #fff; box-shadow: var(--bic-shadow-hover);
  background: radial-gradient(500px 220px at 100% 0, rgba(254, 196, 27, .22), transparent 60%), linear-gradient(135deg, var(--bic-navy), var(--bic-navy-2)); }
.cs-steps .bic-eyebrow { color: var(--bic-gold); }
.cs-steps ol { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.cs-steps li { margin: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.cs-steps li > span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bic-gold); color: var(--bic-navy); font-weight: 800; flex-shrink: 0; }
.cs-steps strong { display: block; font-size: 16px; color: #fff; }
.cs-steps small { display: block; font-size: 13px; color: rgba(255, 255, 255, .75); }

/* panel + steps */
.cs-panel { padding: 36px; }
.cs-step-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.cs-step-head + * { margin-bottom: 36px; }
.cs-step-head > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bic-navy); color: #fff; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.cs-step-head h2 { font-size: 22px !important; margin: 0 0 2px !important; font-family: 'Helvetica', Arial, sans-serif; font-weight: 700; color: var(--bic-ink); }
.cs-step-head p { margin: 0; font-size: 14px; color: var(--bic-muted); }
.cs-fields { --bs-gutter-y: 18px; --bs-gutter-x: 18px; }
.cs-fields .bic-field > label { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--bic-ink); font-weight: 600; }
.cs-panel .is-invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .1) !important; }

/* date + time picker */
.cs-pick { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.cs-cal, .cs-times { border: 1px solid var(--bic-line); border-radius: 18px; padding: 20px; background: #fff; }
.cs-cal.is-invalid { border-color: #dc2626; }
.cs-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cs-cal__title { font-size: 18px; color: var(--bic-ink); }
.cs-cal__nav { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--bic-line); background: #fff; color: var(--bic-navy); display: grid; place-items: center; font-size: 18px; transition: background .2s, border-color .2s; }
.cs-cal__nav:hover:not(:disabled) { border-color: var(--bic-navy); background: var(--bic-tint); }
.cs-cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.cs-cal__dow, .cs-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cs-cal__dow { margin-bottom: 6px; }
.cs-cal__dow span { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bic-muted); padding: 4px 0; }
.cs-cal__dow span:nth-child(n+6) { color: #b8c1d6; }
.cs-day { aspect-ratio: 1 / 1; border-radius: 12px; border: 1px solid transparent; background: var(--bic-tint); color: var(--bic-ink); font-size: 15px; font-weight: 600; display: grid; place-items: center; transition: background .15s, color .15s, border-color .15s, transform .15s; padding: 0; }
.cs-day:hover:not(:disabled) { border-color: var(--bic-navy); background: #fff; transform: translateY(-1px); }
.cs-day.is-today { border-color: var(--bic-gold); }
.cs-day.is-selected, .cs-day.is-selected:hover:not(:disabled) { background: var(--bic-navy); color: #fff; border-color: var(--bic-navy); }
.cs-day.is-off { background: transparent; color: #c3cbdc; font-weight: 500; cursor: default; }
.cs-day.is-empty { background: transparent; }

.cs-times { display: flex; flex-direction: column; }
.cs-times__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; min-height: 40px; }
.cs-times__head strong { font-size: 18px; color: var(--bic-ink); }
.cs-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; flex: 1; }
.cs-slots .slot { height: 52px; border-radius: 12px; border: 1px solid var(--bic-line); background: #fff; color: var(--bic-navy); font-size: 15px; font-weight: 700; transition: background .15s, color .15s, border-color .15s; }
.cs-slots .slot:hover:not(:disabled) { border-color: var(--bic-navy); background: var(--bic-tint); }
.cs-slots .slot.active, .cs-slots .slot.active:hover:not(:disabled) { background: var(--bic-navy); color: #fff; border-color: var(--bic-navy); }
.cs-slots .slot.disabled { background: var(--bic-tint); color: #b8c1d6; text-decoration: line-through; cursor: not-allowed; }
.cs-placeholder { grid-column: 1 / -1; margin: 0; padding: 36px 16px; border: 1px dashed var(--bic-line); border-radius: 14px; text-align: center; color: var(--bic-muted); font-size: 15px; }
.cs-placeholder i { display: block; font-size: 26px; color: #b8c1d6; margin-bottom: 8px; }
.cs-placeholder--full { padding: 14px; border-style: solid; background: #fff8e6; color: #7a5a00; }
.cs-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--bic-muted); }
.cs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cs-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1px solid var(--bic-line); }
.cs-legend i.sel { background: var(--bic-navy); border-color: var(--bic-navy); }
.cs-legend i.taken { background: var(--bic-tint); }

/* footer row */
.cs-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--bic-line); }
.cs-summary { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--bic-muted); }
.cs-summary i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bic-tint); color: var(--bic-navy); font-size: 18px; flex-shrink: 0; }
.cs-summary strong { color: var(--bic-ink); }
.cs-summary.is-set i { background: #fff4d1; color: #7a5a00; }

/* alerts + success */
.cs-alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-size: 15px; font-weight: 600; }
.cs-alert--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.cs-done { text-align: center; padding: 56px 24px; max-width: 760px; margin: 0 auto; }
.cs-done__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #e8f7ef; color: #15803d; font-size: 32px; }
.cs-done h2 { font-size: 30px; color: var(--bic-navy); margin: 0 0 10px; }
.cs-done p { color: var(--bic-text); font-size: 17px; margin: 0 0 24px; }

@media (max-width: 991px) {
  .cs-pick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .cs-panel { padding: 20px; }
  .cs-cal, .cs-times { padding: 14px; }
  .cs-cal__dow, .cs-cal__grid { gap: 4px; }
  .cs-day { border-radius: 10px; font-size: 14px; }
  .cs-steps { padding: 22px; }
  .cs-foot .bic-btn { width: 100%; }
}
