/* pages/schedules.css — Schedule publish management (SC-2) */

/* ═══ TABS ══════════════════════════════════════════════════ */
.sched-tabs {
  display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap;
}
.sched-tabs .pill {
  padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--border-default); background: var(--surface-card);
  color: var(--text-secondary); cursor: pointer; transition: all 0.15s;
}
.sched-tabs .pill:hover { border-color: #2563EB; color: #2563EB; }
.sched-tabs .pill.active {
  background: #2563EB; color: #fff; border-color: #2563EB;
}

/* ═══ LIST ══════════════════════════════════════════════════ */
.sched-list { display: flex; flex-direction: column; gap: 8px; }

/* ═══ CARD ══════════════════════════════════════════════════ */
.sched-card {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  transition: all 0.15s;
}
.sched-card:hover {
  border-color: var(--border-default); box-shadow: var(--shadow-sm);
}
.sched-card-main { flex: 1; min-width: 0; }
.sched-card-title {
  font-weight: 600; font-size: 14px; color: var(--text-primary);
  margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sched-card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 12px;
  color: var(--text-tertiary); flex-wrap: wrap;
}
.sched-card-meta svg { flex-shrink: 0; }
.sched-dot { color: var(--text-disabled); }
.sched-card-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

/* ═══ BADGE ═════════════════════════════════════════════════ */
.sched-badge {
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}

/* ═══ ACTION BUTTONS ════════════════════════════════════════ */
.sched-btn-action { padding: 4px 6px !important; }
.sched-btn-action:hover { color: #2563EB; }

/* ═══ EMPTY STATE ═══════════════════════════════════════════ */
.sched-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 60px 30px; gap: 14px;
}
.sched-empty-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-sunken); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
}
.sched-empty-icon svg { width: 24px; height: 24px; color: var(--text-disabled); }
.sched-empty-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.sched-empty-desc { font-size: 12px; color: var(--text-disabled); line-height: 1.5; max-width: 360px; }

/* ═══ WHEN GROUP (in publish dialog) ════════════════════════ */
.sh-wp-when-group {
  display: flex; gap: 16px; align-items: center;
}
.sh-wp-when-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; cursor: pointer; user-select: none;
  color: var(--text-secondary);
}
