/**
 * Styles for the two customer-facing buttons wired up by menu-hooks.js:
 *   - #mpWaiterBtn        (already styled by menu.css — only the disabled/
 *                          cooldown state is added here)
 *   - #mpSubmitOrderBtn   (new — added to cart_panel.php)
 */

#mpWaiterBtn[disabled] {
    opacity: .55;
    pointer-events: none;
}

.mp-submit-order-bar {
    padding: 10px 16px 4px;
}

#mpSubmitOrderBtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    background: var(--colorPrimary, #C69D62);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
}

#mpSubmitOrderBtn:hover { opacity: .9; }
#mpSubmitOrderBtn[disabled] { opacity: .45; cursor: not-allowed; }
#mpSubmitOrderBtn.is-loading { opacity: .7; cursor: wait; }

.mp-submit-order-total {
    font-weight: 700;
    font-size: 12px;
    opacity: .9;
}

/* ── Toasts (standalone, doesn't rely on any theme toast system) ────── */

.mw-hook-toasts {
    position: fixed;
    bottom: 90px; /* sits above the bottom action bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
    width: 92%;
    max-width: 380px;
}

.mw-hook-toast {
    background: #102926;
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.mw-hook-toast--success { background: #3fa76c; }
.mw-hook-toast--error   { background: #d9534f; }
