/* Toast Notices */

.mm-toast-stack {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.mm-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    line-height: 1.4;
    pointer-events: auto;
}

.mm-toast--success {
    background: #111;
    color: #fff;
}

.mm-toast--notice {
    background: #fff;
    color: #111;
}

.mm-toast--error {
    background: #c1121f;
    color: #fff;
}

.mm-toast__content {
    flex: 1;
}

.mm-toast__content a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mm-toast--notice .mm-toast__content a {
    color: #111;
}

.mm-toast__close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mm-toast__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.mm-toast--notice .mm-toast__close {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}

.mm-toast--notice .mm-toast__close:hover {
    background: rgba(0, 0, 0, 0.14);
}

@media (max-width: 767px) {
    .mm-toast-stack {
        top: auto;
        right: 16px;
        bottom: 20px;
        left: 16px;
        width: auto;
    }

    .mm-toast {
        border-radius: 12px;
    }
}
