/* Codnixy — dashboard: light-mode control-room mock */

.dash-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,1) 14%, rgba(255,255,255,1) 86%, rgba(255,255,255,0.85) 100%),
    #fff;
  color: #0a0f1a;
  border-radius: 36px;
  margin: 0 40px;
  padding: 100px 0 0;
  overflow: hidden;
}
.dash-section::before,
.dash-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 2;
}
.dash-section::before {
  top: -60px;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(255,255,255,0.6), transparent 70%);
  filter: blur(20px);
}
.dash-section::after {
  bottom: -60px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255,255,255,0.45), transparent 70%);
  filter: blur(20px);
}
.dash-section .wrap { text-align: center; max-width: 1100px; }
.dash-section h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin: 0 auto 22px;
  line-height: 1.05;
  color: #0a0f1a;
  max-width: 22ch;
}
.dash-section h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: #1a2e8c;
}
.dash-section p {
  color: #4b5570;
  font-size: 16px;
  max-width: 64ch;
  margin: 0 auto 70px;
}
.dash-stage {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.dash-mock {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 1180px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(170deg, #0d1f5e 0%, #061236 80%);
  padding: 18px 22px;
  box-shadow: 0 30px 80px rgba(10, 18, 50, 0.35);
  color: #fff;
  font-family: "Manrope", sans-serif;
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.dash-bar .search {
  flex: 0 0 220px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 7px 12px;
  color: rgba(255,255,255,0.4);
}
.dash-bar .active {
  color: #fff;
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash-bar .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-bar .right .who {
  display: flex; align-items: center; gap: 8px;
}
.dash-bar .right .who .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #d97757, #6b2e1a);
}
.dash-bar .right .who span { line-height: 1.1; }
.dash-bar .right .who small { color: rgba(255,255,255,0.45); display: block; font-size: 11px; }

.dash-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: stretch;
}

.card-vis {
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}
.card-vis .head { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.visa {
  background: linear-gradient(135deg, #2c47e6, #1a2e8c);
  border-radius: 12px;
  padding: 14px 16px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.visa .num { font-family: "JetBrains Mono", monospace; font-size: 15px; letter-spacing: 0.05em; }
.visa .row { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.7); }
.visa .row strong { display: block; color: #fff; font-size: 12px; font-weight: 500; }

.chart-card {
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}
.chart-head .v {
  font-size: 22px;
  font-weight: 500;
}
.chart-head .pct { color: #6fe0a4; font-size: 13px; margin-left: 8px; }
.chart-head .pair {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}
.chart-head .pair strong { color: #fff; }
.chart-plot {
  position: relative;
  height: 200px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 12% 100%;
  border-radius: 8px;
}
.chart-plot svg { width: 100%; height: 100%; }
.tooltip {
  position: absolute;
  right: 22%;
  top: 30%;
  background: rgba(10, 14, 24, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11px;
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.85);
}
.tooltip strong { display: block; color: #fff; margin-bottom: 4px; }
.tooltip .dot { width: 6px; height: 6px; border-radius: 50%; background: #6fe0a4; display: inline-block; margin-right: 6px; }
