.notification {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: top 0.5s ease-in-out;
    z-index: 1000;
  }

  .notification.show {
    top: 20px;
  }

  .checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    color: #4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
  }

          /* Sicherstellen, dass kein Standard-Rand vorhanden ist */
          html, body {
          margin: 0;
          padding: 0;
      }
      /* Der Container füllt den gesamten Viewport */
      #container {
          display: flex;
          height: 100vh;
          width: 100%;
      }/* Sicherstellen, dass der Body und der Hauptcontainer die gesamte Höhe einnehmen */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column; /* Die Höhe richtig ausrichten */
    background-color: #1f2937; /* Dunkler Hintergrund für den gesamten Body */
    color: #e5e7eb; /* Helle Textfarbe */
}

/* Hauptcontainer, der das Menü links und den Inhalt rechts enthält */
#container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Menü auf der linken Seite */
.menu {
    width: 250px; /* Breite des Menüs */
    min-width: 250px; /* Stellt sicher, dass es nicht schmaler wird */
    background-color: #1a202c; /* Dunkler Hintergrund */
    color: white;
    height: 100vh;
    position: fixed; /* Fixiert es auf der linken Seite */
    top: 0;
    left: 0;
    overflow-y: auto; /* Falls das Menü viele Elemente hat */
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Stil für Menü-Links */
.menu a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.menu a:hover {
    background-color: #2d3748;
    border-radius: 5px;
}

/* Hauptinhalt neben dem Menü */
.main-content {
    flex: 1;
    margin-left: 250px; /* Platz für das Menü schaffen */
    padding: 20px;
    background-color: #2d3748; /* Dunkler Hintergrund für den Hauptinhalt */
    color: white;
    height: 100vh;
    overflow-y: auto;
}

/* Sicherstellen, dass keine Ränder für den gesamten Body und html vorhanden sind */
html, body {
    margin: 0;
    padding: 0;
}

/* Tabelle: Wrapper für horizontales Scrollen */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    border: 1px solid #4b5563;
    text-align: left;
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    background-color: #3b82f6;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2563eb;
}

/* Error-Banner */
#error-banner {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f87171;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    transition: top 0.5s ease-in-out;
}

#error-banner.show {
    top: 20px;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .menu {
        width: 200px;
        min-width: 200px;
    }

    .main-content {
        margin-left: 200px; /* Passt die Größe an, wenn der Bildschirm kleiner ist */
    }
}
