/* --- GLOBALS / RESETS (optional) --- */
/*👉* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }👈*/
  body {
   /*👉 font-family: sans-serif;
    background-color: #121212; ➡ dunkler Hintergrund ⬅👈*/
    color: #ffffff;
  }
  
  /* --- MESSAGEBOX OVERLAY --- */
  .message-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* halbtransparentes Overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999; /* über andere Inhalte legen */
  }
  
  /* Blende das Overlay aus, wenn "hidden" */
  .hidden {
    display: none !important;
  }
  
  /* --- MESSAGEBOX --- */
  .message-box {
    background-color: #1e1e1e;
    padding: 1rem;
    border-radius: 8px;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    user-select: none;
  }
  
  /* HEADER mit Titel und Icon */
  .message-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
  }
  
  .message-box-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  
  .message-box-title {
    font-size: 1.2rem;
    font-weight: bold;
    user-select: none;
  }
  
  /* BODY */
  .message-box-body {
    font-size: 0.95rem;
    line-height: 1.4;
    user-select: none;
  }
  
  /* BUTTONS */
  .message-box-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    user-select: none;
  }
  
  .message-box-button {
    background-color: #2e2e2e;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
  }
  .message-box-button:hover,
  .message-box-button:focus {
    background-color: #444444;
    outline: none;
  }
  
  .message-box-button.default {
    /* Kennzeichne den Default-Button etwas stärker */
    background-color: #3e3e3e;
    box-shadow: 0 0 0 2px #666666;
  }
  
  /* --- TOAST --- */
  .toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333333;
    color: #ffffff;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
  }
  
  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  
  /* Alternativ kann man die Toast-Animation auch via Keyframes gestalten */
  
  /* -- OPTIONAL: Icons je nach Typ farblich hervorheben -- */
  /* Hier nur als Beispiel .error, .warning, .info, .question */
  /* Du kannst das noch verfeinern oder weglassen. */
  
  .message-box-error #messageBoxIcon svg {
    fill: #e74c3c; /* rot für Fehler */
  }
  .message-box-warning #messageBoxIcon svg {
    fill: #f1c40f; /* gelb für Warnung */
  }
  .message-box-info #messageBoxIcon svg {
    fill: #3498db; /* blau für Info */
  }
  .message-box-question #messageBoxIcon svg {
    fill: #9b59b6; /* lila für Frage */
  }
  