/* ═══════════════════════════════════════════════════════════════
   Blade Barbershop — Booking modal styles (dark / gold theme)
   ═══════════════════════════════════════════════════════════════ */

.wbk-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 24px 16px;
  animation: wbk-fadein 200ms ease;
}
.wbk-overlay.open { display: flex; }

@keyframes wbk-fadein { from { opacity: 0 } to { opacity: 1 } }

.wbk-card {
  background: #111111;
  width: 100%; max-width: 560px;
  max-height: 90vh;
  border-radius: 4px;
  border: 1px solid rgba(198,168,75,0.18);
  box-shadow: 0 24px 64px rgba(0,0,0,0.8);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: wbk-rise 280ms cubic-bezier(0.16,1,0.3,1);
  font-family: 'Montserrat', system-ui, sans-serif;
}
@keyframes wbk-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.98) }
  to   { opacity: 1; transform: translateY(0)    scale(1)    }
}

/* ── Header / progress ───────────────────────────────────── */
.wbk-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(198,168,75,0.1);
  display: flex; align-items: center; gap: 12px;
  background: #1A1A1A;
  flex-shrink: 0;
}
.wbk-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 18px;
  letter-spacing: 0.08em;
  color: #F5F0E8;
}
.wbk-progress {
  margin-inline-start: auto;
  display: flex; align-items: center; gap: 6px;
}
.wbk-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(245,240,232,0.15);
  transition: background 200ms ease, transform 200ms ease;
}
.wbk-dot.active { background: #C6A84B; transform: scale(1.2) }
.wbk-dot.done   { background: #C6A84B }
.wbk-close {
  background: none; border: none; cursor: pointer;
  padding: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,0.55); font-size: 22px; line-height: 1;
  border-radius: 50%;
  transition: color 150ms ease, background 150ms ease;
}
.wbk-close:hover { color: #F5F0E8; background: rgba(245,240,232,0.07) }

/* ── Body (scrolls) ──────────────────────────────────────── */
.wbk-body {
  flex: 1; min-height: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 22px;
  background: #111111;
}

.wbk-step { display: none }
.wbk-step.active { display: block }

.wbk-step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.wbk-step-title::before {
  content: ''; width: 18px; height: 1px;
  background: #C6A84B;
}

/* ── Category tabs ───────────────────────────────────────── */
.wbk-cat-tabs {
  display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
  margin-bottom: 14px; padding-bottom: 4px;
}
.wbk-cat-tabs::-webkit-scrollbar { display: none }
.wbk-cat-tab {
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid rgba(198,168,75,0.22);
  border-radius: 2px;
  background: transparent;
  color: rgba(245,240,232,0.55);
  cursor: pointer; white-space: nowrap;
  transition: all 150ms ease;
}
.wbk-cat-tab:hover  { border-color: #C6A84B; color: #C6A84B }
.wbk-cat-tab.active { background: #C6A84B; border-color: #C6A84B; color: #080808 }

/* ── Category headers in list ────────────────────────────── */
.wbk-cat-head {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.35);
  padding: 14px 0 8px;
  border-bottom: 1px solid rgba(198,168,75,0.08);
  margin-bottom: 6px;
}
.wbk-cat-head.first { padding-top: 0 }

/* ── Service item ────────────────────────────────────────── */
.wbk-svc {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(198,168,75,0.1);
  border-radius: 4px;
  background: #1A1A1A;
  cursor: pointer;
  transition: border-color 150ms ease;
  margin-bottom: 8px;
}
.wbk-svc:hover  { border-color: rgba(198,168,75,0.45) }
.wbk-svc.chosen { border-color: #C6A84B; background: rgba(198,168,75,0.07) }
.wbk-svc-add {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; border: 1.5px solid rgba(245,240,232,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: rgba(245,240,232,0.3);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.wbk-svc-add::after { content: '+'; }
.wbk-svc.chosen .wbk-svc-add { background: #C6A84B; border-color: #C6A84B; color: #080808; }
.wbk-svc.chosen .wbk-svc-add::after { content: '✓'; }

.wbk-addons-section {
  margin: 2px 0 4px 20px;
  border-left: 2.5px solid rgba(198,168,75,0.3);
  border-radius: 0 4px 4px 0;
  overflow: hidden;
}
.wbk-addons-label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.07em; font-weight: 700;
  color: #C6A84B; padding: 6px 12px 4px; opacity: 0.7;
}
.wbk-svc--addon {
  margin: 0; border-radius: 0;
  border-left: none; border-right: none;
  border-top: 1px solid rgba(198,168,75,0.07);
  border-bottom: none; background: #161616;
}
.wbk-svc--addon:last-child { border-radius: 0 0 4px 0; }
.wbk-svc--addon:hover { background: rgba(198,168,75,0.04); }
.wbk-svc--addon.chosen { background: rgba(198,168,75,0.06); }
.wbk-svc-info { flex: 1; min-width: 0 }
.wbk-svc-name {
  font-size: 14px; font-weight: 500; color: #F5F0E8; line-height: 1.3;
}
.wbk-svc-name .ar {
  font-family: 'Tajawal', sans-serif; font-weight: 400;
  color: rgba(198,168,75,0.7); margin-inline-start: 6px; font-size: 12px;
}
.wbk-svc-meta { font-size: 12px; color: rgba(245,240,232,0.38); margin-top: 3px; }
.wbk-svc-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 400; color: #F5F0E8; flex-shrink: 0;
}
.wbk-svc-price .sar {
  font-size: 10px; color: rgba(245,240,232,0.38);
  margin-inline-start: 3px; letter-spacing: 0.06em;
  font-family: 'Montserrat', sans-serif;
}
.wbk-svc-price--disc {
  display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
}
.wbk-price-line1 {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 400; color: rgba(245,240,232,0.3);
}
.wbk-price-old { text-decoration: line-through; }
.wbk-discount-badge {
  background: #C6A84B; color: #080808;
  font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 2px; letter-spacing: 0.04em;
}
.wbk-svc-desc { font-size: 11px; color: rgba(245,240,232,0.35); margin-top: 3px; line-height: 1.4; }

/* ── Staff cards ─────────────────────────────────────────── */
.wbk-staff {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(198,168,75,0.1);
  border-radius: 4px; background: #1A1A1A;
  cursor: pointer; margin-bottom: 8px;
  transition: border-color 150ms ease;
}
.wbk-staff:hover  { border-color: rgba(198,168,75,0.45) }
.wbk-staff.chosen { border-color: #C6A84B; background: rgba(198,168,75,0.07) }
.wbk-staff-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(198,168,75,0.12); color: #C6A84B;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 17px;
  flex-shrink: 0;
}
.wbk-staff-info { flex: 1; min-width: 0 }
.wbk-staff-name { font-size: 14px; font-weight: 500; color: #F5F0E8 }
.wbk-staff-role { font-size: 12px; color: rgba(245,240,232,0.4); margin-top: 2px }

/* ── Selected pill (date step) ───────────────────────────── */
.wbk-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; margin-bottom: 14px;
  border-radius: 2px;
  background: rgba(198,168,75,0.08);
  border: 1px solid rgba(198,168,75,0.2);
  color: rgba(198,168,75,0.9); font-size: 12px; font-weight: 500;
  letter-spacing: 0.03em;
}
.wbk-pill .sep { opacity: 0.35; margin: 0 4px }

/* ── Date chips ──────────────────────────────────────────── */
.wbk-dates {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 6px;
}
.wbk-dates::-webkit-scrollbar { display: none }
.wbk-date {
  flex-shrink: 0;
  min-width: 64px; padding: 10px 12px;
  border: 1px solid rgba(198,168,75,0.12);
  border-radius: 4px; background: #1A1A1A;
  cursor: pointer; text-align: center;
  transition: border-color 150ms ease;
}
.wbk-date:hover  { border-color: rgba(198,168,75,0.45) }
.wbk-date.chosen { border-color: #C6A84B; background: rgba(198,168,75,0.08) }
.wbk-date-day {
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(245,240,232,0.38);
}
.wbk-date-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: #F5F0E8;
  line-height: 1.2; margin: 3px 0;
}
.wbk-date-mon {
  font-size: 9px; color: rgba(245,240,232,0.38);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ── Time slots ──────────────────────────────────────────── */
.wbk-times {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
}
.wbk-time {
  width: 100%; padding: 14px 18px;
  border: 1px solid rgba(198,168,75,0.12);
  border-radius: 4px; background: #1A1A1A;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 400;
  text-align: left; color: #F5F0E8; cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.wbk-time:hover  { border-color: rgba(198,168,75,0.45); }
.wbk-time.chosen { background: #C6A84B; border-color: #C6A84B; color: #080808; font-weight: 500; }

/* ── Customer form ───────────────────────────────────────── */
.wbk-form { display: flex; flex-direction: column; gap: 12px }
.wbk-field { display: flex; flex-direction: column; gap: 5px }
.wbk-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,240,232,0.38);
}
.wbk-input {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; padding: 12px 14px;
  border: 1px solid rgba(198,168,75,0.16);
  border-radius: 4px; background: #1A1A1A; color: #F5F0E8;
  transition: border-color 150ms ease; width: 100%;
}
.wbk-input:focus { outline: none; border-color: #C6A84B }
.wbk-input::placeholder { color: rgba(245,240,232,0.28) }
.wbk-input.error { border-color: #C6A84B }
textarea.wbk-textarea { resize: vertical; min-height: 64px; line-height: 1.5 }

.wbk-summary {
  background: #1A1A1A;
  border: 1px solid rgba(198,168,75,0.1);
  border-radius: 4px; padding: 14px 16px; margin-bottom: 16px;
}
.wbk-summary-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; font-size: 13px;
}
.wbk-summary-row + .wbk-summary-row { border-top: 1px solid rgba(245,240,232,0.05) }
.wbk-summary-key {
  flex-shrink: 0; min-width: 70px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(245,240,232,0.35); padding-top: 3px;
}
.wbk-summary-val { flex: 1; color: #F5F0E8; font-weight: 500 }
.wbk-summary-val.price {
  font-family: 'Cormorant Garamond', serif; font-size: 18px;
  color: #C6A84B; font-weight: 400;
}

/* ── Confirmation ────────────────────────────────────────── */
.wbk-success { text-align: center; padding: 26px 12px 8px; }
.wbk-tick {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: #C6A84B; color: #080808;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; line-height: 1;
  box-shadow: 0 8px 24px rgba(198,168,75,0.25);
}
.wbk-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; color: #F5F0E8;
  margin-bottom: 8px; letter-spacing: 0.02em;
}
.wbk-success p {
  font-size: 14px; color: rgba(245,240,232,0.55);
  line-height: 1.6; max-width: 360px; margin: 0 auto;
}

/* ── Footer / actions ────────────────────────────────────── */
.wbk-foot {
  padding: 14px 22px 16px;
  border-top: 1px solid rgba(198,168,75,0.1);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: #1A1A1A; flex-shrink: 0;
}
.wbk-back, .wbk-next {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 2px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
  border: none;
}
.wbk-back {
  background: transparent; color: rgba(245,240,232,0.38); padding: 11px 14px;
}
.wbk-back:hover { color: #F5F0E8 }
.wbk-back:disabled { visibility: hidden }
.wbk-next {
  background: #C6A84B; color: #080808;
}
.wbk-next:hover  { background: #D4B85A }
.wbk-next:disabled { opacity: 0.35; cursor: not-allowed }
.wbk-next:active { transform: scale(0.98) }

/* ── Service search ──────────────────────────────────────── */
.wbk-svc-search-wrap { position: relative; margin-bottom: 14px; }
.wbk-svc-search-icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); color: rgba(245,240,232,0.28);
  pointer-events: none; font-size: 15px;
}
.wbk-svc-search {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; width: 100%;
  padding: 10px 12px 10px 34px;
  border: 1px solid rgba(198,168,75,0.16);
  border-radius: 4px; background: #1A1A1A; color: #F5F0E8;
  transition: border-color 150ms ease;
}
.wbk-svc-search:focus { outline: none; border-color: #C6A84B; }
.wbk-svc-search::placeholder { color: rgba(245,240,232,0.28); }
.wbk-svc-search::-webkit-search-cancel-button { cursor: pointer; }
.wbk-svc-empty {
  padding: 24px 0; text-align: center;
  font-size: 13px; color: rgba(245,240,232,0.3);
}

/* ── Package card ────────────────────────────────────────── */
.wbk-pkg {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(198,168,75,0.2);
  border-radius: 4px; background: rgba(198,168,75,0.04);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
  margin-bottom: 8px;
}
.wbk-pkg:hover  { border-color: rgba(198,168,75,0.5); background: rgba(198,168,75,0.08) }
.wbk-pkg.chosen { border-color: #C6A84B; background: rgba(198,168,75,0.1) }
.wbk-pkg-pricing {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0;
}
.wbk-pkg-original {
  font-size: 11px; color: rgba(245,240,232,0.3);
  text-decoration: line-through; font-family: 'Cormorant Garamond', serif;
}
.wbk-pkg-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 400; color: #C6A84B;
}
.wbk-pkg-price .sar {
  font-size: 10px; color: rgba(198,168,75,0.55);
  margin-inline-start: 3px; letter-spacing: 0.06em;
  font-family: 'Montserrat', sans-serif;
}
.wbk-pkg-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  padding: 2px 6px; border-radius: 2px; background: #C6A84B; color: #080808;
}

/* ── Package / multi-service staff assignment ────────────── */
.wbk-pkg-assign-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(245,240,232,0.05);
}
.wbk-pkg-assign-row:last-child { border-bottom: none }
.wbk-pkg-assign-label {
  font-size: 13px; font-weight: 500; color: #F5F0E8; margin-bottom: 8px;
}
.wbk-pkg-assign-label .ar {
  font-family: 'Tajawal', sans-serif; font-weight: 400;
  color: rgba(198,168,75,0.7); margin-inline-start: 5px; font-size: 12px;
}
.wbk-pkg-assign-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; }
.wbk-staff-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 10px 8px; min-width: 72px;
  border: 1.5px solid rgba(198,168,75,0.12);
  border-radius: 4px; background: #1A1A1A;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.wbk-staff-card:hover  { border-color: rgba(198,168,75,0.45); }
.wbk-staff-card.chosen { border-color: #C6A84B; background: rgba(198,168,75,0.07); }
.wbk-staff-photo {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background: rgba(198,168,75,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wbk-staff-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wbk-staff-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; color: rgba(198,168,75,0.5);
}
.wbk-staff-card-name {
  font-size: 11px; font-weight: 500; color: #F5F0E8;
  text-align: center; white-space: nowrap; max-width: 80px;
  overflow: hidden; text-overflow: ellipsis;
}
.wbk-staff-card.chosen .wbk-staff-card-name { color: #C6A84B; }

/* ── Mobile tweaks ───────────────────────────────────────── */
@media (max-width: 520px) {
  .wbk-overlay { padding: 0; align-items: flex-end }
  .wbk-card    { max-height: 92vh; border-radius: 8px 8px 0 0; border-bottom: none; }
  .wbk-body    { padding: 18px }
}

/* ── Cursor override for sites using custom cursors (e.g. blade) ─────────────
   booking.css has cursor:pointer on interactive elements, which would override
   * { cursor: none } in the host site. This suppresses native cursor inside
   the modal so the host's custom cursor system keeps full control. */
@media (hover: hover) {
  .wbk-overlay, .wbk-overlay * { cursor: none !important; }
}
