/* ===== Global Confirm Modal ===== */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.confirm-overlay.is-open {
  display: flex;
  animation: confirmFadeIn 0.2s ease;
}

.confirm-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: confirmScaleIn 0.25s ease;
}

.confirm-icon { margin-bottom: 12px; }

.confirm-msg {
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  margin: 0 0 24px;
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  gap: 10px;
}

.confirm-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}

.confirm-btn:active { transform: scale(0.97); }

.confirm-cancel {
  background: #f3f4f6;
  color: #4b5563;
}

.confirm-cancel:hover { background: #e5e7eb; }

.confirm-ok {
  background: #ef4444;
  color: #fff;
}

.confirm-ok:hover { background: #dc2626; }

@keyframes confirmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes confirmScaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
