.toast-wapper {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    inset: 1rem;
}

.topLeft {
    top: 0;
    left: 0;
}
.topRight {
    top: 0;
    right: 0;
}
.topCenter {
    top: 0;
  left: 0; 
  right: 0; 
  margin-inline: auto; 
  width: fit-content;
}


.bottomLeft {
    bottom: 0;
    left: 0;
}
.bottomRight {
    bottom: 0;
    right: 0;
}
.bottomCenter {
    bottom: 0;
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    width: fit-content;
}




.toast {
    display: flex;
    align-items: center;
    line-height: 1.3;
    will-change: transform;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    pointer-events: auto;
    padding: 8px 10px;
    border-radius: 8px;
    background-color: #ffffff;
}

.toast-message {
    display: flex;
    justify-content: center;
    margin: 4px 10px;
    color: inherit;
    flex: 1 1 auto;
    white-space: pre-line;
}

.enter {
    animation:enterAnimation 0.35s cubic-bezier(.21,1.02,.73,1) forwards;
}

.exit {
    animation:exitAnimation 0.4s forwards cubic-bezier(.06,.71,.55,1);
}

@keyframes enterAnimation{
0% {transform: translate3d(0,calc(var(--direction)*-200%),0) scale(.6); opacity:.5;}
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}

}


@keyframes exitAnimation {
  0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
100% {transform: translate3d(0,calc(var(--direction)*-150%),-1px) scale(.6); opacity:0;}

}


.icon {
    width: 20px;
    opacity: 0;
    height: 20px;
    border-radius: 10px;
    position: relative;
    animation: circleAnimation 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 100ms;

}


@keyframes circleAnimation {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
