/* Wizard de horario de programa (web). Mismo lenguaje visual que agenda.css. */
:root { --ph-accent: #FF7356; --ph-green: #2BB673; }

.ph-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; }
.ph-modal .modal-header { border-bottom: 1px solid #eee; position: relative; }
.ph-modal .modal-title { font-weight: 700; font-size: 1.05rem; }
.ph-back {
  border: 0; background: #f1f1f3; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #333; margin-right: 6px;
}

/* Stepper */
.ph-steps { display: flex; align-items: center; gap: 6px; padding: 14px 20px 0; }
.ph-step { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #9a9aa2; font-weight: 600; }
.ph-step b {
  width: 22px; height: 22px; border-radius: 50%; background: #ececef; color: #9a9aa2;
  display: inline-flex; align-items: center; justify-content: center; font-size: .75rem;
}
.ph-step.is-active { color: #1c1c1e; }
.ph-step.is-active b { background: var(--ph-accent); color: #fff; }
.ph-step.is-done b { background: var(--ph-green); color: #fff; }
.ph-step-sep { flex: 1; height: 2px; background: #ececef; border-radius: 2px; }

.ph-lead { font-weight: 700; font-size: 1.05rem; margin: 4px 0 16px; }
.ph-hint { font-size: .82rem; color: #8a8a90; margin-top: 14px; }
.ph-form-label { display: block; font-size: .82rem; color: #8a8a90; font-weight: 600; margin: 18px 0 6px; }

/* Días */
.ph-days { display: flex; gap: 8px; justify-content: space-between; }
.ph-day {
  flex: 1; aspect-ratio: 1; border: 1.5px solid #e2e2e6; background: #fff; border-radius: 14px;
  font-weight: 700; color: #6c6c72; font-size: 1rem; transition: all .15s;
}
.ph-day.is-on { background: var(--ph-accent); border-color: var(--ph-accent); color: #fff; box-shadow: 0 4px 12px rgba(255,115,86,.3); }

/* Opciones de fecha */
.ph-opts { display: flex; flex-direction: column; gap: 10px; }
.ph-opt {
  position: relative; text-align: left; border: 1.5px solid #e2e2e6; background: #fff;
  border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
}
.ph-opt.is-on { border-color: var(--ph-accent); background: #fff6f3; }
.ph-opt-main { font-weight: 700; color: #1c1c1e; }
.ph-opt-sub { font-size: .8rem; color: #9a9aa2; }
.ph-opt-ck { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ph-accent); font-size: 1.3rem; }

.ph-modal input.form-control { border-radius: 12px; padding: 12px 14px; border: 1.5px solid #e2e2e6; }
.ph-modal input.form-control:focus { border-color: var(--ph-accent); box-shadow: none; }

/* Resumen */
.ph-summary { margin-top: 18px; background: #f7f7f8; border-radius: 14px; padding: 6px 16px; }
.ph-sum-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #ededf0; font-size: .9rem; }
.ph-sum-row:last-child { border-bottom: 0; }
.ph-sum-row span { color: #8a8a90; }
.ph-sum-row b { color: #1c1c1e; }

.ph-modal .modal-footer { border-top: 0; padding: 8px 20px 20px; }

/* Toast (fallback propio) */
.ph-toast {
  background: #1c1c1e; color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); opacity: 1; transition: opacity .3s, transform .3s;
}
.ph-toast--error { background: #c0392b; }
.ph-toast.is-out { opacity: 0; transform: translateY(8px); }

/* Botón en la página del programa */
.btn-programar-agenda { margin-top: 14px; }

/* Banner en "Mi agenda": programa activo sin horario */
.ag-prog-banner {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, #fff6f3, #fff); border: 1.5px solid #ffd9cd; border-radius: 16px;
}
.ag-prog-banner-ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--ph-accent);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.ag-prog-banner-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ag-prog-banner-main strong { color: #1c1c1e; font-size: .95rem; }
.ag-prog-banner-main span { color: #8a8a90; font-size: .82rem; }
.ag-prog-banner-btn { flex: 0 0 auto; white-space: nowrap; }
