.schedule-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.schedule-panel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(74, 218, 235, 0.3);
  border-radius: 14px;
  background: rgba(6, 26, 35, 0.72);
}

.schedule-panel label {
  color: var(--text-muted, #b7c4cb);
  font-size: 0.85rem;
  font-weight: 700;
}

.schedule-panel input[type="datetime-local"] {
  min-height: 42px;
  flex: 1 1 220px;
  color: var(--text-color, #fff);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  color-scheme: dark;
}

.scheduled-content-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 40px));
  padding: 0;
  border: 1px solid rgba(74, 218, 235, 0.28);
  border-radius: 20px;
  color: #f7fbfd;
  background: #07141d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.scheduled-content-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.scheduled-content-inner { padding: 1.25rem; }
.scheduled-content-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.scheduled-content-header h2 { margin: 0; }
.scheduled-content-list { display: grid; gap: 0.75rem; margin-top: 1rem; overflow: auto; }

.scheduled-content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.scheduled-content-row div { min-width: 0; }
.scheduled-content-row strong,
.scheduled-content-row small { display: block; }
.scheduled-content-row small { margin-top: 0.2rem; color: #8edce7; }
.scheduled-content-row p { margin: 0.45rem 0 0; color: #c7d1d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.reel-schedule-field { margin-top: 0.9rem; }

@media (max-width: 640px) {
  .composer-actions { align-items: stretch; }
  .schedule-controls { width: 100%; }
  .schedule-controls button { flex: 1 1 auto; }
  .scheduled-content-row { align-items: flex-start; }
}
