.message-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column-reverse; /* Newest messages appear at bottom */
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.message-box {
  background-color: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  margin-bottom: 5px;
}
.message-box.visible {
  opacity: 1;
}

/* Different message types */
.message-box.success {
  background-color: #4CAF50;
}

.message-box.error {
  background-color: #f44336;
}

.message-box.warning {
  background-color: #ff9800;
}

.message-box.info {
  background-color: #2196F3;
}

.message-box.visible {
  opacity: 1;
  transform: translateY(0);
}
