.mma-toast {
    position: fixed;
    top: 74px;
    right: 24px;
    z-index: 9999;
    background: #222;
    color: #fff;
    padding: 14px 14px 14px 14px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(-20px);
}
.mma-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mma-toast-msg {
    display: block;
    margin-bottom: 0;
}

.mma-toast-timer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 6px;
    width: 100%;
    background: #4caf50;
    border-radius: 0 0 8px 8px;
    transition: width 3s linear;
    z-index: 1;
}
@media (max-width: 768px) {
    .mma-toast {
        right: unset !important;
        bottom: 25px !important;
        top: unset !important;
        place-self: center;;
    }
}