#notification-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;

    position: fixed;
    z-index: 1000;
    bottom: 25px;
    right: 50px;
}

#notification-example {
    display: none;
}

.notification {
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-secondary);
    border-radius: var(--small-box--border-radius);
    padding: 10px 20px;
    min-width: 300px;

    animation: notification-show 0.5s ease forwards;
    animation-iteration-count: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification .type {
    font-size: 0.8em;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

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

.notification .message {
    font-size: 0.9em;
    color: var(--color-tertiary);
}

.notification .title,
.notification .message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification.clickable {
    cursor: pointer;
}

.notification.disappearing {
    pointer-events: none;
    transform: translateY(100%);
    opacity: 0;
}

@keyframes notification-show {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}