#alert-container {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

/* ALERTA */
.alert {
  width: 600px;
  max-width: 95vw;
  padding: 16px 24px;
  border-radius: 10px;

  color: white;
  font-weight: 700;
  font-size: 17px;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.18);

  transform: translateY(-40px);
  opacity: 0;

  animation: slideDown 0.35s ease-out forwards;
}

.alert-success { background-color: #2ecc71; }
.alert-error   { background-color: #e74c3c; }
.alert-warning { background-color: #f39c12; }
.alert-info    { background-color: #3E9ADE; }

@keyframes slideDown {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.alert.hide {
  animation: slideUp 0.35s ease-in forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(-40px);
    opacity: 0;
  }
}