/* =====================================================================
   BEE PRINT - tombol aksi tambahan (tema Apple)
   File tambahan: TIDAK mengubah style.css, theme-apple.css, theme-apple-icons.css.
   Dimuat SETELAH theme-apple-icons.css. Hanya menyentuh .order-process-btn.
   ===================================================================== */
:root {
    --ap-i-play: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 4.5v15l12-7.5z%22/%3E%3C/svg%3E");
}

html body #orders-list .order-process-btn {
    background: #FFFFFF !important;
    border: 1px solid var(--border-strong, #D2D2D7) !important;
    border-radius: 999px !important;
    color: var(--proses, #B45F06) !important;
    font-size: 0 !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    padding: 5px 10px !important;
    margin-right: 3px !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease !important;
}

html body #orders-list .order-process-btn:hover {
    background: var(--proses-bg, #FFF5E6) !important;
}

html body #orders-list .order-process-btn:disabled {
    opacity: .5;
    cursor: default;
}

html body #orders-list .order-process-btn::before {
    all: unset !important;
    content: "" !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    flex: none !important;
    background-color: currentColor !important;
    -webkit-mask: var(--ap-i-play) center / contain no-repeat !important;
    mask: var(--ap-i-play) center / contain no-repeat !important;
}

html body #orders-list .order-process-btn::after {
    content: "Proses" / "";
    font-size: 12.5px !important;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Desktop (>=1024px): baris BARU kini punya 5 tombol. Bila lebar tabel tidak cukup, tombol aksi
   turun ke baris berikutnya di dalam sel (bukan terpotong). Mobile tetap seperti sebelumnya
   (tabel digulir ke samping, tombol satu baris). Hanya sel aksi yang diubah. */
@media (min-width: 1024px) {
    html body #orders-list td.order-actions {
        white-space: normal !important;
    }

    html body #orders-list td.order-actions > button {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }
}
