/* =========================
   CHART PAGE
========================= */
.chart-main-wrap {
  min-height: calc(100vh - 72px);
  padding: 28px;
}

.chart-page-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.chart-page-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 28px 70px rgba(13, 27, 42, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.chart-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 30%),
    radial-gradient(circle at top right, rgba(13,27,42,0.06), transparent 24%);
  pointer-events: none;
}

.chart-page-head {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.chart-page-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.16);
  color: #1B3A5C;
  font-size: .84rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.chart-page-title {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0D1B2A;
  font-weight: 900;
}

.chart-page-desc {
  margin: 0;
  color: #6B6B6B;
  line-height: 1.7;
}

.chart-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.chart-stat-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(27, 58, 92, 0.08);
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.06);
}

.chart-stat-label {
  font-size: .84rem;
  font-weight: 800;
  color: #5f6d7b;
  margin-bottom: 6px;
}

.chart-stat-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1B3A5C;
}

.chart-board {
  position: relative;
  z-index: 1;
  height: 420px;
  padding: 20px 18px 8px;
  border-radius: 24px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(27, 58, 92, 0.08);
  box-shadow: 0 14px 28px rgba(13, 27, 42, 0.06);
  margin-bottom: 22px;
}

.chart-table-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  border-radius: 20px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(27, 58, 92, 0.08);
}

.chart-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.chart-data-table th,
.chart-data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 58, 92, 0.08);
}

.chart-data-table th {
  background: rgba(27, 58, 92, 0.05);
  color: #1B3A5C;
  font-size: .92rem;
  font-weight: 800;
}

.chart-data-table td {
  color: #374756;
  font-weight: 600;
}

.chart-note-box {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(27, 58, 92, 0.06);
  border: 1px solid rgba(27, 58, 92, 0.10);
  color: #43576a;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .chart-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-board {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .chart-main-wrap {
    padding: 16px;
  }

  .chart-page-card {
    padding: 20px;
    border-radius: 22px;
  }

  .chart-page-title {
    font-size: 1.5rem;
  }

  .chart-stats-grid {
    grid-template-columns: 1fr;
  }

  .chart-board {
    height: 300px;
    padding: 14px 12px 6px;
    border-radius: 18px;
  }
}