.message-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.message-box {
  background-color: white;
  padding: 1.5em 2em;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 90%;
  font-family: sans-serif;
  font-size: 1rem;
  color: #333;
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

/* Jedes einzelne Item */
.message-item {
  padding: 0.75em 1em;
  background-color: #f5f5f5;
  border-left: 4px solid #e74c3c;
  border-radius: 4px;
}

/* Close-Button */
.message-box::after {
  content: '✕';
  position: absolute;
  top: 0.5em;
  right: 0.7em;
  font-size: 1.2em;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}

.message-box::after:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
