.toast {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    color: white;
    border-radius: 5px;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 9999;
    pointer-events: none;
    font-family: sans-serif;
    margin-top: 0.5rem;
    overflow: hidden;
}

.toast.hide {
    opacity: 0;
    transform: translateY(-20px);
}

.toast.success{
    background-color: var(--Color-primary);
}
.toast.error{
    background-color: var(--Color-error);
}
.toast.info{
    background-color: var(--Color-primary);
}

.toast-content{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem 0.8rem 0.8rem;
}

.toast img{
    width: 20px;
    height: 20px;
}

.toast span{
    color: var(--Color-light);
    font-family: var(--Font-text), serif;
    font-size: var(--Text-s);
    max-width: 14rem;
}

.toast-progress{
    height: 2px;
    width: 100%;
    background-color: var(--Color-light);
    transform-origin: left;
    transition: transform 3.2s linear;
}
