/* ── Booking Modal ───────────────────────────────────────────────── */
.bk-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.bk-overlay.open { display: flex; }

.bk-box {
  background: #111;
  border: 1px solid #c9a84c;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.bk-header {
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.bk-header h2 {
  color: #c9a84c;
  font-size: 1.1rem;
  margin: 0;
  font-family: 'Playfair Display', serif;
}
.bk-close {
  background: none;
  border: none;
  color: #666;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.bk-close:hover { color: #fff; }

/* Progress steps */
.bk-progress {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  gap: 0;
  flex-shrink: 0;
}
.bk-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid #333;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s;
}
.bk-dot.active { background: #c9a84c; border-color: #c9a84c; color: #000; }
.bk-dot.done   { background: #5a4a1a; border-color: #c9a84c; color: #c9a84c; }
.bk-line {
  flex: 1;
  height: 2px;
  background: #2a2a2a;
  transition: background .25s;
}
.bk-line.done { background: #c9a84c; }

/* Scrollable content area */
.bk-body {
  padding: 16px 24px 24px;
  overflow-y: auto;
  flex: 1;
}

.bk-step-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 16px;
}

/* Service cards */
.bk-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bk-svc {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color .2s, background .2s;
}
.bk-svc:hover, .bk-svc.selected {
  border-color: #c9a84c;
  background: #1e1b12;
}
.bk-svc .svc-name { color: #fff; font-weight: 600; font-size: .95rem; }
.bk-svc .svc-meta { color: #888; font-size: 12px; margin-top: 2px; }
.bk-svc .svc-price { color: #c9a84c; font-weight: 700; font-size: 1rem; white-space: nowrap; margin-left: 12px; }

/* Barber cards */
.bk-barbers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bk-barber {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s, background .2s;
}
.bk-barber:hover, .bk-barber.selected {
  border-color: #c9a84c;
  background: #1e1b12;
}
.bk-barber-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.bk-barber-name { color: #fff; font-weight: 600; }

/* Calendar */
.bk-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bk-cal-nav {
  background: #2a2a2a;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bk-cal-nav:hover { background: #3a3a3a; }
.bk-cal-nav:disabled { opacity: .3; cursor: default; }
.bk-cal-month { color: #fff; font-weight: 600; font-size: .95rem; }
.bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.bk-cal-dayname {
  text-align: center;
  color: #555;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 0;
  text-transform: uppercase;
}
.bk-cal-day {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.bk-cal-day:hover:not(:disabled) { border-color: #c9a84c; }
.bk-cal-day.today { border-color: #555; }
.bk-cal-day.selected { background: #c9a84c; border-color: #c9a84c; color: #000; font-weight: 700; }
.bk-cal-day:disabled { opacity: .25; cursor: default; }
.bk-cal-day.empty { background: transparent; border-color: transparent; cursor: default; }

/* Time slots */
.bk-slots-loading { color: #888; font-size: 14px; text-align: center; padding: 20px 0; }
.bk-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.bk-slot {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.bk-slot:hover, .bk-slot.selected {
  border-color: #c9a84c;
  background: #1e1b12;
}
.bk-slot.selected { background: #c9a84c; color: #000; font-weight: 700; }
.bk-slot .slot-start { font-size: .95rem; color: inherit; font-weight: 600; }
.bk-slot .slot-end   { font-size: 11px; color: #888; margin-top: 2px; }
.bk-slot.selected .slot-end { color: #5a4a00; }

/* Client form */
.bk-summary {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #aaa;
  line-height: 1.7;
}
.bk-summary strong { color: #fff; }
.bk-summary .bk-sum-gold { color: #c9a84c; font-weight: 700; }

.bk-form .bk-field {
  margin-bottom: 14px;
}
.bk-form label {
  display: block;
  color: #888;
  font-size: 12px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.bk-form input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: .95rem;
  box-sizing: border-box;
  transition: border-color .2s;
}
.bk-form input:focus {
  outline: none;
  border-color: #c9a84c;
}
.bk-form input::placeholder { color: #444; }

/* Confirmation */
.bk-confirm-icon { font-size: 56px; text-align: center; margin-bottom: 12px; }
.bk-confirm-title { color: #c9a84c; font-size: 1.2rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.bk-confirm-detail {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #bbb;
  line-height: 1.8;
}
.bk-confirm-detail strong { color: #fff; }
.bk-confirm-detail .gold { color: #c9a84c; }

/* Navigation footer */
.bk-footer {
  display: flex;
  gap: 10px;
  padding: 0 24px 20px;
  flex-shrink: 0;
}
.bk-btn-back {
  background: transparent;
  border: 1px solid #333;
  color: #888;
  padding: 11px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
}
.bk-btn-back:hover { border-color: #555; color: #fff; }
.bk-btn-next {
  flex: 1;
  background: #c9a84c;
  border: none;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
  transition: opacity .2s;
}
.bk-btn-next:disabled { opacity: .4; cursor: default; }
.bk-btn-wa {
  flex: 1;
  background: #25d366;
  border: none;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.bk-error {
  background: #2a1a1a;
  border: 1px solid #c9a84c33;
  color: #e55;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  display: none;
}
.bk-error.show { display: block; }

@media (max-width: 480px) {
  .bk-box { border-radius: 12px; }
  .bk-body { padding: 12px 16px 16px; }
  .bk-footer { padding: 0 16px 16px; }
  .bk-header { padding: 16px 16px 0; }
  .bk-progress { padding: 12px 16px; }
  .bk-slots-grid { grid-template-columns: repeat(3, 1fr); }
}
