/* Paid Courses Phase 1 — provider dashboard / editor */
.pc-wrap { max-width: 920px; }
.pc-eyebrow { margin-bottom: 0.75rem; }
.pc-eyebrow a { color: var(--text-gray, #6b7280); text-decoration: none; }
.pc-payout-headline { margin-top: 0.35rem; color: #4b5563; }
.pc-payout-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.65rem; }
.pc-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.pc-list { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.pc-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.pc-list-item:hover { border-color: #cbd5e1; }
.pc-list-item strong { display: block; margin-bottom: 0.25rem; }
.pc-list-meta { color: #6b7280; font-size: 0.875rem; }
.pc-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
.pc-choice {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.1rem;
  background: #f9fafb;
  text-align: left;
  cursor: pointer;
}
.pc-choice strong { display: block; margin-bottom: 0.35rem; }
.pc-choice span { color: #6b7280; font-size: 0.9rem; }
.pc-choice:hover { border-color: #94a3b8; }
.pc-editor-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pc-editor-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pc-badge {
  display: inline-block;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.35rem;
}
.pc-badge--muted { background: #f3f4f6; color: #4b5563; }
.pc-form { display: grid; gap: 0.9rem; margin-bottom: 1.5rem; }
.pc-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  align-items: end;
}
.pc-label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.pc-label input,
.pc-label select,
.pc-label textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font: inherit;
}
.pc-hint { color: #6b7280; font-size: 0.875rem; margin: 0.35rem 0 0; }
.pc-lessons-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.pc-lesson {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 0.65rem;
  background: #fff;
}
.pc-lesson-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}
.pc-lesson-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pc-lesson input,
.pc-lesson textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font: inherit;
  margin-bottom: 0.45rem;
}
.pc-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #374151;
}
.pc-media {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e7eb;
}
.pc-media-status {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0.35rem 0 0.6rem;
}
.pc-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.pc-media-actions input[type="file"] {
  max-width: 100%;
}
.pc-player-wrap {
  margin-top: 0.75rem;
}
.pc-player-wrap mux-player {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 8px;
}
@media (max-width: 640px) {
  .pc-editor-actions { width: 100%; }
  .pc-editor-actions .btn { flex: 1 1 auto; }
}
