/* =========================================================
 * Nhóm Gia hạn & hoá đơn + Server + Duyệt hồ sơ
 * (don-hang, hoa-don, duyet-ho-so, server) — tiền tố .ox-bl-
 * ========================================================= */

/* Mô tả đầu trang 1 dòng, chi tiết ở tooltip */
.ox-bl-lead { cursor: help; }

/* Thanh lọc trên đầu bảng */
.ox-bl-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--ox-border); }
.ox-bl-bar .ox-pills { box-shadow: none; background: var(--ox-surface-2); border-color: transparent; }
.ox-bl-bar .ox-pills a:not(.is-active):hover { background: #fff; }
.ox-bl-bar .ox-pills a:not(.is-active) em { background: #fff; }
.ox-bl-bar h2 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; }
.ox-bl-bar .ox-input-icon { flex: 0 1 280px; min-width: 0; }
.ox-bl-bar .ox-input-icon input { width: 100%; }

/* Trạng thái rỗng */
.ox-bl-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 24px; text-align: center; }
.ox-bl-empty .ox-ic { width: 52px; height: 52px; margin-bottom: 6px; }
.ox-bl-empty strong { font-size: 15px; }
.ox-bl-empty small { color: var(--ox-muted); font-size: 13px; max-width: 560px; }
.ox-card > .ox-bl-empty { padding: 32px 12px; }

/* Bảng */
.ox-bl-table td { vertical-align: middle; }
.ox-bl-table td small.ox-block { margin-top: 3px; }
.ox-bl-table td .ox-badge { margin-top: 0; }
.ox-bl-nowrap { white-space: nowrap; }
.ox-bl-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: var(--ox-surface-2); color: var(--ox-slate); font-size: 12px; font-weight: 500; white-space: nowrap; vertical-align: 1px; }
.ox-bl-tag .ox-icon { color: var(--ox-muted); }
.ox-bl-actions { width: 1%; white-space: nowrap; text-align: right; }
.ox-bl-actions .ox-icon-btn { width: 34px; height: 34px; border-radius: 10px; }
.ox-bl-table tbody tr.is-selected td { background: var(--ox-primary-soft); }
.ox-bl-table tbody tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--ox-primary); }

.ox-bl-small { font-size: 12.5px; }

/* ---------- Hoá đơn VAT ---------- */
.ox-bl-files { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ox-table td a.ox-bl-file, .ox-bl-file { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 8px; background: var(--ox-blue-soft); color: var(--ox-blue) !important; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; transition: transform .15s, background .15s; }
.ox-table td a.ox-bl-file:hover { color: #fff !important; background: var(--ox-blue); transform: translateY(-1px); }
.ox-bl-inv .ox-form-grid { align-items: start; gap: 14px 14px; }
.ox-bl-form .ox-card__title { margin-bottom: 16px; }
.ox-bl-form .ox-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.ox-bl-form input[type="file"] { padding: 8px; }
.ox-bl-filelist { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ox-bl-filelist li { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 8px; border: 1px solid var(--ox-border); border-radius: 12px; background: var(--ox-surface-2); font-size: 13px; }
.ox-bl-filelist a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ox-text) !important; font-weight: 500; }
.ox-bl-filelist a:hover { color: var(--ox-primary) !important; }
.ox-bl-filelist__ext { flex: none; padding: 2px 7px; border-radius: 6px; background: var(--ox-blue-soft); color: var(--ox-blue); font-size: 10.5px; font-weight: 700; }
.ox-bl-filelist .ox-icon-btn:hover { background: var(--ox-red-soft); color: var(--ox-red) !important; }
.ox-bl-acc { padding: 16px 20px; }
.ox-bl-acc > summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.ox-bl-acc > summary::-webkit-details-marker { display: none; }
.ox-bl-acc > summary > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ox-bl-acc > summary strong { font-size: 14.5px; }
.ox-bl-acc > summary small { color: var(--ox-muted); font-size: 12px; }
.ox-bl-acc > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-right: 2px solid var(--ox-slate); border-bottom: 2px solid var(--ox-slate); transform: rotate(45deg); transition: transform .15s; }
.ox-bl-acc[open] > summary::after { transform: rotate(-135deg); }
.ox-bl-acc[open] > summary { margin-bottom: 14px; }
.ox-bl-acc .ox-ic { width: 38px; height: 38px; }

/* ---------- Duyệt hồ sơ ---------- */
.ox-bl-headbadge { align-self: center; padding: 5px 12px; font-size: 13px; }
.ox-bl-review__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.ox-bl-review__who { flex: 1; min-width: 0; }
.ox-bl-review__who h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 16.5px; }
.ox-bl-review__who h2 a { color: var(--ox-text) !important; }
.ox-bl-review__who h2 a:hover { color: var(--ox-primary) !important; }
.ox-bl-review__who h2 .ox-bl-tag { margin: 0; }
.ox-bl-review__who p { margin-top: 3px; color: var(--ox-muted); font-size: 12.5px; }
.ox-bl-review__who p .ox-icon { vertical-align: -2px; }
.ox-bl-apply { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 4px 11px; border-radius: 99px; background: var(--ox-blue-soft); color: var(--ox-blue); font-size: 12px; font-weight: 600; white-space: nowrap; cursor: help; }
.ox-bl-review__sites { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 14px 72px; }
.ox-bl-review__sites .ox-bl-tag { margin: 0; color: var(--ox-text) !important; }
.ox-bl-review__sites .ox-bl-tag:hover { background: var(--ox-primary-soft); color: var(--ox-primary) !important; }
.ox-bl-diff td { vertical-align: middle; }
.ox-bl-diff__label { width: 26%; color: var(--ox-slate); font-weight: 600; font-size: 13px; }
.ox-bl-diff .ox-diff__old { width: 34%; overflow-wrap: anywhere; text-decoration: none; }
.ox-bl-diff .ox-diff__old span { text-decoration: line-through; }
.ox-bl-diff .ox-diff__new { overflow-wrap: anywhere; }
.ox-bl-diff__arrow { width: 1%; padding-left: 0 !important; padding-right: 0 !important; color: var(--ox-green); }
.ox-bl-review__form { margin: 0; padding: 14px 20px; border-top: 1px solid var(--ox-border); background: var(--ox-surface-2); align-items: center; }
.ox-bl-review__form input[type="text"] { max-width: none; background: #fff; }

@media (max-width: 760px) {
    .ox-bl-review__head { flex-wrap: wrap; padding: 14px 16px; }
    .ox-bl-review__head > .ox-bl-apply { margin-left: 52px; }
    .ox-bl-review__sites { padding: 0 16px 12px; }
    .ox-bl-diff thead { display: none; }
    .ox-bl-diff, .ox-bl-diff tbody { display: block; }
    .ox-bl-diff tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--ox-border); }
    .ox-bl-diff td { display: block; width: auto !important; padding: 0 !important; border: 0; background: none !important; }
    .ox-bl-diff td[data-label]::before { content: attr(data-label); display: block; color: var(--ox-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; text-decoration: none; letter-spacing: .03em; }
    .ox-bl-diff__label { grid-column: 1 / -1; }
    .ox-bl-diff__arrow { display: none !important; }
    .ox-bl-review__form { padding: 12px 16px; }
    .ox-bl-review__form input[type="text"] { flex: 1 1 100%; min-width: 0; }
    .ox-bl-review__form .ox-btn { flex: 1; }
}

@media (max-width: 760px) {
    .ox-bl-bar { padding: 12px; }
    .ox-bl-bar .ox-pills { display: flex; max-width: 100%; }
    .ox-bl-bar .ox-pills a { padding: 7px 10px; font-size: 13px; }
    .ox-bl-kpis .ox-kpi { padding: 14px 12px 14px 62px; min-height: 84px; }
    .ox-bl-kpis .ox-kpi::before { left: 12px; width: 38px; height: 38px; margin-top: -19px; }
    .ox-bl-kpis .ox-kpi::after { left: 22px; width: 18px; height: 18px; margin-top: -9px; }
    .ox-bl-kpis .ox-kpi .ox-kpi__value { font-size: 18px; overflow-wrap: anywhere; }
    .ox-bl-kpis .ox-kpi small { font-size: 11.5px; line-height: 1.4; }
    .ox-bl-bar .ox-input-icon { flex: 1 1 100%; }

    /* Bảng → thẻ xếp dọc */
    .ox-bl-table--stack thead { display: none; }
    .ox-bl-table--stack, .ox-bl-table--stack tbody { display: block; }
    .ox-bl-table--stack tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; padding: 14px 16px; border-bottom: 1px solid var(--ox-border); }
    .ox-bl-table--stack tbody tr:last-child { border-bottom: 0; }
    .ox-bl-table--stack td { display: block; padding: 0; border: 0; background: none !important; text-align: left !important; white-space: normal; }
    .ox-bl-table--stack td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--ox-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
    .ox-bl-table--stack td.ox-bl-main { grid-column: 1 / -1; padding-right: 44px; }
    .ox-bl-table--stack td.ox-bl-wide { grid-column: 1 / -1; }
    .ox-bl-table--stack td.ox-bl-actions { position: absolute; top: 10px; right: 10px; width: auto; }
    .ox-bl-table.ox-bl-table--stack tbody tr.is-selected td:first-child { box-shadow: none; }
    .ox-bl-table--stack tbody tr.is-selected { background: var(--ox-primary-soft); box-shadow: inset 3px 0 0 var(--ox-primary); }
}

/* ---------- Server ---------- */
.ox-bl-servers td { vertical-align: middle; }
.ox-bl-servers th { white-space: nowrap; }
.ox-bl-servers th[title] { cursor: help; }
.ox-bl-help { display: inline-flex; align-items: center; gap: 4px; }
.ox-bl-help .ox-icon { color: var(--ox-slate); }
.ox-bl-servers td[data-label="Server"] { min-width: 170px; }
.ox-bl-servers td[data-label="Server"] small { display: block; }
.ox-bl-servers td[data-label="Server"] .ox-badge { margin-top: 4px; }
.ox-bl-servers td[data-label="Hết hạn"] { white-space: nowrap; }
.ox-bl-date { display: block; font-weight: 500; }
.ox-bl-servers td[data-label="Hết hạn"] .ox-badge { margin-top: 3px; }
.ox-bl-servers td.ox-bl-actions { display: table-cell; }
.ox-bl-servers .ox-bl-actions .ox-icon-btn { color: var(--ox-slate) !important; }
.ox-bl-servers tfoot td { font-size: 14.5px; }

@media (max-width: 760px) {
    .ox-bl-servers tr { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px 10px !important; }
    .ox-bl-servers tbody tr { position: relative; }
    .ox-bl-servers td { font-size: 13.5px; }
    .ox-bl-servers td[data-label="Hết hạn"] .ox-badge { font-size: 11px; padding: 1px 7px; }
    .ox-bl-servers td[data-label="Server"] { padding-right: 84px !important; min-width: 0; }
    .ox-bl-servers td.ox-bl-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 2px; width: auto; }
    .ox-bl-servers td.ox-bl-actions:empty, .ox-bl-servers tfoot td.ox-bl-actions { display: none; }
    .ox-bl-servers td[data-label="Hết hạn"] { white-space: normal; }
    .ox-bl-servers tfoot td.ox-bl-sumlabel { grid-column: 1 / -1; }
}
/* ==================== BILL ĐƠN HÀNG ==================== */
.ox-bill-row { cursor: pointer; }
.ox-bill-act { width: 1%; text-align: right; }
.ox-bill-modal { width: min(560px, calc(100% - 24px)); }
.ox-bill-modal__body { background: #f3efeb; padding: 18px !important; }
/* Tấm bill gửi khách: dùng container query theo bề rộng tấm bill (ảnh chụp luôn rộng 480px → bố cục rộng) */
.ox-bill { container: oxbill / inline-size; width: 100%; padding: 22px 24px 18px; border-radius: 16px; background: #fff; color: #17202e; font: 400 13.5px/1.5 var(--ox-font); box-shadow: 0 10px 30px -18px rgba(23, 32, 46, .35); position: relative; overflow: hidden; }
.ox-bill * { box-sizing: border-box; }
.ox-bill::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #ff7a2e, #e8401c); }
.ox-bill__head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo stamp" "title title"; align-items: center; gap: 12px 14px; padding-bottom: 14px; border-bottom: 1px dashed #e7dfd8; }
.ox-bill__logo { grid-area: logo; display: flex; }
.ox-bill__logo img, .ox-bill__logo svg { height: 36px; width: auto; max-width: 100%; }
.ox-bill__stamp { grid-area: stamp; padding: 4px 10px; border: 1.5px solid currentColor; border-radius: 8px; font-style: normal; font-weight: 700; font-size: 11.5px; line-height: 1.4; text-transform: uppercase; white-space: nowrap; transform: rotate(-4deg); color: #c2700c; }
.ox-bill__stamp.is-paid { color: #12915f; }
.ox-bill__stamp.is-cancelled { color: #d1291c; }
.ox-bill__title { grid-area: title; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.ox-bill__title strong { font-size: 17px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.ox-bill__title span { color: #6b7686; font-size: 12.5px; white-space: nowrap; }
.ox-bill__info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 14px 0 16px; }
.ox-bill__info > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ox-bill__info > div.is-wide { grid-column: 1 / -1; }
.ox-bill__info dt { color: #8a93a3; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ox-bill__info dd { margin: 0; overflow-wrap: break-word; }
.ox-bill__info dd b { font-weight: 700; }
.ox-bill__info dd small { display: block; color: #6b7686; font-size: 12px; }
.ox-bill__term { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; white-space: nowrap; }
.ox-bill__term i { font-style: normal; color: #8a93a3; }
.ox-bill__term small { display: inline !important; margin-left: 4px; padding: 0 7px; border-radius: 99px; background: #faf1ea; color: #b4531f !important; font-size: 11.5px !important; font-weight: 600; }
.ox-bill__items { width: 100%; border-collapse: collapse; table-layout: auto; }
.ox-bill__items th { padding: 8px 10px; background: #faf6f2; color: #6b7686; font-size: 11px; font-weight: 600; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.ox-bill__items th:first-child { border-radius: 8px 0 0 8px; } .ox-bill__items th:last-child { border-radius: 0 8px 8px 0; }
.ox-bill__items th:last-child, .ox-bill__items td:last-child { width: 1%; padding-left: 14px; text-align: right; white-space: nowrap; }
.ox-bill__items td { padding: 9px 10px; border-bottom: 1px solid #f1ebe5; vertical-align: top; overflow-wrap: break-word; }
.ox-bill__items tbody td:last-child { font-variant-numeric: tabular-nums; }
.ox-bill__items tfoot td { border: 0; padding-top: 12px; font-weight: 700; font-size: 15px; vertical-align: middle; }
.ox-bill__items tfoot td:last-child { color: #e8401c; font-size: 20px; }
.ox-bill__words { margin: 0 10px; color: #6b7686; font-size: 12px; font-style: italic; text-align: right; text-wrap: balance; }
.ox-bill__pay { display: flex; gap: 16px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 14px; background: #fff7f2; border: 1px solid #ffe0cf; }
.ox-bill__pay img { width: 136px; height: 136px; flex: none; border-radius: 10px; background: #fff; object-fit: contain; }
.ox-bill__pay dl { display: flex; flex-direction: column; flex: 1; gap: 7px; margin: 0; min-width: 0; }
.ox-bill__pay dl div { display: flex; flex-direction: column; min-width: 0; }
.ox-bill__pay dt { color: #8a93a3; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ox-bill__pay dd { margin: 0; font-size: 13.5px; line-height: 1.4; overflow-wrap: break-word; }
.ox-bill__pay dd b { font-size: 15px; letter-spacing: .03em; }
.ox-bill__pay .is-hl dd b { color: #e8401c; font-size: 16px; }
.ox-bill__done { margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; background: #e9f8f1; color: #12915f; font-weight: 600; text-align: center; text-wrap: balance; }
.ox-bill__foot { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed #e7dfd8; color: #6b7686; font-size: 11.5px; text-align: center; }
.ox-bill__foot b { color: #17202e; font-size: 12.5px; text-wrap: balance; }
.ox-bill__foot > span { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 10px; }
.ox-bill__foot > span > span { white-space: nowrap; }
.ox-bill__foot > span > span + span::before { content: "·"; margin-right: 10px; color: #c3c9d2; }
/* Tấm bill hẹp (điện thoại): QR ở giữa, thông tin chuyển khoản dạng dòng nhãn – giá trị */
@container oxbill (max-width: 400px) {
    .ox-bill__info { gap: 10px 14px; }
    .ox-bill__pay { flex-direction: column; align-items: stretch; gap: 12px; }
    .ox-bill__pay img { width: 168px; height: 168px; align-self: center; }
    .ox-bill__pay dl { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; }
    .ox-bill__pay dl div { padding: 8px 0; border-top: 1px dashed #f6d2bd; }
    .ox-bill__pay dl div:nth-child(1) { grid-column: 1 / -1; order: 1; border-top: 0; padding-top: 0; }
    .ox-bill__pay dl div:nth-child(3) { grid-column: 1 / -1; order: 2; }
    .ox-bill__pay dl div:nth-child(2) { order: 3; }
    .ox-bill__pay dl div:nth-child(4) { order: 4; text-align: right; }
}
@media (max-width: 560px) {
    .ox-bill-modal__body { padding: 12px !important; }
    .ox-bill { padding: 20px 16px 16px; }
    .ox-bill-modal .ox-modal__foot { display: flex; flex-wrap: wrap; gap: 8px; }
    dialog.ox-bill-modal .ox-modal__foot .ox-btn { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; padding: 0 10px; }
    .ox-bill-modal .ox-modal__foot .ox-btn[hidden] { display: none; }
    .ox-bill-modal .ox-modal__foot:has(.ox-bill-share:not([hidden])) .ox-btn:not(.ox-bill-share) { padding: 0 6px; font-size: 12.5px; }
    .ox-bill-modal .ox-modal__foot:has(.ox-bill-share:not([hidden])) .ox-btn:not(.ox-bill-share) svg { display: none; }
    dialog.ox-bill-modal .ox-modal__foot .ox-btn--primary { flex: 1 1 100%; order: -1; }
}

/* ==================== HOÁ ĐƠN VAT ==================== */
.ox-inv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-bottom: 1px solid var(--ox-border); }
.ox-inv-bar .ox-pills { box-shadow: none; }
.ox-inv-bar .ox-input-icon input { width: 300px; }
.ox-inv-table td { vertical-align: middle; }
.ox-tag.is-amber { background: var(--ox-amber-soft); color: var(--ox-amber); }
.ox-inv-modal { width: min(720px, calc(100% - 24px)); }
.ox-inv-form { display: flex; flex-direction: column; gap: 16px; }
.ox-inv-form fieldset { margin: 0; padding: 14px 16px 16px; border: 1px solid var(--ox-border); border-radius: 14px; }
.ox-inv-form legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 700; font-size: 13.5px; }
.ox-inv-form legend span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ox-grad); color: #fff; font-size: 12px; }
.ox-inv-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed #e3d6cc; border-radius: 12px; background: var(--ox-surface-2); color: var(--ox-primary); cursor: pointer; transition: border-color .15s, background .15s; }
.ox-inv-drop:hover { border-color: var(--ox-primary); background: var(--ox-primary-soft); }
.ox-inv-drop span { display: flex; flex-direction: column; min-width: 0; }
.ox-inv-drop b { color: var(--ox-text); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ox-inv-drop small { color: var(--ox-muted); font-size: 12px; }
.ox-inv-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ox-inv-form .ox-bl-filelist { margin: 0 0 10px; }
.ox-inv-del { margin-right: auto; }
@media (max-width: 760px) { .ox-inv-bar .ox-input-icon, .ox-inv-bar .ox-input-icon input, .ox-inv-bar form { width: 100%; } .ox-inv-bar .ox-pills { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; } }

/* Server: hộp thoại gán website + khối kết quả */
.ox-sv-modal { width: min(560px, calc(100% - 24px)); }
.ox-sv-modal textarea { min-height: 180px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.ox-sv-opts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ox-sv-opts .ox-check { font-size: 13px; }
.ox-sv-result__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ox-sv-result__head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.ox-sv-result__head h2 .ox-icon { color: var(--ox-green); }
.ox-bill-shot { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; } .ox-bill-shot p { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--ox-primary-soft); color: #8a3a1f; font-size: 13px; } .ox-bill-shot img { max-width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 30px -16px rgba(23,32,46,.4); }
.ox-invq { display: flex; flex-direction: column; gap: 12px; border-color: #fde3b0; }
.ox-invq__head { display: flex; align-items: center; justify-content: space-between; }
.ox-invq__head h2 { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.ox-invq__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ox-invq__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 14px; border: 1px solid var(--ox-border); border-radius: 12px; }
.ox-invq__list li > div { display: flex; flex-direction: column; flex: 1; min-width: 180px; }
.ox-invq__list small { color: var(--ox-muted); font-size: 12.5px; }

/* Tin nhắn Zalo soạn sẵn (trên tấm bill trong hộp thoại, không nằm trong ảnh chụp) */
.ox-bill-msg { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; padding: 12px; border: 1px solid #e4dcd4; border-radius: 14px; background: #fff; }
.ox-bill-msg__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.ox-bill-msg__head b { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #0068ff; }
.ox-bill-msg__tag { padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #fff4e0; color: #b25e00; }
.ox-bill-msg__tag.is-expired { background: #fdecea; color: #c62a1c; }
.ox-bill-msg__tag.is-paid { background: #e9f8f1; color: #12915f; }
.ox-app .ox-bill-msg__text { width: 100%; min-height: 150px; max-height: 40vh; padding: 10px 12px; border: 1px solid var(--ox-border); border-radius: 10px; background: #f7f9fc; color: var(--ox-text); font: 400 13px/1.55 var(--ox-font); resize: vertical; }
.ox-bill-msg small { color: var(--ox-muted); font-size: 11.5px; line-height: 1.45; }