.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 460px;
    padding: 18px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 999999;
    backdrop-filter: blur(30px);
    animation: toastUp .5s ease;
    box-shadow: 0 20px 60px rgba( 0, 0, 0, .45);
    overflow: hidden;
}

    /* GLOW */

    .toast::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        border-radius: 30px;
    }

    .toast.success {
        background: rgba( 18, 22, 18, .96);
        border: 1px solid rgba( 82, 193, 110, .18);
    }

        .toast.success::before {
            background: #57c970;
        }

    .toast.error {
        background: rgba( 25, 16, 16, .96);
        border: 1px solid rgba( 220, 80, 80, .2);
    }

        .toast.error::before {
            background: #dc5050;
        }

.toast-icon {
    min-width: 54px;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    background: rgba( 255, 255, 255, .05);
}

.toast.success
.toast-icon {
    color: #57c970;
}

.toast.error
.toast-icon {
    color: #dc5050;
}

.toast-title {
    font-size: 15px;
    font-weight: 700;
}

.toast-text {
    margin-top: 4px;
    opacity: .75;
    font-size: 13px;
    line-height: 1.45;
}

@keyframes toastUp {

    from {
        opacity: 0;
        transform: translateX(-50%) translateY( 80px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY( 0);
    }
}

@media( max-width:768px) {

    .toast {
        bottom: 18px;
        width: calc(100% - 20px);
        padding: 16px;
        border-radius: 22px;
    }
}
