/* YouTube posting calendar — synced from Instagram reels.
   Reuses the same cp-* grid/day/slot/status/hero/account-card system as the
   Instagram Posting calendar (content-planner.css) for a consistent look;
   only YouTube-specific pieces are styled here. */

.cp-hero--youtube {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(233, 30, 140, 0.1));
  border-color: rgba(239, 68, 68, 0.25);
}

.ytp-schedule-banner {
  margin: 0 0 1rem;
}

.ytp-schedule-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.cp-hero--youtube .cp-hero-actions {
  align-items: flex-start;
  gap: 0.5rem;
}

.ytp-acc-avatar {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.16);
}

/* Slot detail modal */
.ytp-modal-body {
  gap: 0.85rem;
}

.ytp-modal-media {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.ytp-modal-video {
  display: block;
  width: 100%;
  max-height: 60vh;
  background: #000;
}

.ytp-modal-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px dashed rgba(148, 163, 184, 0.3);
  text-align: center;
  color: var(--muted, #94a3b8);
}

.ytp-modal-empty span {
  font-size: 1.6rem;
  opacity: 0.6;
}

.ytp-modal-empty p {
  margin: 0;
  font-size: 0.85rem;
}

.ytp-modal-caption-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ytp-modal-caption {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
}

.ytp-ig-note {
  margin: 0;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.12);
  color: #86efac;
  font-size: 0.78rem;
}
