.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: overlayFadeIn 0.3s ease;
}

.confirm-modal {
  background: #ffffff;
  padding: 0;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: modalSlideIn 0.3s ease;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  position: relative;
}

/* Header con botón de cerrar */
.confirm-modal-header {
  padding: 24px 24px 16px;
  text-align: center;
  position: relative;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  transition: all 0.2s ease;
}

.close-button:hover {
  background: #e0e0e0;
  color: #333;
}

.confirm-modal-icon {
  width: 48px;
  height: 48px;
  background: #861542;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.confirm-modal-icon::before {
  content: "!";
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.confirm-modal-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

.confirm-modal-message {
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  padding: 0 24px 24px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

/* Botones mejorados */
.confirm-modal-buttons {
  display: flex;
  padding: 0 24px 24px;
  gap: 12px;
}

.confirm-modal-buttons button {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cancel-btn {
 background: #861542;
  color: white;
  border: 1px solid #e0e0e0;
}

.cancel-btn:hover {
   background: #861542;
  border-color: #d0d0d0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirm-btn {
  background: #861542;
  color: white;
  border: 1px solid #761442;
}

.confirm-btn:hover {
  background: #761442;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(134, 21, 66, 0.3);
}

.confirm-btn:active {
  transform: translateY(0);
}

.cancel-btn:active {
  transform: translateY(0);
}

/* Animaciones */
@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .confirm-modal {
    width: 85%;
    margin: 20px;
    border-radius: 14px;
  }
  
  .confirm-modal-header {
    padding: 20px 20px 12px;
  }
  
  .close-button {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .confirm-modal-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }
  
  .confirm-modal-title {
    font-size: 18px;
  }
  
  .confirm-modal-message {
    font-size: 14px;
    padding: 0 20px 20px;
  }
  
  .confirm-modal-buttons {
    padding: 0 20px 20px;
    flex-direction: column;
  }
  
  .confirm-modal-buttons button {
    padding: 12px 16px;
  }
}

/* Efecto de pulso en el botón de confirmar */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(134, 21, 66, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(134, 21, 66, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 21, 66, 0);
  }
}

