/* Transaction history — dark marketplace order center */
.history-page{padding-bottom:28px}.history-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:14px;padding:27px 28px;border:1px solid #334568;border-radius:20px;background:radial-gradient(circle at 88% 8%,#8a67ff2b,transparent 25%),linear-gradient(115deg,#15254a,#151936);box-shadow:0 18px 45px #0003}.history-hero-title{display:flex;align-items:center;gap:17px}.history-hero-icon{display:grid;place-items:center;width:65px;height:65px;border:1px solid #ffffff21;border-radius:18px;background:#ffffff0c;color:#aeb8ff;font-size:26px}.history-eyebrow,.history-table-kicker{color:#a9b8ff;font-size:10px;font-weight:800;letter-spacing:.1em}.history-hero h1{margin:4px 0 5px;color:#f4f7ff;font-size:25px;font-weight:800;letter-spacing:-.03em}.history-hero p{margin:0;color:#a5b4d0;font-size:12px}.history-hero-actions{display:flex;gap:9px}.history-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 13px;border:1px solid #607198;border-radius:10px;background:#101b32;color:#dce7fb;text-decoration:none;font-size:11px;font-weight:700}.history-hero-actions .history-wallet{border:0;background:linear-gradient(100deg,#6879fa,#9865f4);box-shadow:0 8px 20px #6f67f633;color:#fff}.history-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:18px}.history-stats>div{padding:13px 15px;border:1px solid #293a59;border-radius:13px;background:#10192c}.history-stats span{display:flex;align-items:center;gap:6px;margin-bottom:7px;color:#8294b4;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.history-stats span i{color:#a4b0ff;font-size:13px}.history-stats strong{color:#edf3ff;font-size:15px;font-weight:800}.history-stats .history-status-live{color:#82e9c8;font-size:12px}.history-page .history-table-card .card-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 22px 2px!important}.history-table-card h2{margin:4px 0;color:#eef4ff;font-size:17px;font-weight:800}.history-table-card p{margin:0;color:#8192ad;font-size:11px}.history-table-badge{padding:7px 10px;border:1px solid #8090ff31;border-radius:8px;background:#6879fa12;color:#aeb8ff;font-size:10px;font-weight:700}.history-table-badge i{margin-right:4px}.history-page .card-body{padding-top:16px!important}.history-page .history-quantity{color:#ff8fa6;font-family:'JetBrains Mono',monospace;font-weight:800}.history-page .history-payment{color:#8fa2ff;font-family:'JetBrains Mono',monospace;font-weight:800}.history-page .history-view-btn{border:0!important;background:#5369ed!important;color:#fff!important}.history-page .history-download-btn{border:0!important;background:#159e81!important;color:#fff!important}.history-page table.table tbody td:last-child{white-space:nowrap}.history-page .dataTable-top{padding:9px 10px;border:1px solid #293a59;border-radius:11px;background:#0b1324}.history-page .dataTable-top:before{content:'TRA CỨU GIAO DỊCH';margin-right:auto;color:#8293b4;font-size:10px;font-weight:800;letter-spacing:.08em}.history-page .dataTable-dropdown{display:flex;align-items:center;gap:7px}.history-page .dataTable-dropdown:before{content:'Hiển thị';color:#8fa0bd;font-size:11px;font-weight:600}.history-page .dataTable-dropdown:after{content:'đơn';color:#8fa0bd;font-size:11px;font-weight:600}.history-page .dataTable-selector{min-width:58px!important;width:58px!important}.history-page .dataTable-search:after{content:'Tìm mã hoặc sản phẩm';position:absolute;z-index:1;left:33px;top:9px;color:#7a8cab;font-size:11px;font-weight:600;pointer-events:none}.history-page .dataTable-input::placeholder{color:transparent!important}.history-page .dataTable-search:focus-within:after{display:none}@media(max-width:700px){.history-hero{align-items:flex-start;flex-direction:column;padding:20px}.history-hero-actions{width:100%}.history-hero-actions a{flex:1}.history-stats{grid-template-columns:1fr}.history-page .history-table-card .card-header{align-items:flex-start;flex-direction:column}.history-table-badge{display:none}}@media(max-width:440px){.history-hero-title{align-items:flex-start}.history-hero-icon{width:51px;height:51px;font-size:20px}.history-hero h1{font-size:20px}}


/* Light variant: the order center needs its own hierarchy, not a dark card recolor. */
html[data-theme="light"] .history-page .history-hero{border-color:#d5def0!important;background:radial-gradient(circle at 92% 8%,#9f86ff42,transparent 31%),linear-gradient(116deg,#eef3ff 0%,#f9f7ff 100%)!important;box-shadow:0 15px 35px rgba(51,70,110,.12)!important}html[data-theme="light"] .history-page .history-hero-icon{border-color:#cdd8f2!important;background:linear-gradient(145deg,#fff,#e7edff)!important;color:#5369e8!important}html[data-theme="light"] .history-page .history-eyebrow,html[data-theme="light"] .history-page .history-table-kicker{color:#6276bd!important}html[data-theme="light"] .history-page .history-hero h1,html[data-theme="light"] .history-page .history-table-card h2{color:#253452!important}html[data-theme="light"] .history-page .history-hero p,html[data-theme="light"] .history-page .history-table-card p{color:#71809a!important}html[data-theme="light"] .history-page .history-hero-actions a{border-color:#ccd7ed!important;background:#fff!important;color:#405271!important}html[data-theme="light"] .history-page .history-hero-actions .history-wallet{background:linear-gradient(105deg,#566ce7,#8659d6)!important;color:#fff!important;box-shadow:0 8px 18px #626deb35!important}html[data-theme="light"] .history-page .history-stats>div{border-color:#dce4f0!important;background:linear-gradient(145deg,#fff,#f5f8fc)!important;box-shadow:0 8px 20px rgba(50,68,105,.07)!important}html[data-theme="light"] .history-page .history-stats span{color:#72819a!important}html[data-theme="light"] .history-page .history-stats span i{color:#6578dc!important}html[data-theme="light"] .history-page .history-stats strong{color:#263550!important}html[data-theme="light"] .history-page .history-table-card{border:1px solid #dbe3ef!important;background:#fff!important;box-shadow:0 16px 38px rgba(42,61,98,.1)!important}html[data-theme="light"] .history-page .history-table-card .card-header,html[data-theme="light"] .history-page .history-table-card .card-body{background:#fff!important}html[data-theme="light"] .history-page .history-table-badge{border-color:#d7def4!important;background:#edf0ff!important;color:#596ecb!important}html[data-theme="light"] .history-page .dataTable-top{border-color:#d9e2ef!important;background:#f7f9fd!important}html[data-theme="light"] .history-page .dataTable-top:before{color:#687a9a!important}html[data-theme="light"] .history-page .dataTable-dropdown:before,html[data-theme="light"] .history-page .dataTable-dropdown:after,html[data-theme="light"] .history-page .dataTable-search:after{color:#71809a!important}html[data-theme="light"] .history-page .dataTable-table>thead>tr>th{background:#eef2f8!important;color:#637493!important;border-bottom-color:#dbe3ef!important}html[data-theme="light"] .history-page .dataTable-table>tbody>tr>td{background:#fff!important;color:#35445e!important;border-bottom-color:#e7ecf3!important}html[data-theme="light"] .history-page .dataTable-table>tbody>tr:nth-child(even)>td{background:#fafbfe!important}html[data-theme="light"] .history-page .dataTable-table>tbody>tr:hover>td{background:#f0f4ff!important}

/* Light-mode final contrast guard for this component. */
html[data-theme="light"] .text-muted,html[data-theme="light"] small{color:#52637f!important;opacity:1!important}html[data-theme="light"] .btn{font-weight:700!important;opacity:1!important}html[data-theme="light"] .form-control,html[data-theme="light"] select{color:#203650!important;border-color:#c6d3e3!important}
