﻿/* Page styles for qxc.html */

.cy-trend-tools  {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cy-trend-wrap  {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(0, 154, 214, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(43, 68, 144, 0.08);
}

.cy-trend-scroll  {
  position: relative;
  isolation: isolate;
  max-height: 900px;
  overflow-y: auto;
  overflow-x: visible;
  background: #fff;
  scrollbar-gutter: stable;
}

.cy-trend-table  {
  position: relative;
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 12px;
}

.cy-trend-table th,
.cy-trend-table td  {
  box-sizing: border-box;
  min-width: 34px;
  height: 34px;
  padding: 4px 6px;
  border: 1px solid #dce9f0;
  background: #fff;
  text-align: center;
  white-space: nowrap;
}

.cy-trend-table thead th  {
  position: sticky;
  z-index: 60;
  background: #eaf4fa;
  background-clip: border-box;
  border-color: #cfe3ed;
  color: var(--cy-navy);
  font-weight: 900;
  box-shadow: 0 2px 0 #cfe3ed, 0 4px 10px rgba(43, 68, 144, 0.1);
}

.cy-trend-table thead tr:first-child th  {
  top: 0;
  height: 36px;
}

.cy-trend-table thead tr:first-child th  {
  background: linear-gradient(135deg, var(--cy-navy), var(--cy-blue));
  background-clip: border-box;
  border-color: #23425f;
  color: #fff;
}

.cy-trend-table thead tr:nth-child(2) th  {
  top: 36px;
  height: 34px;
}

.cy-trend-table .cy-trend-fixed  {
  position: sticky;
  left: 0;
  z-index: 20;
  min-width: 82px;
  background: #f5f9fc;
  background-clip: border-box;
  border-color: #dce9f0;
  color: var(--cy-navy);
  font-weight: 900;
  box-shadow: 2px 0 0 #dce9f0, 6px 0 12px rgba(43, 68, 144, 0.08);
}

.cy-trend-table .cy-trend-code  {
  left: 82px;
  min-width: 148px;
}

.cy-trend-table thead .cy-trend-fixed  {
  z-index: 80;
  background: var(--cy-navy);
  background-clip: border-box;
  border-color: #23425f;
  color: #fff;
}

.cy-trend-table tbody tr:nth-child(even) td  {
  background: #f8fcfe;
}

.cy-trend-table tbody tr:hover td  {
  background: #fff7e8;
}

.cy-trend-table tbody tr:hover .cy-trend-fixed  {
  background: #eef7fb;
}

.cy-trend-hit  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e73535, #b51224);
  color: #fff;
  font-weight: 900;
}

.cy-trend-hit.blue  {
  background: linear-gradient(135deg, #2f8cff, #1d4fb7);
}

.cy-trend-hit.gold  {
  background: linear-gradient(135deg, var(--cy-gold), #d89013);
  color: var(--cy-navy);
}

.cy-trend-miss  {
  color: rgba(49, 73, 90, 0.36);
}

.cy-trend-table tbody tr.cy-trend-stat td  {
  position: sticky;
  background: #fff8e7;
  background-clip: border-box;
  border-color: #e5d3a5;
  color: var(--cy-text);
  font-weight: 800;
  height: 36px;
  z-index: 55;
  box-shadow: 0 -1px 0 #e5d3a5, 0 -4px 10px rgba(43, 68, 144, 0.08);
}

.cy-trend-table tbody tr.cy-trend-stat:nth-last-child(even) td  {
  background: #f5fbf8;
  background-clip: border-box;
  border-color: #d4e7dc;
}

.cy-trend-table tbody tr.cy-trend-stat:nth-last-child(1) td  {
  bottom: 0;
}

.cy-trend-table tbody tr.cy-trend-stat:nth-last-child(2) td  {
  bottom: 36px;
}

.cy-trend-table tbody tr.cy-trend-stat:nth-last-child(3) td  {
  bottom: 72px;
}

.cy-trend-table tbody tr.cy-trend-stat:nth-last-child(4) td  {
  bottom: 108px;
}

.cy-trend-table tbody tr.cy-trend-stat:nth-last-child(5) td  {
  bottom: 144px;
  box-shadow: 0 -2px 0 #cfe3ed, 0 -5px 12px rgba(43, 68, 144, 0.1);
}

.cy-trend-table tbody .cy-trend-stat:hover td  {
  background: #fff8e7;
}

.cy-trend-table tbody .cy-trend-stat:nth-last-child(even):hover td  {
  background: #f5fbf8;
}

.cy-trend-table tbody tr.cy-trend-stat .cy-trend-fixed,
.cy-trend-table tbody tr.cy-trend-stat:hover .cy-trend-fixed  {
  background: #fff1c9;
  background-clip: border-box;
  border-color: #e5d3a5;
  color: var(--cy-navy);
  z-index: 75;
}

