/* ==========================================================
   balance.css - 회차별 조건 적합도 (밸런스 분석) 전용 스타일시트
   ========================================================== */

.balance-card {
  width: 100%;
  box-sizing: border-box;
}

.balance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.balance-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.balance-table-legend-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 20px 8px 20px;
}

.balance-legend-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.balance-legend-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 14px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #94A3B8;
}

.legend-item strong {
  color: #E2E8F0;
}

.legend-item .legend-sub {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 500;
}

.btn-criteria-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-criteria-toggle:hover,
.btn-criteria-toggle.active {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38BDF8;
  color: #F8FAFC;
}

.balance-criteria-guide {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
}

.criteria-guide-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 1200px) {
  .criteria-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.criteria-chip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 11.5px;
}

.criteria-chip .c-name {
  font-weight: 800;
  color: #E2E8F0;
  font-size: 12px;
  margin-bottom: 1px;
}

.criteria-chip .c-std {
  color: #34D399;
  font-weight: 700;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
}

.criteria-chip .c-std::before {
  content: '표준: ';
  color: #94A3B8;
  font-weight: 600;
}

.criteria-chip .c-dev {
  color: #F87171;
  font-weight: 600;
  font-size: 11px;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
}

.criteria-chip .c-dev::before {
  content: '비표준: ';
  color: #94A3B8;
  font-weight: 600;
}

.legend-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 800;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
}

.legend-cell.sample-normal {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.legend-cell.sample-deviant {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

/* 상단 인사이트 배너 (좌우 배치) */
.balance-insight-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  flex-wrap: wrap;
}

.insight-col.col-main {
  flex: 1;
  min-width: 340px;
  max-width: 100%;
}

.insight-col.col-stats {
  flex-shrink: 0;
  max-width: 100%;
}

.balance-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}

.balance-chart-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #E2E8F0;
  letter-spacing: -0.2px;
}

.balance-chart-tip {
  font-size: 11px;
  color: #64748B;
}

.balance-score-chart {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px 8px 12px;
  min-height: 122px;
  box-sizing: border-box;
}

.score-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 2px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.16s ease;
}

.score-bar-col:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.25);
}

.score-bar-col.active {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.55);
}

.score-bar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.score-bar-cnt {
  font-size: 11px;
  font-weight: 800;
  color: #F1F5F9;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
}

.score-bar-pct {
  font-size: 10px;
  color: #94A3B8;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
}

.score-bar-track {
  width: 100%;
  max-width: 26px;
  height: 44px;
  background: rgba(30, 41, 59, 0.75);
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1px;
  box-sizing: border-box;
}

.score-bar-fill {
  width: 100%;
  border-radius: 3px;
  min-height: 3px;
  transition: height 0.3s ease;
}

.score-bar-col.tier-perfect .score-bar-fill {
  background: linear-gradient(180deg, #34D399 0%, #059669 100%);
}

.score-bar-col.tier-perfect .score-bar-lbl {
  color: #34D399;
}

.score-bar-col.tier-gold .score-bar-fill {
  background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
}

.score-bar-col.tier-gold .score-bar-lbl {
  color: #38BDF8;
}

.score-bar-col.tier-deviant .score-bar-fill {
  background: linear-gradient(180deg, #F87171 0%, #DC2626 100%);
}

.score-bar-col.tier-deviant .score-bar-lbl {
  color: #F87171;
}

.score-bar-lbl {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.stat-pill-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  min-height: 122px;
  min-width: 145px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
}

.stat-pill.pill-perfect {
  border-top: 3px solid rgba(52, 211, 153, 0.65);
}

.stat-pill.pill-gold {
  border-top: 3px solid rgba(56, 189, 248, 0.65);
}

.stat-pill.pill-deviant {
  border-top: 3px solid rgba(248, 113, 113, 0.65);
}

.stat-pill:hover {
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-pill.pill-perfect.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: #34D399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.stat-pill.pill-gold.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.stat-pill.pill-deviant.active {
  background: rgba(248, 113, 113, 0.18);
  border-color: #F87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.3);
}

.stat-pill .pill-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #E2E8F0;
  letter-spacing: -0.2px;
}

.stat-pill .pill-value {
  font-size: 16.5px;
  font-weight: 800;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
}

.stat-pill.pill-gold .pill-value {
  color: #38BDF8;
}

.stat-pill.pill-perfect .pill-value {
  color: #34D399;
}

.stat-pill.pill-deviant .pill-value {
  color: #F87171;
}

@media (max-width: 1100px) {
  .balance-insight-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .insight-col.col-main,
  .insight-col.col-stats {
    width: 100%;
    min-width: 0;
  }

  .stat-pill {
    min-width: 0;
    min-height: 92px;
    padding: 12px 8px;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .balance-insight-banner {
    padding: 14px 12px;
    gap: 12px;
  }

  .balance-score-chart {
    gap: 4px;
    padding: 8px 6px 6px 6px;
  }

  .stat-pill-group {
    gap: 6px;
  }

  .stat-pill {
    min-height: 78px;
    padding: 10px 4px;
    gap: 5px;
  }

  .stat-pill .pill-label {
    font-size: 11px;
    letter-spacing: -0.4px;
    white-space: nowrap;
  }

  .stat-pill .pill-value {
    font-size: 13px;
    white-space: nowrap;
  }
}

/* ==========================================================
   검색 & 필터 바 (.search-bar-box)
   ========================================================== */
.search-bar-box.balance-search-bar-box {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px 20px 0 20px;
  flex-wrap: wrap;
  align-items: center;
}

.history-search-input {
  width: 280px;
  max-width: 100%;
  flex: none;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 40px;
  box-sizing: border-box;
}

.history-search-input:focus {
  border-color: #38BDF8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.btn-history-search {
  background: var(--primary, #3B82F6);
  color: white;
  border: none;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-history-search:hover {
  background: #2563EB;
  transform: translateY(-1px);
}

/* 정렬 버튼 그룹 */
.history-sort-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-history-sort {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-history-sort:hover {
  background: rgba(51, 65, 85, 0.85);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-history-sort.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3B82F6;
  color: #60A5FA;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

.btn-history-sort .sort-icon {
  font-size: 11px;
  opacity: 0.8;
}

.btn-history-sort.active .sort-icon {
  opacity: 1;
  color: #93C5FD;
}

/* 밸런스 성격 필터 칩 */
.balance-score-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-balance-filter {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  font-size: 12px;
  font-weight: 600;
  padding: 0 12px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-balance-filter:hover {
  background: rgba(51, 65, 85, 0.85);
  color: #F8FAFC;
}

.btn-balance-filter.active {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3B82F6;
  color: #93C5FD;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* 목록 개수 선택 상자 */
.pagesize-control-box {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.pagesize-label {
  font-size: 12.5px;
  color: #94A3B8;
  white-space: nowrap;
}

.history-pagesize-select {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  height: 40px;
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
}

.history-pagesize-select:focus {
  border-color: #38BDF8;
}

/* ==========================================================
   회차별 완전조합기 18대 조건 매트릭스 테이블
   ========================================================== */
.balance-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.balance-grid-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.balance-grid-table th,
.balance-grid-table td {
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.balance-grid-table thead th {
  background: rgba(30, 41, 59, 0.95);
  color: #94A3B8;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 3px;
}

/* 3) 컬럼 많아짐에 따라 회차 / 당첨번호 / 부합개수 컬럼 너비 컴팩트하게 축소 */
.col-b-round {
  width: 58px;
  min-width: 54px;
  max-width: 62px;
  font-size: 12px;
  color: #60A5FA;
  font-weight: 800;
  padding: 6px 2px !important;
}

.col-b-balls {
  width: 180px;
  min-width: 175px;
  max-width: 195px;
  padding: 6px 4px !important;
}

.col-b-conditions-head {
  background: rgba(15, 23, 42, 0.9) !important;
  color: #E2E8F0 !important;
  font-size: 12px;
  padding: 6px 8px !important;
  letter-spacing: -0.2px;
}

.col-b-score {
  width: 72px;
  min-width: 68px;
  max-width: 78px;
  font-size: 11.5px;
  font-weight: 800;
  color: #CBD5E1;
  padding: 6px 2px !important;
}

/* 세로 헤더 컬럼 */
.balance-subhead-row {
  height: 130px;
}

/* 기본 슬림 조건 헤더 (숫자 1~3글자) */
.th-cond-v {
  width: 30px;
  min-width: 28px;
  max-width: 32px;
  height: 130px;
  padding: 10px 1px !important;
  position: relative;
  background: rgba(22, 30, 46, 0.95) !important;
  vertical-align: middle !important;
}

/* 2) 데이터가 길어지는 조건 컬럼은 데이터에 맞게 너비 높이기 */
.th-cond-v.th-w-wide {
  width: 52px !important;
  min-width: 50px !important;
  max-width: 58px !important;
}

.th-cond-v.th-w-pattern {
  width: 76px !important;
  min-width: 72px !important;
  max-width: 82px !important;
}

.th-cond-v span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 5px;
  font-size: 13px;
  font-weight: 800;
  color: #E2E8F0;
  display: inline-block;
  line-height: 1.2;
  user-select: none;
  margin-bottom: -5px;
}

.th-cond-v:hover {
  background: #27354A !important;
}

.th-cond-v:hover span {
  color: #38BDF8;
}

/* 행(tr) 및 셀(td) 디자인 */
.balance-grid-table tbody tr {
  transition: background 0.12s ease;
}

.balance-grid-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.5) !important;
}

.td-b-round {
  font-weight: 800;
  color: #60A5FA;
  font-size: 12px;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
  background: rgba(15, 23, 42, 0.3);
  white-space: nowrap;
  padding: 6px 2px !important;
}

.td-b-balls {
  padding: 6px 3px !important;
}

.td-b-balls .balls-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}

/* 미니볼 컴팩트 축소 (24px x 24px) */
.td-b-balls .mini-ball {
  width: 23px !important;
  height: 23px !important;
  font-size: 10.5px !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  user-select: none;
}

.td-b-balls .bonus-plus {
  font-size: 10px;
  margin: 0;
  color: #94A3B8;
  flex-shrink: 0;
}

/* 조건 그리드 수치 셀 */
.td-cond-cell {
  width: 30px;
  min-width: 28px;
  max-width: 32px;
  padding: 6px 0 !important;
  font-size: 11px;
  font-weight: 700;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
  cursor: default;
  transition: transform 0.1s ease, filter 0.1s ease;
  white-space: nowrap;
}

/* 2) 긴 데이터 셀 너비 지정 */
.td-cond-cell.cell-w-wide {
  width: 52px !important;
  min-width: 50px !important;
  max-width: 58px !important;
  font-size: 10.5px;
  letter-spacing: -0.3px;
}

.td-cond-cell.cell-w-pattern {
  width: 76px !important;
  min-width: 72px !important;
  max-width: 82px !important;
  font-size: 10.5px;
  letter-spacing: -0.3px;
}

.td-cond-cell:hover {
  z-index: 2;
  position: relative;
  filter: brightness(1.25);
}

/* 1. 표준 범위 부합 (정상/모범생) */
.td-cond-cell.cond-normal {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
}

/* 2. 표준 범위 이탈 (변수/이상치) */
.td-cond-cell.cond-deviant {
  background: rgba(239, 68, 68, 0.24);
  color: #F87171;
  font-weight: 800;
}

/* 부합 개수 셀 */
.td-b-score {
  padding: 6px 2px !important;
  white-space: nowrap;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  font-family: 'JetBrains Mono', 'Pretendard', sans-serif;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.score-badge.badge-perfect {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.4) 100%);
  border: 1px solid #10B981;
  color: #34D399;
}

.score-badge.badge-golden {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.4) 100%);
  border: 1px solid #3B82F6;
  color: #60A5FA;
}

.score-badge.badge-deviant {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.35) 100%);
  border: 1px solid #EF4444;
  color: #F87171;
}

/* ==========================================================
   페이징 컨트롤러
   ========================================================== */
.history-pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding: 16px 20px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.history-page-btn,
.btn-page-nav,
.btn-page-num {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.history-page-btn:hover:not(:disabled),
.btn-page-nav:hover:not(:disabled),
.btn-page-num:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.history-page-btn.active,
.btn-page-num.active {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #FFFFFF;
  border-color: #60A5FA;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.history-page-btn:disabled,
.btn-page-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.history-page-info {
  font-size: 12.5px;
  color: #94A3B8;
  margin: 0 8px;
  font-weight: 600;
}

.history-page-jump-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.history-page-jump-input {
  width: 52px;
  height: 30px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #60A5FA;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  outline: none;
  box-sizing: border-box;
  -moz-appearance: textfield;
  appearance: textfield;
}

.history-page-jump-input::-webkit-outer-spin-button,
.history-page-jump-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-history-page-jump {
  height: 30px;
  padding: 0 10px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93C5FD;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-history-page-jump:hover {
  background: var(--primary, #3B82F6);
  color: #FFFFFF;
}