#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 350px;
}

.toast {
    background-color: rgba(51, 51, 51, 0.75); /* Halbdurchsichtiges Schwarz */
    color: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Heller Rahmen */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    min-width: 300px;
    opacity: 0;
    animation: slideIn 0.3s forwards, fadeOut 0.3s 4.5s forwards;
    backdrop-filter: blur(15px); /* Erhöhter Blur-Effekt */
}

.toast-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.toast-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.toast-content {
    flex-grow: 1;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}
