/* =========================================================================
   VOLUME SHOCKERS STYLES
   ========================================================================= */

/* Header Area */
.vs-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.vs-header-left {
  display: flex;
  flex-direction: column;
}

.vs-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.vs-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.vs-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.vs-badge-live {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vs-badge-live i { font-size: 6px; }

.vs-last-updated {
  font-size: 11px;
  color: var(--text-muted);
}

.vs-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.vs-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.vs-badge-time {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* KPI Cards */
.vs-top-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.vs-kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.vs-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.vs-kpi-content {
  display: flex;
  flex-direction: column;
}

.vs-kpi-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.vs-kpi-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.vs-kpi-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.vs-kpi-sub.positive { color: #22c55e; }

/* Controls Bar */
.vs-controls-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.vs-filter-group {
  display: flex;
  background: var(--bg-default);
  border-radius: 4px;
  padding: 2px;
  border: 1px solid var(--border-subtle);
}

.vs-tf-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.vs-tf-btn.active {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.vs-dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vs-dropdown-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.vs-dropdown-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-default);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0 12px;
  height: 30px;
}

.vs-select {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 11px;
  outline: none;
  appearance: none;
  cursor: pointer;
  padding-right: 16px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 8px auto;
}
.vs-select option { background: var(--bg-surface); }

.vs-search-box {
  display: flex;
  align-items: center;
  background: var(--bg-default);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0 12px;
  height: 30px;
  width: 220px;
  margin-top: 13px; /* align with dropdowns */
}

.vs-search-box input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 11px;
  outline: none;
  flex-grow: 1;
}

.vs-search-box i {
  color: var(--text-muted);
  font-size: 12px;
}

/* Data Table */
.vs-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
}

.vs-table th {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.vs-table td {
  padding: 12px 8px;
  font-size: 12px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}

.vs-table tr:hover td {
  background-color: var(--bg-hover);
}

.vs-symbol-col {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vs-star { color: var(--text-muted); cursor: pointer; }
.vs-star:hover { color: #eab308; }

.vs-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
}

.vs-mult {
  color: #06b6d4;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.vs-badge-strength {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}
.vs-badge-strength.extreme {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.vs-badge-strength.strong {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.vs-del-bar-bg {
  height: 4px;
  background: var(--bg-default);
  border-radius: 2px;
  margin-top: 4px;
  width: 100%;
}
.vs-del-bar {
  height: 100%;
  background: #22c55e;
  border-radius: 2px;
}

.vs-bullish { color: #22c55e; font-size: 11px; display:flex; align-items:center; justify-content:center; gap:4px; }
.vs-bearish { color: #ef4444; font-size: 11px; display:flex; align-items:center; justify-content:center; gap:4px; }

/* Bottom Dashboard */
.vs-bottom-dashboard {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.vs-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
}

.vs-card-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Legend */
.vs-legend-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.vs-legend-item {
  display: flex;
  align-items: center;
  font-size: 11px;
}
.vs-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 8px;
}
.vs-l-name { color: var(--text-secondary); flex: 1; }
.vs-l-val { color: var(--text-primary); font-family: 'JetBrains Mono', monospace; font-size: 10px; }

/* Extreme List */
.vs-extreme-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vs-ex-item {
  display: flex;
  align-items: center;
  font-size: 12px;
}
.vs-ex-idx { width: 16px; color: var(--text-muted); font-size: 10px;}
.vs-ex-sym { flex: 1; color: var(--text-secondary); }
.vs-ex-mult { 
  background: rgba(168, 85, 247, 0.15); 
  color: #a855f7; 
  padding: 2px 6px; 
  border-radius: 4px; 
  font-size: 10px; 
  font-weight: 600;
  margin-right: 12px;
}
.vs-ex-chg { color: #22c55e; width: 45px; text-align: right; }

/* Analysis List */
.vs-analysis-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: center;
}
.vs-an-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vs-an-label { width: 130px; font-size: 11px; color: var(--text-secondary); }
.vs-an-bar-bg { flex: 1; height: 6px; background: var(--bg-default); border-radius: 3px; }
.vs-an-bar { height: 100%; border-radius: 3px; }
.vs-an-val { width: 50px; font-size: 11px; text-align: right; color: var(--text-muted); }

/* Market Summary List */
.vs-market-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vs-m-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}
.vs-m-right {
  display: flex;
  gap: 16px;
  width: 120px;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.positive { color: #22c55e; }
.negative { color: #ef4444; }
