/* Confirm Popup Styles */
.confirm-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.confirm-popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }
}

.confirm-popup-body {
  text-align: center;
}

.confirm-popup-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.confirm-popup-icon {
  width: 64px;
  height: 64px;
  color: #f21b23;
}

.confirm-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4d4d4f;
  margin: 0 0 1rem 0;
}

.confirm-popup-message {
  font-size: 1rem;
  color: #4d4d4f;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.confirm-popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.confirm-popup-actions .btn {
  min-width: 100px;
}

/* Dark mode (night-mode) */
body.night-mode .confirm-popup-content {
  background: #3a3838;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body.night-mode .confirm-popup-title {
  color: rgba(255, 255, 255, 0.98);
}

body.night-mode .confirm-popup-message {
  color: rgba(255, 255, 255, 0.85);
}

body.night-mode .confirm-popup-icon {
  color: #f87171;
}

body.night-mode .confirm-popup-actions .btn-secondary,
body.night-mode .confirm-popup-actions .btn[data-variant="secondary"] {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
}

body.night-mode .confirm-popup-actions .btn-secondary:hover:not(:disabled),
body.night-mode .confirm-popup-actions .btn[data-variant="secondary"]:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.98);
}

