/* ═══════════════════════════════════════════════════════════════
   AXION TERMINAL — Forex Technical Indicators Intelligence
   AI Analysis Cards + Radar Charts + Heatmap Matrix
   ═══════════════════════════════════════════════════════════════ */

.ov-indicators-section {
  border-top: 2px solid var(--ov-border);
  background: var(--ov-surface);
  position: relative;
}
.ov-indicators-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,227,16,0.3), transparent);
}

/* ── Header ──────────────────────────────── */
.ov-ind-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--ov-border);
}
.ov-ind-header-left { display: flex; align-items: center; gap: 10px; }
.ov-ind-header-right { display: flex; align-items: center; gap: 8px; }
.ov-ind-title {
  font-family: var(--ov-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--ov-t2);
}
.ov-ind-badge {
  font-family: var(--ov-mono); font-size: 7px; padding: 2px 6px;
  border: 1px solid #555; letter-spacing: 0.5px; color: #555;
}
.ov-ind-badge.live {
  color: var(--ov-lime); border-color: rgba(211,251,3,0.3);
  background: rgba(211,251,3,0.06);
  animation: ov-pulse-badge 2s ease-in-out infinite;
}
.ov-ind-updated {
  font-family: var(--ov-mono); font-size: 8px; color: var(--ov-t3);
}

/* ═══════════════════════════════════════════
   AI ANALYSIS — Market Bias + Pair Cards
   ═══════════════════════════════════════════ */
.ov-ind-analysis {
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--ov-border);
}
.ov-ind-market-bias {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; padding: 8px 12px;
  background: var(--ov-bg); border: 1px solid var(--ov-border);
}
.ov-ind-bias-icon { font-size: 16px; }
.ov-ind-bias-label {
  font-family: var(--ov-mono); font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px;
}
.ov-ind-bias-detail {
  font-family: var(--ov-mono); font-size: 9px; color: var(--ov-t2);
  margin-left: auto;
}

/* Pair Cards Grid */
.ov-ind-pair-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.ov-ind-pair-card {
  background: var(--ov-bg); padding: 8px 10px;
  border: 1px solid var(--ov-border);
  transition: background 0.15s, border-color 0.15s;
  overflow: hidden;
}
.ov-ind-pair-card:hover {
  background: var(--ov-surface-2);
  border-color: var(--ov-border-2);
}
.ov-ind-pair-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.ov-ind-pair-name {
  font-family: var(--ov-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.5px;
}
.ov-ind-pair-trend {
  font-family: var(--ov-mono); font-size: 8px; font-weight: 700;
  letter-spacing: 0.5px;
}
.ov-ind-pair-bias {
  font-family: var(--ov-mono); font-size: 9px; font-weight: 800;
  letter-spacing: 1px; margin-bottom: 4px;
}

/* Score Bar */
.ov-ind-pair-score {
  display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
}
.ov-ind-score-bar {
  flex: 1; height: 4px; background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.ov-ind-score-fill {
  height: 100%; transition: width 0.6s ease;
}
.ov-ind-score-val {
  font-family: var(--ov-mono); font-size: 9px; font-weight: 700;
  min-width: 28px; text-align: right;
}

/* Strategy & Signals */
.ov-ind-pair-strategy {
  font-family: var(--ov-sans); font-size: 8px; color: var(--ov-t2);
  line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ov-ind-pair-signals {
  display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 4px;
}
.ov-ind-signal-tag {
  font-family: var(--ov-mono); font-size: 7px; padding: 1px 5px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--ov-t2); white-space: nowrap;
}
.ov-ind-pair-levels {
  font-family: var(--ov-mono); font-size: 7px; color: var(--ov-t3);
  letter-spacing: 0.3px;
}
.ov-ind-pair-levels b {
  color: var(--ov-t2); font-weight: 600;
}

/* ═══════════════════════════════════════════
   READING GUIDE (Cara Baca)
   ═══════════════════════════════════════════ */
.ov-ind-guide {
  padding: 8px 16px 10px; border-bottom: 1px solid var(--ov-border);
  background: rgba(211,251,3,0.02);
}
.ov-ind-guide-title {
  font-family: var(--ov-mono); font-size: 9px; font-weight: 700;
  color: var(--ov-lime); letter-spacing: 1px; margin-bottom: 6px;
}
.ov-ind-guide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px;
}
.ov-ind-guide-item {
  display: flex; gap: 6px; align-items: baseline;
}
.ov-ind-guide-label {
  font-family: var(--ov-mono); font-size: 8px; font-weight: 700;
  color: var(--ov-cyan); min-width: 60px; flex-shrink: 0;
}
.ov-ind-guide-text {
  font-family: var(--ov-sans); font-size: 8px; color: var(--ov-t3);
  line-height: 1.4;
}

/* ── Category Tabs ──────────────────────── */
.ov-ind-tabs {
  display: flex; gap: 0; padding: 0 16px;
  border-bottom: 1px solid var(--ov-border);
  overflow-x: auto; scrollbar-width: none;
}
.ov-ind-tabs::-webkit-scrollbar { display: none; }
.ov-ind-tab {
  font-family: var(--ov-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 1px; color: var(--ov-t3);
  background: transparent; border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 14px; cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap;
}
.ov-ind-tab:hover { color: var(--ov-t2); background: rgba(255,255,255,0.02); }
.ov-ind-tab.active {
  color: var(--ov-lime); border-bottom-color: var(--ov-lime);
  text-shadow: 0 0 8px rgba(198,227,16,0.3);
}

/* ── Content Grid ───────────────────────── */
.ov-ind-content {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 1px; background: var(--ov-border); min-height: 300px;
}

/* ── Radar Panel ─────────────────────── */
.ov-ind-radar-panel {
  background: var(--ov-surface); padding: 10px;
  display: flex; flex-direction: column;
}
.ov-ind-radar-title {
  font-family: var(--ov-mono); font-size: 8px; color: var(--ov-t3);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 6px; text-align: center;
}
.ov-ind-radar-chart { flex: 1; min-height: 260px; }
.ov-ind-radar-legend {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 6px; flex-wrap: wrap;
}
.ov-ind-legend-item {
  display: flex; align-items: center; gap: 3px;
  font-family: var(--ov-mono); font-size: 7px; color: var(--ov-t2);
}
.ov-ind-legend-dot {
  width: 5px; height: 5px; border-radius: 50%; display: inline-block;
}

/* ── Table Panel ─────────────────────── */
.ov-ind-table-panel {
  background: var(--ov-surface); overflow: auto;
  scrollbar-width: thin; scrollbar-color: var(--ov-border-2) transparent;
}
.ov-ind-table-panel::-webkit-scrollbar { width: 4px; height: 4px; }
.ov-ind-table-panel::-webkit-scrollbar-thumb { background: var(--ov-border-2); }

.ov-ind-table {
  width: 100%; border-collapse: collapse; table-layout: auto;
}
.ov-ind-table thead { position: sticky; top: 0; z-index: 2; }
.ov-ind-table th {
  font-family: var(--ov-mono); font-size: 8px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase; color: var(--ov-t3);
  background: var(--ov-bg); padding: 6px 6px;
  text-align: right; border-bottom: 1px solid var(--ov-border);
  white-space: nowrap; position: sticky; top: 0;
}
.ov-ind-table th:first-child { text-align: left; min-width: 180px; }
.ov-ind-table td {
  font-family: var(--ov-mono); font-size: 9px; padding: 4px 6px;
  text-align: right; border-bottom: 1px solid rgba(42,42,42,0.3);
  color: var(--ov-t2); white-space: nowrap;
}
.ov-ind-table td:first-child {
  text-align: left; color: var(--ov-t1); font-size: 8px; font-weight: 500;
  max-width: 200px; overflow: hidden; text-overflow: ellipsis;
}
.ov-ind-table tbody tr { transition: background 0.1s ease; }
.ov-ind-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.ov-ind-table tbody tr:hover td:first-child { color: var(--ov-lime); }

/* Value Colors */
.ov-ind-val-strong-pos { color: #00FF88 !important; text-shadow: 0 0 3px rgba(0,255,136,0.15); }
.ov-ind-val-pos { color: #4ADE80 !important; }
.ov-ind-val-neutral { color: var(--ov-t3) !important; }
.ov-ind-val-neg { color: #F87171 !important; }
.ov-ind-val-strong-neg { color: #FF2A55 !important; text-shadow: 0 0 3px rgba(255,42,85,0.15); }

/* ── Summary Bar ─────────────────────── */
.ov-ind-summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px; background: var(--ov-bg);
  border-top: 1px solid var(--ov-border);
}
.ov-ind-summary-stats { display: flex; gap: 20px; }
.ov-ind-stat { display: flex; flex-direction: column; gap: 2px; }
.ov-ind-stat-label {
  font-family: var(--ov-mono); font-size: 7px; color: var(--ov-t3);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.ov-ind-stat-value {
  font-family: var(--ov-mono); font-size: 12px; font-weight: 700; color: var(--ov-t1);
}
.ov-ind-refresh-info {
  font-family: var(--ov-mono); font-size: 8px; color: var(--ov-t3);
}

/* ── Responsive ──────────────────────── */
@media (max-width: 1200px) {
  .ov-ind-pair-grid { grid-template-columns: repeat(3, 1fr); }
  .ov-ind-guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ov-ind-content { grid-template-columns: 1fr; }
  .ov-ind-pair-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-ind-guide-grid { grid-template-columns: 1fr; }
}
