.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  font-weight: bold;
  display: none; /* Hidden by default */
  transition: all 0.5s ease-in-out;
  z-index: 9999;
}

.custom-alert.show {
  display: flex;
  animation: fadeIn 0.5s ease-in-out;
}

.custom-alert.success {
  background: #d4edda;
  color: #155724;
  border-left: 5px solid #28a745;
}

.custom-alert.error {
  background: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
}

.custom-alert span {
  font-size: 22px;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateX(20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}