/* ═══════════════════════════════════════════════
   System Confirm — shared destructive confirmation dialog
   Based on the Dispatch delete confirmation pattern.
   ═══════════════════════════════════════════════ */

.sc-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  z-index: var(--z-modal); animation: sc-fade-in .12s ease;
}
.sc-dialog {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; width: 340px; max-width: 90vw;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.sc-icon { margin-bottom: 12px; }
.sc-title {
  font-size: 17px; font-weight: 800; color: var(--text);
  margin: 0 0 6px;
}
.sc-msg {
  font-size: 13px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.4;
}
.sc-msg strong { color: var(--text); }
.sc-actions { display: flex; gap: 10px; }
.sc-cancel {
  flex: 1; padding: 10px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.sc-cancel:hover { background: var(--bg-input); }
.sc-confirm {
  flex: 1; padding: 10px; border-radius: var(--radius-md);
  border: none; background: var(--btn-destructive-bg); color: var(--btn-destructive-text);
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.sc-confirm:hover { filter: brightness(0.9); }
@keyframes sc-fade-in { from { opacity: 0; } to { opacity: 1; } }
