/* Mục "Thuế affiliate 2026: tôi cần làm gì?" (include/partials/payment-history-tax-situation-faq.php)
 * Khối mở đầu + video, 4 câu hỏi dạng thẻ chọn, kết quả, hỏi đáp. Màu theo --primary của trang. */
.tx-sec { padding: 0; overflow: hidden; }
.tx-hero { display: flex; gap: 18px; align-items: center; padding: 18px 18px 16px;
    background: linear-gradient(135deg, #fff3ec 0%, #fff 70%); border-bottom: 1px solid #f6e1d7; }
.tx-hero-text { flex: 1; min-width: 0; }
.tx-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--primary, #ee4d2d);
    background: #fde4da; border-radius: 999px; padding: 3px 10px; text-transform: uppercase; letter-spacing: .03em; }
.tx-title { font-size: 1.25rem; font-weight: 800; margin: 8px 0 4px; color: var(--text-primary, #222); line-height: 1.3; }
.tx-sub { margin: 0 0 10px; color: var(--text-secondary, #555); font-size: .92rem; }
.tx-src { display: flex; flex-wrap: wrap; gap: 6px; }
.tx-src span { font-size: .72rem; color: #7a6a63; background: #fff; border: 1px solid #f1d9cf; border-radius: 6px; padding: 2px 8px; }
.tx-video { flex: none; width: 128px; text-align: center; }
.tx-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #000;
    box-shadow: 0 8px 22px rgba(120, 50, 20, .18); display: block; }
.tx-video-cap { font-size: .75rem; font-weight: 600; color: var(--primary, #ee4d2d); margin-top: 6px; }

.tx-wizard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 18px 4px; }
.tx-q { border: 1px solid var(--border, #e5e5e5); border-radius: 12px; padding: 12px; margin: 0; min-width: 0; background: #fff; }
.tx-q:has(input:checked) { border-color: #f3c6b6; background: #fffaf7; }
.tx-q-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: .9rem; margin: 0 0 10px; padding: 0;
    float: left; width: 100%; color: var(--text-primary, #222); line-height: 1.35; }
.tx-q-label small { display: block; font-weight: 500; font-size: .78rem; color: #8a7d77; margin-top: 2px; }
.tx-q-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #f3d5ca; color: #a3361d; font-size: .8rem;
    display: grid; place-items: center; }
.tx-q:has(input:checked) .tx-q-num { background: var(--primary, #ee4d2d); color: #fff; }
.tx-opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.tx-opt { position: relative; margin: 0; cursor: pointer; }
.tx-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tx-opt span { display: inline-block; padding: 7px 12px; border: 1px solid #e3d6d0; border-radius: 999px; font-size: .84rem;
    background: #fff; color: #4a3b35; transition: background .15s, border-color .15s, color .15s; }
.tx-opt:hover span { border-color: var(--primary, #ee4d2d); }
.tx-opt input:checked + span { background: var(--primary, #ee4d2d); border-color: var(--primary, #ee4d2d); color: #fff; font-weight: 600; }
.tx-opt input:focus-visible + span { outline: 2px solid #f7a58f; outline-offset: 2px; }

.tx-result { margin: 12px 18px 0; background: #f2fbf9; border: 1px solid #cdebe6; border-left: 4px solid #1f8a7c;
    border-radius: 12px; padding: 14px 16px; font-size: .9rem; }
.tx-result h4 { font-size: 1rem; font-weight: 800; margin: 0 0 8px; color: #145f55; }
.tx-result ol { padding-left: 1.25rem; margin: 0 0 8px; }
.tx-result li { margin-bottom: 6px; line-height: 1.5; }
.tx-result li::marker { color: #1f8a7c; font-weight: 700; }
.tx-result .tx-warn { color: #a35b00; }
.tx-disclaimer { margin: 8px 18px 0; font-size: .78rem; color: #8a7d77; }

.tx-faq-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 18px 18px 6px; }
.tx-faq-head h3 { font-size: 1rem; font-weight: 800; margin: 0; color: var(--text-primary, #222); }
.tx-faq-head span { font-size: .8rem; color: #8a7d77; }
.tx-faq { padding: 0 18px; }
.tx-faq .faq-item { padding: .7rem 0; }
.tx-faq .faq-item[open] summary { color: var(--primary, #ee4d2d); }
.tx-tag { display: inline-block; font-size: .7rem; font-weight: 700; border-radius: 6px; padding: 1px 7px; margin-right: 6px; vertical-align: 1px; }
.tx-tag-law { background: #dff3ee; color: #145f55; }
.tx-tag-unclear { background: #fff0d6; color: #8a5300; }
.tx-foot { font-size: .78rem; color: #8a7d77; margin: 0; padding: 12px 18px 16px; }

@media (max-width: 640px) {
    .tx-hero { flex-direction: column; align-items: stretch; }
    .tx-video { width: 150px; margin: 0 auto; }
    .tx-wizard { grid-template-columns: 1fr; }
}

/* Nhắc hạn Biểu mẫu xác nhận doanh thu năm của Shopee (tự ẩn sau 15/11/2026) */
.tx-deadline { display: flex; gap: 10px; align-items: flex-start; margin: 16px 18px 0; padding: 10px 12px; border: 1px solid #f5c26b; border-radius: 10px; background: #fff8e6; color: #5c4400; font-size: .875rem; line-height: 1.5; }
.tx-deadline > i { color: #d48806; font-size: 1.1rem; line-height: 1.3; }
