.bb-booking, .bb-manage {
  --bb-bg: var(--bg-soft, #100d1d);
  --bb-surface: var(--surface, #161228);
  --bb-surface-2: var(--surface-2, #1d1833);
  --bb-line: var(--line, rgba(245,241,236,0.11));
  --bb-line-strong: var(--line-strong, rgba(245,241,236,0.2));
  --bb-violet: var(--violet, #8265f6);
  --bb-magenta: var(--magenta, #e6479f);
  --bb-gold: var(--gold, #e8a93f);
  --bb-text: var(--text, #f4f0ea);
  --bb-text-muted: var(--text-muted, #b6accf);
  --bb-text-dim: var(--text-dim, #8579a6);
  max-width: 640px;
  margin: 0 auto;
  color: var(--bb-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.bb-hidden { display: none !important; }
.bb-h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.6rem; margin: 0 0 8px; color: var(--bb-text); }
.bb-sub { color: var(--bb-text-muted); font-size: 0.92rem; margin-bottom: 22px; }
.bb-muted { color: var(--bb-text-dim); font-size: 0.9rem; }

.bb-svc-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.bb-svc-card { border: 1px solid var(--bb-line); border-radius: 16px; padding: 18px 20px; background: var(--bb-surface); }
.bb-svc-name { font-family: 'Fraunces', serif; font-size: 1.08rem; margin-bottom: 12px; }
.bb-svc-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.bb-svc-opt {
  flex: 1; min-width: 120px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--bb-line);
  background: var(--bb-surface-2); color: var(--bb-text); font-weight: 600; font-size: 0.86rem; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.bb-svc-opt:hover { border-color: var(--bb-violet); background: rgba(130,101,246,0.14); }
.bb-enh-note { font-size: 0.78rem; color: var(--bb-text-dim); margin-top: 20px; line-height: 1.6; }

.bb-back-link { background: none; border: none; color: var(--bb-text-dim); font-size: 0.82rem; cursor: pointer; padding: 0; margin-bottom: 14px; text-decoration: underline; }
.bb-back-link:hover { color: var(--bb-text); }

.bb-field { margin-bottom: 16px; }
.bb-field label { display: block; font-size: 0.82rem; color: var(--bb-text-dim); margin-bottom: 6px; }
.bb-field input, .bb-field textarea {
  width: 100%; background: var(--bb-surface); border: 1px solid var(--bb-line); color: var(--bb-text);
  padding: 12px 14px; border-radius: 10px; font-family: inherit; font-size: 0.92rem;
}
.bb-field input:focus, .bb-field textarea:focus { border-color: var(--bb-gold); outline: none; }
.bb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.bb-card-element {
  background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 10px;
  padding: 14px; transition: border-color .2s ease;
}
.bb-card-element.StripeElement--focus { border-color: var(--bb-gold); }
.bb-card-element.StripeElement--invalid { border-color: #d9534f; }
.bb-policy-note {
  font-size: 0.8rem; color: var(--bb-text-dim); margin: 14px 0; line-height: 1.5;
  padding: 12px 14px; background: var(--bb-surface); border-radius: 10px; border: 1px solid var(--bb-line);
}
.bb-policy-title {
  display: block; font-size: 0.85rem; color: var(--bb-text); margin-bottom: 8px; letter-spacing: 0.02em;
}
.bb-checkbox-field {
  display: flex; align-items: flex-start; gap: 10px; margin: 16px 0;
  font-size: 0.82rem; color: var(--bb-text-dim); line-height: 1.4; cursor: pointer;
}
.bb-checkbox-field input[type="checkbox"] {
  margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--bb-gold);
}

.bb-slots { margin: 16px 0 22px; }
.bb-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bb-slot {
  padding: 10px 8px; border-radius: 8px; border: 1px solid var(--bb-line); background: var(--bb-surface);
  color: var(--bb-text); font-size: 0.85rem; cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.bb-slot:hover { border-color: var(--bb-violet); }
.bb-slot-active { border-color: var(--bb-magenta); background: rgba(230,71,159,0.16); }

.bb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--bb-line-strong); background: transparent;
  color: var(--bb-text); font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none;
}
.bb-btn-primary { background: linear-gradient(120deg, var(--bb-violet), var(--bb-magenta) 60%, var(--bb-gold)); border: none; color: #fff; }
.bb-btn-ghost { border-color: var(--bb-line); color: var(--bb-text-muted); }

.bb-error { color: #ff8fa3; font-size: 0.85rem; margin-top: 12px; }

.bb-confirm { text-align: center; padding: 20px 0; }
.bb-check {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(120deg, var(--bb-violet), var(--bb-magenta));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #fff; font-size: 1.4rem;
}

.bb-manage-card { border: 1px solid var(--bb-line); border-radius: 20px; padding: 30px; background: var(--bb-surface); }
.bb-manage-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.bb-manage-actions .bb-btn { width: auto; flex: 1; min-width: 160px; }
.bb-note { font-size: 0.82rem; color: var(--bb-text-dim); margin-top: 14px; }

@media (max-width: 560px) {
  .bb-field-row { grid-template-columns: 1fr; }
}
