.toastfy-container {
  position: fixed;
  bottom: 25px;
  left: 50%; /* altera de right para left */
  transform: translateX(-50%); /* centraliza horizontalmente */
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toastfy {
  min-width: 240px;
  max-width: 350px;
  background: #fff;
  color: #333;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  padding: 14px 18px 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  pointer-events: all;
  animation: toastfy-in 0.3s;
  position: relative;
}

.toastfy-hide {
  animation: toastfy-out 0.3s forwards;
}

.toastfy-success {
  border-right: 5px solid #14a44d;
}
.toastfy-error {
  border-right: 5px solid #e74c3c;
}
.toastfy-info {
  border-right: 5px solid #3498db;
}
.toastfy-warning {
  border-right: 5px solid #f1c40f;
}

.toastfy-icon {
  font-size: 1.3em;
  margin-right: 6px;
}

.toastfy-message {
  flex: 1;
}

.toastfy-close {
  background: none;
  border: none;
  color: #888;
  font-size: 1.2em;
  cursor: pointer;
  margin-left: 8px;
  transition: color 0.2s;
}

.toastfy-close:hover {
  transform: scale(1.2);
}

@keyframes toastfy-in {
  from {
    opacity: 0;
    transform: translateY(100px); /* vem de baixo */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* posição final */
  }
}

@keyframes toastfy-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100px);
  }
}

.toastfy-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-radius: 0 0 6px 6px;
  z-index: 1;
  pointer-events: none;
  transition: width linear;
}

.toastfy-success .toastfy-progress {
  background: #14a44d;
}
.toastfy-error .toastfy-progress {
  background: #e74c3c;
}
.toastfy-info .toastfy-progress {
  background: #3498db;
}
.toastfy-warning .toastfy-progress {
  background: #f1c40f;
}
