/* ─── GOOGLE FONT (default Inter; overridden by --bn-font-url if set) ──────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── THEME VARIABLES ──────────────────────────────────────────────────────── */
/*
  All theme tokens live here. Override via wp_add_inline_style() in the wrapper.
  Customer-facing tokens (the ones exposed in Settings → Appearance):
    --bn-accent          Primary brand color (buttons, selected states, borders)
    --bn-accent-hover    Hover / darker shade of accent
    --bn-accent-light    Very light tint of accent (selected card bg, focus rings)
    --bn-sidebar-bg      Sidebar background
    --bn-font            Font-family string (must be loaded separately if not Inter)
    --bn-radius          Base border radius for cards / inputs (e.g. 16px)
    --bn-btn-radius      Border radius for buttons (e.g. 14px)

  Derived tokens (auto-computed from above; no need to expose in Settings):
    --bn-accent-rgb      RGB triplet of accent, used for rgba() shadows & rings
    --bn-sidebar-rgb     RGB triplet of sidebar, used for the overlay modal
*/

:root {
  /* ── Accent ── */
  --bn-accent: #d4824f;
  --bn-accent-hover: #c96f38;
  --bn-accent-light: #fff8f4;
  --bn-accent-rgb: 212, 130, 80;
  /* must match --bn-accent as R,G,B */

  /* ── Sidebar ── */
  --bn-sidebar-bg: #0f0f1a;
  --bn-sidebar-rgb: 15, 15, 26;
  /* must match --bn-sidebar-bg as R,G,B */

  /* ── Typography ── */
  --bn-font: 'Inter', sans-serif;

  /* ── Radius ── */
  --bn-radius: 16px;
  /* cards, inputs */
  --bn-btn-radius: 14px;
  /* buttons, tabs */

  /* ── Font size ── */
  --bn-font-size: 14px;

  /* ── Gradient-capable backgrounds (fallback = solid value) ── */
  --bn-accent-css: var(--bn-accent);
  --bn-sidebar-css: var(--bn-sidebar-bg);

  /* ── Border (toggle-controlled) ── */
  --bn-border-w: 2px;
  --bn-border-solid: var(--bn-border);
  --bn-border-img: none;

  --bn-btn-bg:           var(--bn-accent);
  --bn-btn-text:         #ffffff;
  --bn-btn-border-color: transparent;
  --bn-btn-border-w:     0px;
  --bn-btn-pad-y:        13px;
  --bn-btn-pad-x:        24px;

  /* ── Neutral palette (not exposed; derived from accent tone) ── */
  --bn-bg-main: #faf9f7;
  /* card backgrounds */
  --bn-bg-subtle: #f5f3ef;
  /* tab bar, badge bg */
  --bn-border: #ede9e3;
  /* card / input borders */
  --bn-text: #0f0f1a;
  /* headings, values */
  --bn-text-muted: #9ca3af;
  /* labels, subtitles */
  --bn-text-mid: #6b7280;
  /* secondary text */
  --bn-text-body: #374151;
  /* body copy */
}

/* ─── RESET ─────────────────────────────────────── */
.bn-wrap * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── OUTER WRAPPER ─────────────────────────────── */
.bn-wrap {
  font-family: var(--bn-font);
  font-size: var(--bn-font-size);
  display: flex;
  max-width: 980px;
  margin: 32px auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12), 0 4px 20px rgba(0, 0, 0, 0.06);
  background: #fff;
  min-height: 560px;
}

/* ─── SIDEBAR ───────────────────────────────────── */
.bn-sidebar {
  width: 280px;
  flex-shrink: 0;
background: var(--bn-sidebar-css);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.bn-sidebar::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--bn-accent-rgb), 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.bn-sidebar::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--bn-accent-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Brand */
.bn-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.bn-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--bn-accent), var(--bn-accent-hover));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.bn-brand-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Steps */
.bn-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.bn-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.28);
  transition: all 0.3s;
  cursor: default;
  position: relative;
}

.bn-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: all 0.3s;
}

.bn-step-item.active {
  background: rgba(var(--bn-accent-rgb), 0.15);
  color: var(--bn-accent);
  font-weight: 500;
}

.bn-step-item.active .bn-step-dot {
  background: var(--bn-accent-css);
  box-shadow: 0 0 0 3px rgba(var(--bn-accent-rgb), 0.25);
}

.bn-step-item.done {
  color: rgba(255, 255, 255, 0.45);
}

.bn-step-item.done .bn-step-dot {
  background: rgba(255, 255, 255, 0.3);
}

.bn-sidebar-footer {
  margin-top: 24px;
}

.bn-secure {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── MAIN ──────────────────────────────────────── */
.bn-main {
  flex: 1;
  padding: 36px 36px 32px;
  background: #fff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ─── PANEL ─────────────────────────────────────── */
.bn-panel {
  animation: bnSlideIn 0.3s ease;
}

@keyframes bnSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bn-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.bn-step-badge {
  width: 40px;
  height: 40px;
  background: var(--bn-bg-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #888;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.bn-panel-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--bn-text);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bn-panel-header p {
  font-size: 13px;
  color: var(--bn-text-muted);
  margin-top: 3px;
}

/* ─── TABS ──────────────────────────────────────── */
.bn-tabs {
  display: flex;
  gap: 4px;
  background: var(--bn-bg-subtle);
  padding: 4px;
  border-radius: var(--bn-btn-radius);
  margin-bottom: 20px;
  width: fit-content;
}

.bn-tab {
  padding: 8px 20px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: #888;
  transition: all 0.2s;
  font-family: var(--bn-font);
}

.bn-tab.active {
  background: #fff;
  color: var(--bn-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ─── LOCATION GRID ─────────────────────────────── */
.bn-location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.bn-loc-card {
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  border-radius: var(--bn-radius);
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bn-bg-main);
}

.bn-loc-card:hover {
  border-color: var(--bn-accent);
  background: #fff;
}

.bn-loc-card.selected {
  border-color: var(--bn-accent);
  background: var(--bn-accent-light);
}

.bn-loc-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.bn-loc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bn-text);
}

.bn-loc-addr {
  font-size: 12px;
  color: var(--bn-text-muted);
  margin-top: 2px;
}

/* ─── SERVICE GRID ──────────────────────────────── */
.bn-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.bn-svc-card {
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  border-radius: var(--bn-radius);
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bn-bg-main);
  position: relative;
}

.bn-svc-card:hover {
  border-color: var(--bn-accent);
  background: #fff;
  transform: translateY(-2px);
}

.bn-svc-card.selected {
  border-color: var(--bn-accent);
  background: var(--bn-accent-light);
}

.bn-svc-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: var(--bn-accent-css);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 22px;
  text-align: center;
}

.bn-svc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bn-text);
  margin-bottom: 6px;
}

.bn-svc-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bn-svc-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--bn-text-mid);
  background: #f3f4f6;
  padding: 3px 8px;
  border-radius: 20px;
}

.bn-svc-tag.price {
  background: #f0fdf4;
  color: #16a34a;
}

.bn-svc-tag.duration {
  background: #eff6ff;
  color: #2563eb;
}

/* ─── EVENT GRID (pick step) ────────────────────── */
.bn-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.bn-evt-card {
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  border-radius: var(--bn-radius);
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bn-bg-main);
  position: relative;
  overflow: hidden;
}

.bn-evt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bn-accent-css);
  border-radius: 2px 0 0 2px;
}

.bn-evt-card:hover {
  border-color: var(--bn-accent);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--bn-accent-rgb), 0.12);
}

.bn-evt-card.selected {
  border-color: var(--bn-accent);
  background: var(--bn-accent-light);
  box-shadow: 0 8px 24px rgba(var(--bn-accent-rgb), 0.15);
}

.bn-evt-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: var(--bn-accent-css);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.bn-evt-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bn-text);
  margin-bottom: 8px;
  padding-left: 8px;
}

.bn-evt-dates {
  font-size: 12px;
  color: var(--bn-text-muted);
  padding-left: 8px;
}

.bn-evt-capacity {
  display: inline-block;
  margin-top: 8px;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 500;
  background: var(--bn-accent-light);
  color: var(--bn-accent);
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(var(--bn-accent-rgb), 0.2);
}

/* ─── STAFF GRID ────────────────────────────────── */
.bn-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.bn-staff-card {
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  border-radius: var(--bn-radius);
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bn-bg-main);
  text-align: center;
  position: relative;
}

.bn-staff-card:hover {
  border-color: var(--bn-accent);
  background: #fff;
}

.bn-staff-card.selected {
  border-color: var(--bn-accent);
  background: var(--bn-accent-light);
}

.bn-staff-card.selected::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  background: var(--bn-accent-css);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.bn-staff-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bn-accent), var(--bn-accent-hover));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.bn-staff-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--bn-text);
}

/* ─── DATE & TIME (Appointment) ─────────────────── */
.bn-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--bn-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.bn-date-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: var(--bn-radius);
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  background: var(--bn-bg-main);
  font-size: 15px;
  font-family: var(--bn-font);
  color: var(--bn-text);
  cursor: pointer;
  transition: all 0.2s;
}

.bn-date-input:focus {
  border-color: var(--bn-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--bn-accent-rgb), 0.1);
  background: #fff;
}

.bn-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.bn-time-chip {
  padding: 10px 8px;
  border-radius: 12px;
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  background: var(--bn-bg-main);
  font-size: 13px;
  font-weight: 500;
  color: var(--bn-text-body);
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
}

.bn-time-chip:hover {
  border-color: var(--bn-accent);
  background: var(--bn-accent-light);
  color: var(--bn-accent);
}

.bn-time-chip.selected {
  border-color: var(--bn-accent);
  background: var(--bn-accent-css);
  color: #fff;
}

.bn-time-chip.full {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
}

/* ─── EVENT DATE+TIME CARDS ─────────────────────── */
.bn-event-dt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.bn-edt-card {
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  border-radius: var(--bn-radius);
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bn-bg-main);
  position: relative;
}

.bn-edt-card:hover:not(.full) {
  border-color: var(--bn-accent);
  background: #fff;
  transform: translateY(-2px);
}

.bn-edt-card.selected {
  border-color: var(--bn-accent);
  background: var(--bn-accent-light);
  box-shadow: 0 6px 20px rgba(var(--bn-accent-rgb), 0.15);
}

.bn-edt-card.full {
  opacity: 0.45;
  cursor: not-allowed;
}

.bn-edt-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: var(--bn-accent-css);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.bn-edt-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--bn-accent);
  margin-bottom: 4px;
}

.bn-edt-time {
  font-size: 18px;
  font-weight: 700;
  color: var(--bn-text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bn-edt-seats {
  font-size: 12px;
  color: var(--bn-text-mid);
  margin-bottom: 8px;
}

.bn-edt-bar-wrap {
  height: 5px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.bn-edt-bar {
  height: 5px;
  border-radius: 3px;
  transition: width 0.3s;
}

.bn-edt-bar.ok {
  background: #22c55e;
}

.bn-edt-bar.mid {
  background: #f59e0b;
}

.bn-edt-bar.low {
  background: #ef4444;
}

.bn-edt-full-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ─── SEATS ─────────────────────────────────────── */
.bn-seats-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 16px;
}

.bn-seats-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  background: var(--bn-bg-main);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bn-text-body);
  transition: all 0.2s;
  line-height: 1;
}

.bn-seats-btn:hover {
  border-color: var(--bn-accent);
  color: var(--bn-accent);
  background: var(--bn-accent-light);
}

.bn-seats-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bn-seats-count {
  font-size: 48px;
  font-weight: 700;
  color: var(--bn-text);
  letter-spacing: -0.04em;
  min-width: 60px;
  text-align: center;
  line-height: 1;
}

.bn-seats-bar-wrap {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 0 12px;
}

.bn-seats-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--bn-accent-css);
  transition: width 0.3s;
}

.bn-seats-info {
  font-size: 13px;
  color: var(--bn-text-muted);
  text-align: center;
}

/* ─── DETAILS ───────────────────────────────────── */
.bn-summary {
  background: var(--bn-bg-subtle);
  border-radius: var(--bn-radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--bn-text-body);
  line-height: 1.7;
  border-left: 4px solid var(--bn-accent);
}

.bn-summary strong {
  color: var(--bn-text);
}

.bn-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bn-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: var(--bn-radius);
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  background: var(--bn-bg-main);
  font-size: 14px;
  font-family: var(--bn-font);
  color: var(--bn-text);
  transition: all 0.2s;
}

.bn-input:focus {
  border-color: var(--bn-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--bn-accent-rgb), 0.1);
  background: #fff;
}

.bn-payment-wrap {
  margin-top: 4px;
}

.bn-payment-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.bn-payment-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--bn-radius);
  border: var(--bn-border-w) solid var(--bn-border-solid);
  border-image: var(--bn-border-img) 1;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bn-bg-main);
}

.bn-payment-opt:hover {
  border-color: var(--bn-accent);
}

.bn-payment-opt.selected {
  border-color: var(--bn-accent);
  background: var(--bn-accent-light);
}

.bn-payment-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  flex-shrink: 0;
  transition: all 0.2s;
}

.bn-payment-opt.selected .bn-payment-radio {
  border-color: var(--bn-accent);
  background: var(--bn-accent-css);
  box-shadow: inset 0 0 0 3px #fff;
}

.bn-payment-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bn-text);
}

.bn-payment-desc {
  font-size: 12px;
  color: var(--bn-text-muted);
}

/* ─── BUTTONS ───────────────────────────────────── */
.bn-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}



/* ─── LOADING ───────────────────────────────────── */
.bn-loading {
  color: var(--bn-text-muted);
  font-size: 13px;
  padding: 16px 0;
}

.bn-btn-primary,
.bn-btn-ghost,
.bn-btn-confirm {
  padding: var(--bn-btn-pad-y) var(--bn-btn-pad-x);
  border-radius: var(--bn-btn-radius);
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--bn-font);
  cursor: pointer;
  transition: all 0.22s;
  letter-spacing: 0.01em;
}

.bn-btn-primary,
.bn-btn-confirm {
  flex: 1;
  background: var(--bn-btn-bg);
  color: var(--bn-btn-text);
  border: var(--bn-btn-border-w) solid var(--bn-btn-border-color);
  box-shadow: 0 4px 16px rgba(var(--bn-accent-rgb), 0.25);
}

.bn-btn-primary:hover,
.bn-btn-confirm:hover {
  filter: brightness(0.93);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(var(--bn-accent-rgb), 0.4);
}

/* Disabled / not-yet-selectable Continue buttons */
.bn-btn-primary:disabled,
.bn-btn-primary.bn-btn-disabled {
  background: #cbccd6;
  color: #ffffff;
  border: none;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  filter: none;
}

.bn-btn-primary:disabled:hover,
.bn-btn-primary.bn-btn-disabled:hover {
  background: #cbccd6;
  transform: none;
  box-shadow: none;
  filter: none;
}

.bn-btn-ghost {
  background: var(--bn-bg-subtle);
  color: var(--bn-text-mid);
}

.bn-btn-ghost:hover {
  background: var(--bn-border);
}

/* ─── SUCCESS MODAL ─────────────────────────────── */
#bnSuccess {
  position: fixed;
  inset: 0;
  background: rgba(var(--bn-sidebar-rgb), 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.bn-success-box {
  background: #fff;
  border-radius: 24px;
  padding: 44px 40px;
  text-align: center;
  width: 340px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
  animation: bnPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bnPop {
  from {
    transform: scale(0.75);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.bn-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--bn-accent), var(--bn-accent-hover));
  border-radius: 50%;
  font-size: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.bn-success-box h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--bn-text);
  margin-bottom: 8px;
}

.bn-success-box p {
  font-size: 14px;
  color: var(--bn-text-mid);
}

/* ─── MOBILE ────────────────────────────────────── */
@media (max-width: 768px) {
  .bn-wrap {
    flex-direction: column;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }

  .bn-sidebar {
    width: 100%;
    padding: 16px 16px 12px;
    flex-direction: column;
  }

  .bn-brand {
    margin-bottom: 16px;
  }

  .bn-steps {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 4px;
  }

  .bn-step-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 10px;
    font-size: 12px;
  }

  .bn-sidebar-footer {
    display: none;
  }

  .bn-main {
    padding: 20px 16px;
  }

  .bn-service-grid,
  .bn-event-grid,
  .bn-location-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bn-event-dt-grid {
    grid-template-columns: 1fr;
  }

  .bn-time-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {

  .bn-service-grid,
  .bn-event-grid,
  .bn-location-grid {
    grid-template-columns: 1fr;
  }
}