/* Container für alle Benachrichtigungen */
#notification-container {
    position: fixed;
    top: 20px;
    right: 25px;
    /*transform: translateX(-50%);  /* Verschiebung, um den Container exakt zu zentrieren */
    
    z-index: 1000; /* Stellt sicher, dass der Container immer oben angezeigt wird */
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column; /* Benachrichtigungen werden untereinander angezeigt */
    gap: 10px; /* Abstand zwischen den Benachrichtigungen */
    padding: 10px; /* Abstand vom Rand des Containers */
    max-height: 80vh; /* Maximale Höhe des Containers, falls es zu viele Benachrichtigungen gibt */
    overflow-y: auto; /* Ermöglicht Scrollen, wenn es zu viele Benachrichtigungen gibt */
}

/* Basis-Styling für Benachrichtigungen */
.notification {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: block;
    z-index: 9999;
    min-height: 60px;
}

/* Schließen-Button */
.notification button.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Typ-spezifische Styles */
.notification.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.notification.warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.notification.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.notification.info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}
