.alert-toast {
  position: fixed;
  top: 80px; /* Position below header */
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  max-width: 90%;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  z-index: 9999;
  animation: slideDown 0.3s ease-in-out forwards;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-toast.success {
  background: #28a745;
}

.alert-toast.danger {
  background: #dc3545;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.alert-content .icon {
  font-size: 24px;
}

.alert-content .icon i {
  color: white;
}

.alert-content .text {
  flex: 1;
}

.alert-content h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.alert-content .message {
  font-size: 1rem;
  margin-top: 2px;
}

@keyframes slideDown {
  from {
    transform: translate(-50%, -20px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
