.discard-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-in-out;
}

.discard-modal-box {
  background: white;
  padding: 0;
  border-radius: 12px;
  width: 450px;
  max-width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
  overflow: hidden;
}

.discard-modal-header {
  background-color: #7a0029;
  color: white;
  padding: 20px;
  text-align: center;
}

.discard-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.discard-modal-body {
  padding: 24px;
  text-align: center;
  color: #213547;
  font-size: 1rem;
  line-height: 1.5;
}

.discard-modal-body p {
  margin: 0;
}

.discard-modal-actions {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e2e8f0;
  justify-content: flex-end;
}

.discard-modal-button {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-width: 100px;
}

.discard-modal-button-cancel {
  background-color: #e2e8f0;
  color: #4a5568;
}

.discard-modal-button-cancel:hover {
  background-color: #cbd5e0;
}

.discard-modal-button-confirm {
  background-color: #7a0029;
  color: white;
}

.discard-modal-button-confirm:hover {
  background-color: #5a001f;
}

.discard-modal-button:active {
  transform: translateY(1px);
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

