#toast-container {
    position: fixed;
    z-index: 9999;
    top: 1rem;
    right: 1rem;
    left: 1rem;

    display: flex;
    flex-direction: column;

    gap: 0.5rem;
}

.toast {
    background: var(--color-neutral-80);

    padding: 1rem 1.4rem;
    border-radius: 12px;

    box-shadow: 0 4px 4px var(--color-neutral-40);

    display: flex;
    align-items: center;
    gap: 1rem;

    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.toast[data-visible="true"] {
    opacity: 1;
    transform: translateX(0);
}

.toast * {
    color: var(--color-neutral-10);
}

.toast img {
    width: 2rem;
    height: auto;
    background: unset;
}

.toast-close-icon {
    margin-left: auto;

    aspect-ratio: 1;
    flex-shrink: 0;
    width: fit-content;
    border-radius: 4px;
    padding: 0.2rem;
}

.toast-close-icon img {
    width: 1.4rem;
}

.toast-close-icon:hover {
    background: var(--color-neutral-70);
}

@media (min-width: 800px) {
    #toast-container {
        left: inherit;
        width: 20%;
    }
}
