.history-route{
  min-height:100svh;
  width:100%;
  overflow-x:hidden;
  background:var(--a9-bg,#242424);
  color:var(--a9-text,#f3f3f3);
  font-family:var(--a9-font,Manrope,"Noto Sans Bengali",system-ui,sans-serif);
}
.history-page{
  z-index:auto;
  position:relative;
  inset:auto;
  width:100%;
  min-height:100svh;
  overflow-x:hidden;
  overflow-y:auto;
  color:#fff;
  font-family:Arial,Noto Sans Bengali,sans-serif;
  background:transparent;
}
.history-page .hist-wrap{
  box-sizing:border-box;
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:16px 16px 28px;
}
.history-page .hist-title{
  color:#ffcf55;
  margin:0 0 14px;
  font-size:22px;
  font-weight:800;
  line-height:1.2;
}
.history-page .hist-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
}
.history-page .hist-tab{
  color:#dbe4f3;
  background:#ffffff14;
  border:1px solid #ffffff24;
  border-radius:999px;
  min-height:40px;
  padding:0 16px;
  font:inherit;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.history-page .hist-tab-active{
  color:#111;
  background:linear-gradient(135deg,#ffcf55,#ff9800);
  border-color:transparent;
}
.history-page .hist-filters{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.history-page .hist-filters label{
  color:#aebbd0;
  font-size:12px;
  font-weight:700;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.history-page .hist-filters input,
.history-page .hist-filters select{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  color:#fff;
  background:#00000040;
  border:1px solid #ffffff1f;
  border-radius:8px;
  min-height:40px;
  padding:0 10px;
  font:inherit;
  font-size:14px;
}
.history-page .hist-search{
  grid-column:1/-1;
}
.history-page .hist-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  border:1px solid #ffffff1f;
  border-radius:12px;
  background:#ffffff0a;
}
.history-page .hist-table{
  border-collapse:collapse;
  min-width:1480px;
  width:100%;
  font-size:13px;
}
.history-page .hist-table-wckt{
  min-width:980px;
}
.history-page .hist-table th{
  color:#ffcf55;
  text-align:left;
  white-space:nowrap;
  background:#ffffff0f;
  padding:10px 12px;
  font-weight:800;
}
.history-page .hist-table td{
  border-top:1px solid #ffffff14;
  padding:10px 12px;
  vertical-align:top;
}
.history-page .hist-ref{
  word-break:break-all;
  max-width:220px;
}
.history-page .hist-empty,
.history-page .hist-loading,
.history-page .hist-error{
  text-align:center;
  padding:16px;
  color:#aebbd0;
}
.history-page .hist-error{color:#fda4af}
.history-page .hist-badge{font-weight:800;white-space:nowrap}
.history-page .hist-result-WIN,
.history-page .hist-type-deposit{color:#22c55e}
.history-page .hist-result-LOSS{color:#ef4444}
.history-page .hist-result-neutral{color:#aebbd0}
.history-page .hist-result-REFUND{color:#f59e0b}
.history-page .hist-result-BET{color:#3b82f6}
.history-page .hist-result-TRANSFER{color:#22d3ee}
.history-page .hist-type-withdrawal{color:#a855f7}
.history-page .hist-status-pending{color:#eab308}
.history-page .hist-status-failed{color:#ef4444}
.history-page .hist-status-ok{color:#86efac}
.history-page .hist-status-unknown{color:#94a3b8}
.history-page .hist-amt-pos{color:#22c55e}
.history-page .hist-amt-neg{color:#ef4444}
.history-page .hist-pager{
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  color:#aebbd0;
  font-size:13px;
}
.history-page .hist-pager button{
  color:#111;
  background:linear-gradient(135deg,#ffcf55,#ff9800);
  border:0;
  border-radius:8px;
  min-height:40px;
  padding:0 14px;
  font-weight:800;
}
.history-page .hist-pager button:disabled{opacity:.45;cursor:not-allowed}
@media (max-width:420px){
  .history-page .hist-wrap{padding:14px 12px 24px}
  .history-page .hist-title{font-size:20px}
  .history-page .hist-filters{grid-template-columns:1fr}
  .history-page .hist-tabs{margin-bottom:12px}
}
@media (min-width:900px){
  .history-page .hist-wrap{padding:24px 20px 32px}
  .history-page .hist-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
}
