/* Vé bảo lưu VJA */
.vja-page { display: flex; flex-direction: column; gap: 14px; }
.vja-panel-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.vja-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.vja-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 12px; font-weight: 800; cursor: pointer; color: var(--ink-2); }
.vja-tabs button.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.vja-tabs button small { margin-left: 6px; color: var(--muted); }
.vja-head-actions, .vja-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vja-filters { padding: 10px 14px; }
.vja-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 12px; }
.vja-table-wrap { padding: 0 10px 14px; }
.vja-row { cursor: pointer; }
.vja-row.tone-hot td:nth-child(6), .vja-st.is-hot { color: #b91c1c; }
.vja-row.tone-warn td:nth-child(6), .vja-st.is-warn { color: #c2410c; }
.vja-row.tone-soft td:nth-child(6) { color: #a16207; }
.vja-row.tone-expired td { color: #64748b; }
.vja-st { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #eef2ff; }
.vja-st.is-ok { background: #ecfdf5; color: #047857; }
.vja-st.is-held { background: #d1fae5; color: #065f46; }
.vja-st.is-partial { background: #eff6ff; color: #1d4ed8; }
.vja-st.is-hot { background: #fef2f2; color: #b91c1c; }
.vja-st.is-expired { background: #f1f5f9; color: #475569; }
.vja-st.is-done { background: #f8fafc; color: #64748b; }
.vja-st.is-pending { background: #fffbeb; color: #b45309; }
.vja-st.is-cancel { background: #f1f5f9; color: #94a3b8; text-decoration: line-through; }
.vja-st.is-watch { background: #f5f3ff; color: #6d28d9; margin-left: 4px; }
.vja-watch-flag { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 8px 0; }
.vja-watch-flag input { width: 16px; height: 16px; }
.vja-refund-status { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 4px 0 8px; }
.vja-refund-status legend { font-size: 12px; font-weight: 800; padding: 0 6px; }
.vja-radio { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; font-weight: 600; cursor: pointer; }
.vja-radio input { margin-top: 3px; }
.vja-table td small { display: block; color: var(--muted); font-weight: 600; }
.vja-modal form, .vja-detail-modal .modal-card { width: min(920px, 96vw); max-height: min(92vh, 900px); display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; }
.vja-modal-scroll { flex: 1; min-height: 0; overflow: auto; padding: 12px 20px 16px; }
.vja-paste-label textarea { width: 100%; }
.vja-paste-actions { margin: 6px 0 12px; }
.vja-legs { margin: 12px 0; }
.vja-legs-head, .vja-use-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 0; }
.vja-detail-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.vja-table .loss, .vja-detail-grid .loss, .vja-table td small.loss { color: #b91c1c; }
.vja-table .gain, .vja-detail-grid .gain, .vja-table td small.gain { color: #047857; }
.vja-ticket-hold small { display: block; margin-top: 4px; }
.vja-ticket-money { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 8px 0 4px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; background: #f8fafc; }
.vja-ticket-money .full-width, .vja-ticket-money .expense-hint { grid-column: 1 / -1; }
.vja-detail-grid article { background: var(--bg-soft, #f8fafc); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.vja-detail-grid small { color: var(--muted); font-size: 10px; font-weight: 800; }
.vja-detail-grid b { display: block; margin-top: 4px; }
.vja-files { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.vja-files a, .vja-files span { padding: 6px 10px; border-radius: 8px; background: #eff6ff; font-size: 12px; }
.vja-audit { margin: 0; padding-left: 18px; color: var(--muted); }
.vja-meta { color: var(--muted); font-size: 13px; }
.form-grid .full-width { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .vja-detail-grid { grid-template-columns: 1fr 1fr; }
}
