/*==================================
    TOAST CONTAINER
==================================*/

.toast-container {

    position: fixed;

    top: 25px;

    right: 25px;

    z-index: 10000;

    display: flex;

    flex-direction: column;

    gap: 15px;

}

/*==================================
    TOAST
==================================*/

.toast {

    min-width: 320px;

    max-width: 420px;

    padding: 18px 22px;

    border-radius: 18px;

    color: white;

    font-size: 15px;

    font-weight: 500;

    box-shadow: 0 20px 45px rgba(0, 0, 0, .35);

    animation: toastIn .35s ease;

    display: flex;

    align-items: center;

    gap: 14px;

}

/*==================================
    SUCCESS
==================================*/

.toast.success {

    background: linear-gradient(135deg,
            #16A34A,
            #22C55E);

}

/*==================================
    ERROR
==================================*/

.toast.error {

    background: linear-gradient(135deg,
            #DC2626,
            #EF4444);

}

/*==================================
    INFO
==================================*/

.toast.info {

    background: linear-gradient(135deg,
            #2563EB,
            #3B82F6);

}

/*==================================
    ANIMATION
==================================*/

@keyframes toastIn {

    from {

        opacity: 0;

        transform: translateX(60px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

@keyframes toastOut {

    from {

        opacity: 1;

        transform: translateX(0);

    }

    to {

        opacity: 0;

        transform: translateX(60px);

    }

}

.toast.hide {

    animation: toastOut .35s forwards;

}