/* Servicios tarotista + checklist onboarding */

.svc-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.svc-page h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.svc-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.svc-sugerencias-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-chip-sugerencia {
  background: rgba(237, 183, 129, 0.1);
  border: 1px solid rgba(237, 183, 129, 0.25);
  color: var(--primary-muted);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s;
}

.svc-chip-sugerencia:hover {
  background: rgba(237, 183, 129, 0.22);
}

.svc-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.svc-card.inactive {
  opacity: 0.55;
}

.svc-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.35rem;
}

.svc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.svc-meta strong {
  color: var(--text-secondary);
}

.svc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.svc-form-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.svc-form-panel label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.svc-form-panel .form-control,
.svc-form-panel .form-select {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.svc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 576px) {
  .svc-form-row { grid-template-columns: 1fr; }
}

/* Perfil — tarjetas de servicio */
.perfil-servicio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.perfil-servicio {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.perfil-servicio h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.perfil-servicio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.perfil-servicio-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.perfil-servicio .btn-tpda-primary {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 10px 16px;
}

/* Onboarding checklist */
.ob-checklist {
  background: rgba(237, 183, 129, 0.06);
  border: 1px solid rgba(237, 183, 129, 0.22);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.ob-checklist.complete {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.06);
}

.ob-checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.65rem;
}

.ob-checklist-head span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dr-gold, #edb781);
}

.ob-checklist-pct {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.ob-checklist-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.ob-checklist-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #cd734f, #add4d9);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.ob-checklist.complete .ob-checklist-bar span {
  background: linear-gradient(90deg, #34d399, #add4d9);
}

.ob-checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ob-checklist-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.ob-checklist-items li:last-child {
  border-bottom: none;
}

.ob-checklist-items a {
  color: var(--text-secondary);
  text-decoration: none;
  flex: 1;
}

.ob-checklist-items a:hover {
  color: var(--text-primary);
}

.ob-checklist-items li.done a {
  color: var(--text-muted);
  text-decoration: line-through;
}

.ob-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.ob-checklist-items li.done .ob-check-icon {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.4);
  color: #34d399;
}

/* Cuenta / disponibilidad / formularios PRO */
.svc-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(237, 183, 129, 0.08);
  border: 1px solid rgba(237, 183, 129, 0.22);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.svc-info-banner strong {
  color: var(--text-primary);
}

.svc-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.svc-day-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
}

.svc-day-card .form-check-input:checked {
  background-color: var(--dr-gold, #edb781);
  border-color: var(--dr-gold, #edb781);
}

.svc-day-card .form-control {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.svc-day-card label.sub,
.svc-day-card .sub {
  color: var(--text-muted);
}

.svc-day-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.svc-preview-box {
  margin-top: 0.65rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.svc-preview-box img,
.svc-preview-box iframe {
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.svc-preview-box iframe {
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
}

.svc-danger-zone {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(239, 68, 68, 0.25);
}

.svc-danger-zone .btn-tpda-danger {
  width: 100%;
  justify-content: center;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.svc-danger-zone .btn-tpda-danger:hover {
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}
