.confirm-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.confirm-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
  border: 2px solid #ec4899;
  animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.confirm-message {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
}

.confirm-buttons button {
  padding: 10px 24px;
  margin: 5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.confirm-buttons .ok-btn {
  background: #ec4899;
  color: #fff;
}

.confirm-buttons .ok-btn:hover {
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.5);
  transform: scale(1.1);
  animation: pulse 0.3s ease infinite;
}

.confirm-buttons .cancel-btn {
  background: #f1f1f1;
  color: #333;
}

.confirm-buttons .cancel-btn:hover {
  background: #e0e0e0;
  transform: scale(1.1);
  animation: shake 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1.1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1.1); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}