/* ═══════════════════════════════════════════════════════
   PhantombOS · Booking Wizard — paper/ink theme
   Class names kept identical for JS compatibility.
   ═══════════════════════════════════════════════════════ */

/* Alias para colores usados en strings generados por JS */
:root {
  --pb-success: var(--green);        /* JS inyecta style="color:var(--pb-success)" */
}

/* ── Stepper ──────────────────────────────────────────── */
.wizard-stepper {
  display: flex; align-items: center; justify-content: center;
  max-width: 760px; margin: 0 auto 40px; position: relative;
}

.step-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; position: relative; z-index: 1; padding: 0 1.5rem;
}

.step-number {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
  background: var(--paper); border: 1.5px solid var(--line-2); color: var(--ink-mute);
  transition: all 0.2s ease;
}

.step-item.active .step-number {
  background: var(--purple); border-color: var(--purple); color: #fff;
  box-shadow: 0 0 0 5px var(--purple-soft);
}

.step-item.completed .step-number {
  background: var(--green); border-color: var(--green); color: #fff;
}

.step-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute); transition: color 0.2s;
}

.step-item.active .step-label   { color: var(--purple); }
.step-item.completed .step-label { color: var(--green); }

/* Línea entre pasos */
.step-line {
  flex: 1; height: 2px; background: var(--line-2);
  margin: 0 4px; margin-bottom: 28px; max-width: 90px;
  transition: background 0.3s ease;
}

.step-item.completed + .step-line { background: var(--green); }

/* ── Step content ─────────────────────────────────────── */
.step-content { display: none; }
.step-content.active {
  display: block; animation: wiz-fade 0.3s ease;
}
@keyframes wiz-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}
/* Alias viejo de animación (por si queda referencia) */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* ── Cabeceras de paso ────────────────────────────────── */
.section-title {
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 700;
  letter-spacing: -0.03em; margin: 0 0 8px; color: var(--ink);
}
.section-subtitle {
  font-size: 15px; color: var(--ink-soft); margin: 0 0 26px;
}

/* ── Layout 2 columnas fecha/hora ─────────────────────── */
.dt-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px;
  align-items: start; margin-bottom: 22px;
}

/* ── Calendário ───────────────────────────────────────── */
.calendar-wrapper {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 18px; padding: 22px;
}

.calendar-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}

.calendar-title { font-size: 17px; font-weight: 700; color: var(--ink); }

.calendar-nav { display: flex; gap: 8px; }

.calendar-nav-btn {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1.5px solid var(--line-2); background: var(--paper);
  display: grid; place-items: center; color: var(--ink-soft);
  cursor: pointer; transition: all 0.15s;
}
.calendar-nav-btn:hover { border-color: var(--ink); color: var(--ink); }

.calendar-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px;
}
.calendar-weekday {
  text-align: center; font-size: 10.5px; font-weight: 700;
  color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.04em;
}

.calendar-days {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}

.calendar-day {
  aspect-ratio: 1; border-radius: 11px; display: grid; place-items: center;
  font-size: 14px; font-weight: 600; border: 1.5px solid transparent;
  cursor: pointer; background: var(--paper-2); color: var(--ink);
  transition: all 0.15s ease;
}
.calendar-day:hover:not(.disabled):not(.other-month) { border-color: var(--ink); }
.calendar-day.other-month {
  background: transparent; color: var(--ink-mute); opacity: 0.35; cursor: default;
}
.calendar-day.disabled {
  background: transparent; color: var(--ink-mute); opacity: 0.35;
  cursor: not-allowed; text-decoration: line-through;
}
.calendar-day.outside-package {
  background: var(--coral-soft); color: var(--coral); opacity: 0.6;
  cursor: not-allowed; text-decoration: none;
}
.calendar-day.too-soon-package {
  background: var(--amber-soft); color: var(--amber); opacity: 0.8;
}
.calendar-day.today  { border-color: var(--purple); color: var(--purple); }
.calendar-day.selected { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ── Panel de hora ────────────────────────────────────── */
.time-panel {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 18px; padding: 22px;
}

.time-panel-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}

.time-panel-title { font-size: 17px; font-weight: 700; color: var(--ink); }

.selected-date-badge {
  background: var(--purple); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}

.hours-selector {
  background: var(--paper-2); border: 1.5px solid var(--line-2); border-radius: 13px;
  padding: 16px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hours-info { display: flex; flex-direction: column; gap: 2px; }
.hours-label { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.hours-price {
  font-size: 22px; font-weight: 700; color: var(--purple);
  letter-spacing: -0.02em; line-height: 1;
}

#price-per-hour {
  text-align: right; font-size: 12px; color: var(--ink-mute); margin-bottom: 14px;
}

.hours-controls { display: flex; align-items: center; gap: 10px; }

.hours-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--ink); background: var(--paper);
  font-size: 18px; font-weight: 700; display: grid; place-items: center;
  cursor: pointer; color: var(--ink); transition: all 0.15s;
  font-family: inherit;
}
.hours-btn:hover { background: var(--ink); color: var(--paper); }

.hours-value {
  font-size: 22px; font-weight: 700; min-width: 24px; text-align: center; color: var(--ink);
}
.hours-suffix { font-size: 13px; color: var(--ink-mute); font-weight: 600; }

.time-slots-label {
  font-size: 11px; font-weight: 700; color: var(--ink-mute);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}

/* Preview (rango de hora seleccionada) */
.session-preview {
  background: var(--purple); color: #fff; border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.preview-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.18); display: grid; place-items: center; flex-shrink: 0;
}
.preview-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.preview-range  { font-size: 15px; font-weight: 700; display: block; }
.preview-duration { font-size: 12px; opacity: 0.85; }
.preview-price { margin-left: auto; font-size: 17px; font-weight: 700; }

/* Slots de hora */
.time-slots-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}

.time-slot {
  height: 40px; border-radius: 9px; background: var(--paper-2);
  border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600;
  color: var(--ink); cursor: pointer; transition: all 0.14s ease;
  display: grid; place-items: center; position: relative;
  font-family: inherit;
}
.time-slot:hover:not(.disabled) { border-color: var(--ink); }
.time-slot.selected { background: var(--purple); color: #fff; border-color: var(--purple); }
.time-slot.in-range { background: var(--purple-soft); border-color: var(--purple); color: var(--purple-deep); }
.time-slot.disabled { opacity: 0.35; cursor: not-allowed; }

/* Marcador de horario nocturno */
.time-slot.night-hour {
  background: var(--amber-soft, #fef9ec);
  border-color: var(--amber, #d97706);
  color: var(--ink);
}
.time-slot.night-hour::after {
  content: "🌙";
  position: absolute; top: 2px; right: 3px;
  font-size: 8px; line-height: 1; pointer-events: none;
}
/* Selected/in-range override — keep purple dominant */
.time-slot.night-hour.selected   { background: var(--purple); border-color: var(--purple); color: #fff; }
.time-slot.night-hour.selected::after,
.time-slot.night-hour.in-range::after { display: none; }
.time-slot.night-hour.in-range   { background: var(--purple-soft); border-color: var(--purple); color: var(--purple-deep); }

.time-slot.booked {
  background: var(--coral-soft); border-color: var(--coral);
  color: var(--ink-mute); text-decoration: line-through; opacity: 0.6;
}
.time-slot.overlap-warning {
  background: var(--coral-soft); border-color: var(--coral); color: var(--coral);
  animation: pulse-warning 1s ease-in-out infinite;
}
@keyframes pulse-warning { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* Estados de mensualidad */
.time-slot.package-no-night    { opacity: 0.2; background: var(--paper-3) !important; cursor: not-allowed; }
.time-slot.package-no-start-night {
  opacity: 0.35; background: var(--amber-soft) !important;
  border-color: var(--amber) !important; cursor: not-allowed;
}
.time-slot.package-late-night  {
  background: var(--amber-soft) !important; border-color: var(--amber) !important;
}
.time-slot.package-late-night::before {
  content: '2h'; position: absolute; top: 2px; right: 3px;
  font-size: 9px; font-weight: 700; color: var(--amber);
}
.time-slot.package-late-night:hover:not(.disabled) { border-color: var(--amber) !important; }

/* Nota horario nocturno */
.night-surcharge-note {
  display: flex; align-items: center; gap: 10px;
  background: var(--amber-soft); border: 1.5px solid var(--amber);
  border-radius: 11px; padding: 11px 14px; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: #7a5410;
}

/* Mensaje urgente */
.urgent-message {
  background: var(--coral-soft); border: 1.5px solid var(--coral);
  border-radius: 14px; padding: 22px; text-align: center; margin-bottom: 14px;
}
.urgent-icon {
  width: 56px; height: 56px; background: rgba(255,77,46,0.15);
  border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 14px; color: var(--coral); font-size: 1.4rem;
}
.urgent-content h6 { color: var(--coral); font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.urgent-content p  { color: var(--ink-soft); font-size: 14px; margin: 0 0 6px; }

a.btn-urgent-whatsapp,
a.btn-urgent-whatsapp:link,
a.btn-urgent-whatsapp:visited {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
  font-size: 14px; text-decoration: none; transition: all 0.2s; margin-top: 10px;
}
a.btn-urgent-whatsapp:hover { background: #1da851; transform: translateY(-1px); }

/* ── Productores ──────────────────────────────────────── */
.producer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
  gap: 16px; margin-bottom: 28px;
}

.producer-card {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 16px; padding: 28px 22px; text-align: center;
  cursor: pointer; transition: all 0.2s ease;
}
.producer-card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.producer-card.selected { border-color: var(--purple); box-shadow: 6px 6px 0 var(--purple); }

.producer-avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 14px; color: var(--ink-mute); font-size: 1.5rem; font-weight: 600;
  position: relative; background: var(--paper-2); border: 1.5px solid var(--line-2);
}
.producer-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.producer-avatar.no-producer { border-style: dashed; }

.producer-status {
  position: absolute; bottom: 1px; right: 1px; width: 12px; height: 12px;
  background: var(--teal); border: 2px solid var(--paper); border-radius: 50%;
}

.producer-name  { font-size: 16px; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.producer-role  { font-size: 12.5px; color: var(--purple); font-weight: 500; margin-bottom: 6px; }
.producer-price { font-size: 15px; font-weight: 700; color: var(--ink); }
.producer-price span { font-size: 12px; font-weight: 400; color: var(--ink-mute); }

/* ── Extras ───────────────────────────────────────────── */
.extras-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.extra-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1.5px solid var(--line-2); border-radius: 13px; background: var(--paper);
  cursor: pointer; transition: all 0.16s;
}
.extra-item:hover      { border-color: var(--ink); }
.extra-item.selected   { border-color: var(--purple); background: var(--purple-soft); }
.extra-item.disabled   { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.extra-item.no-producer:hover { border-color: var(--ink); }

.extra-checkbox {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2);
  background: var(--paper); display: grid; place-items: center;
  flex-shrink: 0; color: transparent; transition: all 0.2s;
}
.extra-item.selected .extra-checkbox { background: var(--purple); border-color: var(--purple); color: #fff; }

.extra-icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid;
  place-items: center; color: #fff; flex-shrink: 0;
}
.extra-icon.mixing      { background: var(--teal); }
.extra-icon.mastering   { background: var(--amber); }
.extra-icon.production  { background: var(--green); }
.extra-icon.instrumental{ background: var(--purple); }

.extra-info  { flex: 1; min-width: 0; }
.extra-name  { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.extra-desc  { font-size: 12.5px; color: var(--ink-mute); }

.extra-price {
  font-size: 14.5px; font-weight: 700; color: var(--purple);
  white-space: nowrap; margin-left: auto; padding-left: 12px;
}
.extra-price.quote-badge {
  background: var(--purple-soft); color: var(--purple-deep);
  padding: 5px 10px; border-radius: 999px; font-size: 10.5px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ── Sección de cliente ───────────────────────────────── */
.client-section {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 18px; padding: 22px 24px; margin-bottom: 20px;
}
.client-section-title {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}

.client-mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }

.client-mode-btn {
  height: 48px; border-radius: 11px; border: 1.5px solid var(--line-2);
  background: var(--paper); font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.16s; cursor: pointer; font-family: inherit;
}
.client-mode-btn:hover { border-color: var(--ink); color: var(--ink); }
.client-mode-btn.active { border-color: var(--purple); background: var(--purple-soft); color: var(--purple-deep); }

.client-form { display: none; }
.client-form.active { display: block; animation: wiz-fade 0.3s ease; }

.client-search-wrapper { position: relative; margin-bottom: 14px; }

.client-search-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-mute);
}

.client-search-input {
  width: 100%; height: 48px; border: 1.5px solid var(--line-2);
  border-radius: 11px; background: var(--paper); padding: 0 14px 0 42px;
  font-family: inherit; font-size: 14px; color: var(--ink);
}
.client-search-input:focus { outline: 0; border-color: var(--purple); }

.client-search-results {
  position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 12px; margin-top: 6px;
  max-height: 250px; overflow-y: auto; z-index: 100; box-shadow: 6px 6px 0 var(--ink);
  display: none;
}
.client-search-results.show { display: block; }

.client-result-item {
  padding: 12px 14px; cursor: pointer; border-bottom: 1px solid var(--line);
  transition: background 0.14s;
}
.client-result-item:last-child { border-bottom: 0; }
.client-result-item:hover    { background: var(--paper-2); }
.client-result-item.selected { background: var(--purple-soft); }

.client-result-name { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.client-result-info { font-size: 12px; color: var(--ink-mute); }

.client-list { max-height: 250px; overflow-y: auto; margin-top: 6px; }

.client-selected-card {
  display: none; background: var(--purple-soft); border: 1.5px solid var(--purple);
  border-radius: 11px; padding: 14px; margin-top: 10px;
}
.client-selected-card.show { display: flex; align-items: center; gap: 12px; }

.client-selected-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  flex-shrink: 0; border: 1.5px solid var(--ink);
}
.client-selected-info { flex: 1; min-width: 0; }
.client-selected-name  { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.client-selected-email { font-size: 12px; color: var(--ink-mute); }

.client-selected-remove {
  background: none; border: none; color: var(--ink-mute); cursor: pointer;
  padding: 6px; transition: color 0.2s; display: grid; place-items: center;
}
.client-selected-remove:hover { color: var(--coral); }

.no-results-message { padding: 14px; text-align: center; color: var(--ink-mute); font-size: 14px; }

/* ── Inputs de campo ──────────────────────────────────── */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }

.form-label-custom {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px;
}

.project-input {
  width: 100%; height: 46px; border: 1.5px solid var(--line-2);
  border-radius: 11px; background: var(--paper); padding: 0 14px;
  font-family: inherit; font-size: 14px; color: var(--ink); transition: border-color 0.15s;
}
.project-input:focus { outline: 0; border-color: var(--purple); }
.project-input::placeholder { color: var(--ink-mute); }

/* ── Cupón ────────────────────────────────────────────── */
.coupon-section { margin-bottom: 20px; }

.coupon-input-wrapper { display: flex; gap: 10px; margin-bottom: 4px; }

.coupon-input {
  flex: 1; height: 46px; border: 1.5px solid var(--line-2); border-radius: 11px;
  background: var(--paper); padding: 0 14px; font-family: inherit;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink);
}
.coupon-input:focus   { outline: 0; border-color: var(--purple); }
.coupon-input.valid   { border-color: var(--green); }
.coupon-input.invalid { border-color: var(--coral); }

.coupon-apply-btn {
  height: 46px; padding: 0 20px; background: var(--purple); color: #fff;
  border: none; border-radius: 999px; font-weight: 600; font-size: 14px;
  font-family: inherit; cursor: pointer; transition: all 0.2s;
}
.coupon-apply-btn:hover        { background: var(--purple-deep); transform: translateY(-1px); }
.coupon-apply-btn:disabled     { background: var(--paper-3); color: var(--ink-mute); cursor: not-allowed; transform: none; }

.coupon-message            { font-size: 12.5px; min-height: 18px; margin-top: 4px; }
.coupon-message.success    { color: var(--green); }
.coupon-message.error      { color: var(--coral); }

/* ── Resumen (fondo oscuro) ───────────────────────────── */
.summary-card {
  background: var(--ink); color: var(--paper);
  border-radius: 18px; padding: 24px 26px; margin-bottom: 22px;
}

.summary-title { font-size: 17px; font-weight: 700; margin: 0 0 18px; }

.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; font-size: 14px; padding: 8px 0; color: rgba(243,239,230,0.8);
}

.summary-label { color: rgba(243,239,230,0.6); }
.summary-value { color: var(--paper); font-weight: 600; }

.summary-row.summary-subtotal {
  border-top: 1px solid rgba(243,239,230,0.1); padding: 8px 0;
}

.summary-row.summary-total {
  border-top: 1.5px solid rgba(243,239,230,0.25);
  margin-top: 12px; padding-top: 16px;
}
.summary-row.summary-total .summary-label { font-size: 17px; font-weight: 700; color: var(--paper); }
.summary-row.summary-total .summary-value { font-size: 24px; font-weight: 700; color: var(--lime); letter-spacing: -0.02em; }

.summary-row.summary-discount {
  background: rgba(214,255,58,0.08); border-radius: 8px; padding: 8px 10px; margin: 4px 0;
}

/* ── Botones de navegación ────────────────────────────── */
.wizard-buttons {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 22px; border-top: 1px solid var(--line); margin-top: 8px;
}

.btn-wizard {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; font-family: inherit;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.2s;
}

.btn-wizard-secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-wizard-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-wizard-primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-wizard-primary:hover:not(:disabled) { background: var(--purple-deep); border-color: var(--purple-deep); transform: translateY(-1px); }
.btn-wizard-primary:disabled { background: var(--paper-3); color: var(--ink-mute); border-color: var(--line-2); cursor: not-allowed; transform: none; }

.btn-wizard-success { background: var(--green); color: #fff; border-color: var(--green); }
.btn-wizard-success:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ── Banner de mensualidad ────────────────────────────── */
.package-booking-banner {
  display: flex; align-items: center; gap: 16px;
  background: var(--purple-soft); border: 1.5px solid var(--purple);
  border-radius: 16px; padding: 20px 24px; margin-bottom: 24px;
}

.package-banner-icon {
  width: 46px; height: 46px; background: var(--purple); border-radius: 12px;
  display: grid; place-items: center; color: #fff; font-size: 22px; flex-shrink: 0;
}
.package-banner-content { flex: 1; }
.package-banner-title { font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.package-banner-info  { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-soft); }
.package-banner-warning { margin-top: 8px; padding: 8px 12px; background: var(--coral-soft); border-radius: 8px; font-size: 13px; color: var(--coral); }
.package-banner-toggle { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.toggle-label { font-size: 11px; color: var(--ink-mute); font-weight: 600; }

.package-toggle { position: relative; display: inline-block; width: 48px; height: 27px; }
.package-toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--line-2); border: 1.5px solid var(--line-2);
  transition: 0.2s; border-radius: 999px;
}
.toggle-slider::before {
  position: absolute; content: ""; height: 20px; width: 20px;
  left: 2.5px; bottom: 2.5px; background: #fff; transition: 0.2s;
  border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.package-toggle input:checked + .toggle-slider { background: var(--purple); border-color: var(--purple); }
.package-toggle input:checked + .toggle-slider::before { transform: translateX(21px); }
.package-toggle input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }

/* ── Créditos ─────────────────────────────────────────── */
.cred-section {
  border: 1.5px solid var(--purple); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 20px; background: var(--purple-soft);
}
.cred-top {
  display: flex; align-items: center; gap: 14px;
}
.cred-info { flex: 1; }
.cred-info b { font-size: 14.5px; font-weight: 600; display: block; color: var(--ink); }
.cred-info span { font-size: 13px; color: var(--ink-soft); }
.cred-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.cred-ok { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 10px; }

/* Switch del panel (reutilizado de panel.css) */
.sw {
  width: 48px; height: 27px; border-radius: 999px; background: var(--line-2);
  position: relative; cursor: pointer; border: 0; flex-shrink: 0;
  display: block;
}
.sw.on { background: var(--purple); }
.sw input { opacity: 0; width: 0; height: 0; position: absolute; }
.sw .knob {
  position: absolute; top: 2.5px; left: 2.5px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; transition: transform 0.22s cubic-bezier(.4,.1,.2,1);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.sw.on .knob { transform: translateX(21px); }

/* ── Booking-for (producer-client) ───────────────────── */
.booking-for-option {
  border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px;
  cursor: pointer; transition: all 0.2s; margin-bottom: 8px;
}
.booking-for-option:hover  { border-color: var(--purple); background: var(--purple-soft); }
.booking-for-option.selected { border-color: var(--purple); background: var(--purple-soft); }
.booking-for-option label { display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0; }
.booking-for-option .option-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--purple);
  color: #fff; display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.booking-for-option .option-title { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.booking-for-option .option-desc  { font-size: 13px; color: var(--ink-mute); }

.artist-email-section { margin-top: 14px; }

/* Bootstrap compat minimal */
.d-none { display: none !important; }
.alert  { border-radius: 11px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.alert-success { background: var(--green-soft); border: 1.5px solid var(--green); color: var(--green); }
.alert-info    { background: var(--purple-soft); border: 1.5px solid var(--purple); color: var(--purple); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .dt-grid        { grid-template-columns: 1fr; }
  .field-row      { grid-template-columns: 1fr; }
  .producer-grid  { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 768px) {
  .wizard-buttons       { flex-direction: column-reverse; gap: 10px; }
  .btn-wizard           { width: 100%; }
  .step-item            { padding: 0 0.75rem; }
  .step-label           { font-size: 10px; }
  .client-mode-toggle   { grid-template-columns: 1fr; }
  .package-booking-banner { flex-direction: column; text-align: center; }
  .package-banner-toggle  { flex-direction: row; }
  .hours-selector       { flex-direction: column; align-items: stretch; }
  .hours-info           { flex-direction: row; justify-content: space-between; align-items: center; }
  .hours-controls       { justify-content: center; }
}

@media (max-width: 480px) {
  .step-label       { display: none; }
  .step-item        { padding: 0 4px; }
  .step-number      { width: 36px; height: 36px; font-size: 14px; }
  .wizard-stepper   { margin-bottom: 20px; }
  .section-title    { font-size: 20px; }
  .section-subtitle { font-size: 13px; margin-bottom: 18px; }
  .dt-grid          { gap: 10px; }
  .calendar-wrapper { padding: 14px; }
  .calendar-title   { font-size: 15px; }
  .calendar-nav-btn { width: 30px; height: 30px; }
  .calendar-days    { gap: 4px; }
  .calendar-weekdays{ gap: 4px; }
  .calendar-day     { font-size: 12px; border-radius: 8px; }
  .time-panel       { padding: 14px; }
  .time-panel-title { font-size: 15px; }
  .time-slots-grid  { grid-template-columns: repeat(3, 1fr); }
  .whatsapp-btn     { width: 100%; justify-content: center; }
  .same-day-warning-panel { padding: 20px 12px; }
}
