.opdc-panel{box-sizing:border-box;width:100%;margin:6px 0;padding:6px 8px;background:#fafafa;border:1px solid #ddd;border-radius:6px;font-size:13px;color:#222;direction:ltr;text-align:left;flex:0 0 auto}
.opdc-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;font-weight:600}
.opdc-head .opdc-rate{font-weight:400;color:#555}
.opdc-table{width:100%;border-collapse:collapse;table-layout:fixed}
.opdc-table th,.opdc-table td{padding:2px 6px;vertical-align:middle}
.opdc-table thead th{text-align:center;font-weight:600;border-bottom:1px solid #ddd}
.opdc-table tbody th{text-align:left;font-weight:600;width:24%;white-space:nowrap}
.opdc-table td{text-align:right}
.opdc-total td{font-weight:700;font-size:15px}
.opdc-recv td{text-align:left}
.opdc-recv input{box-sizing:border-box;width:100%;height:32px;padding:0 8px;border:1px solid #bbb;border-radius:4px;background:#fff;font:inherit;font-size:15px;text-align:right}
.opdc-recv input:focus{outline:2px solid #3f51b5;border-color:#3f51b5}
.opdc-recv small{display:block;min-height:15px;color:#666;text-align:right;font-size:11px}
.opdc-remain td{font-weight:700;font-size:15px;color:#f44336}
.opdc-remain.opdc-is-change td,.opdc-remain.opdc-is-change th{color:#2e7d32}
.opdc-remain.opdc-is-done td{color:#222}

.opdc-rel{position:relative}
.opdc-cart-usd{position:absolute;right:14px;top:50%;transform:translateY(-50%);padding:2px 10px;border-radius:12px;background:rgba(255,255,255,.2);color:#fff;font-size:13px;font-weight:600;line-height:20px;white-space:nowrap;direction:ltr;pointer-events:none;z-index:2}
@media (max-width:480px){.opdc-cart-usd{right:6px;font-size:11px;padding:1px 6px}}

/* ---- WhatsApp receipt ---- */
.opdc-wa-bar{padding:4px 25px 0;box-sizing:border-box}
.opdc-wa-btn{width:100%;height:44px;border:0;border-radius:4px;background:#25d366;color:#fff;font:600 14px/44px inherit;font-family:inherit;cursor:pointer}
.opdc-wa-btn:hover{background:#1ebe5b}
.opdc-wa-btn.opdc-wa-wait{opacity:.75}
.opdc-wa-ic{font-size:16px}
.opdc-wa-modal{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.opdc-wa-card{background:#fff;border-radius:8px;width:100%;max-width:420px;max-height:100%;overflow:auto;padding:18px;box-sizing:border-box;font-family:inherit;font-size:14px;color:#222;direction:ltr;text-align:left}
.opdc-wa-title{font-size:18px;font-weight:700;margin-bottom:2px}
.opdc-wa-sub{color:#666;margin-bottom:12px}
.opdc-wa-opts{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.opdc-wa-opt{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #ddd;border-radius:6px;cursor:pointer}
.opdc-wa-manual label{display:block;margin:8px 0 2px;font-weight:600}
.opdc-wa-manual input[type=text],.opdc-wa-manual input[type=tel]{box-sizing:border-box;width:100%;height:38px;padding:0 10px;margin-top:4px;border:1px solid #bbb;border-radius:4px;font:inherit;font-weight:400}
.opdc-wa-manual input.opdc-bad{border-color:#f44336}
.opdc-wa-manual label.opdc-wa-check{font-weight:400;display:flex;align-items:center;gap:6px;margin-top:10px}
.opdc-wa-err{color:#f44336;font-size:12px;min-height:0}
.opdc-wa-note{color:#555;margin:8px 0}
.opdc-wa-msg{margin:10px 0;padding:8px 10px;border-radius:4px}
.opdc-wa-bad{background:#fdecea;color:#b71c1c}
.opdc-wa-ok{background:#e8f5e9;color:#1b5e20}
.opdc-wa-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
.opdc-wa-actions button,.opdc-wa-actions a{height:40px;padding:0 16px;border-radius:4px;border:0;font:600 14px/40px inherit;font-family:inherit;cursor:pointer;text-decoration:none;display:inline-block;text-align:center}
.opdc-wa-send{background:#25d366;color:#fff}
.opdc-wa-send:disabled{opacity:.6}
.opdc-wa-secondary{background:#eee;color:#222}

.opdc-wa-acwrap{position:relative}
.opdc-wa-sug{position:absolute;left:0;right:0;top:100%;z-index:5;margin:2px 0 0;padding:0;list-style:none;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.18);max-height:200px;overflow:auto}
.opdc-wa-sug[hidden]{display:none}
.opdc-wa-sug li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;cursor:pointer;border-bottom:1px solid #f0f0f0;font-weight:400}
.opdc-wa-sug li:last-child{border-bottom:0}
.opdc-wa-sug li:hover,.opdc-wa-sug li.opdc-active{background:#e8f5e9}
.opdc-wa-sug li strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.opdc-wa-sug .opdc-ph{color:#2e7d32;font-size:12px;white-space:nowrap}
.opdc-wa-sug .opdc-none{color:#999;font-style:italic}

.opdc-recv input.opdc-active{border-color:#3f51b5;background:#f3f5ff;box-shadow:0 0 0 2px #3f51b5}
