/* ══════════════════════════════════════════════════════════════════════════════
   MEMBERS AREA STYLING
   Matches main site theme but optimized for utility/dashboard use
   ══════════════════════════════════════════════════════════════════════════════ */

/* Container Variants */
.container-fluid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Loading State */
.members-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 20px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 43, 43, 0.2);
  border-top-color: var(--red2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.members-loading p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-family: var(--mono);
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 8px 0;
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.3);
}

.dashboard-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  margin: 0;
}

.dashboard-status {
  display: flex;
  gap: 12px;
  align-items: center;
}

.status-badge--pro {
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.2), rgba(255, 43, 43, 0.1));
  border: 1px solid rgba(255, 43, 43, 0.4);
  color: var(--red2);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.stat-card:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 43, 43, 0.2);
  transform: translateY(-2px);
}

.stat-card:hover .stat-card__icon {
  filter: drop-shadow(0 0 8px rgba(255, 43, 43, 0.6));
}

.stat-card__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--red2);
}

.stat-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stat-card__content {
  flex: 1;
}

.stat-card__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  margin-bottom: 4px;
}

.stat-card__value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

/* Section Headers */
.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
}

.section-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 43, 43, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card:hover {
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 43, 43, 0.15);
}

.tool-card--coming {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.tool-card--coming .tool-card__icon {
  color: rgba(255, 255, 255, 0.4);
}

.tool-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--red2);
}

.tool-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-card__content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.tool-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px 0;
}

.tool-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.tool-card__status {
  margin-top: 8px;
}

.tool-card__arrow {
  width: 24px;
  height: 24px;
  color: var(--red2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.tool-card__arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-card:hover .tool-card__arrow {
  transform: translateX(4px);
}

.tool-card:hover .tool-card__icon {
  filter: drop-shadow(0 0 12px rgba(255, 43, 43, 0.6));
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.badge--live {
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #4cd964;
}

.badge--soon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Quick Links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quick-link:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 43, 43, 0.3);
  transform: translateX(4px);
}

.quick-link:hover .quick-link__icon {
  filter: drop-shadow(0 0 8px rgba(255, 43, 43, 0.6));
}

.quick-link__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red2);
}

.quick-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════════════
   HEAT MAP TOOL
   ══════════════════════════════════════════════════════════════════════════════ */

/* Tool Header */
.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 20px;
}

.tool-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 6px 0;
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.3);
}

.tool-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-family: var(--mono);
}

.tool-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tool-select {
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-select:hover {
  border-color: rgba(255, 43, 43, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

.tool-select:focus {
  outline: none;
  border-color: rgba(255, 43, 43, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.1);
}

.tool-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 6px;
  color: var(--red2);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-btn:hover {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-2px);
}

.tool-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Heat Map Grid */
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.heatmap-tile {
  position: relative;
  padding: 24px;
  border: 1px solid;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.heatmap-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.heatmap-tile__symbol {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.heatmap-tile__name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
  line-height: 1.3;
}

.heatmap-tile__change {
  font-size: 24px;
  font-weight: 900;
  font-family: var(--mono);
}

.heatmap-tile__change.positive {
  color: #4cd964;
}

.heatmap-tile__change.negative {
  color: #ff6b6b;
}

/* Heat Map Legend */
.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 32px;
}

.legend-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

.legend-gradient {
  flex: 1;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, 
    rgba(255, 59, 48, 0.6) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(52, 199, 89, 0.6) 100%
  );
}

.legend-labels {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.65);
}

/* Market Overview */
.market-overview {
  margin-top: 48px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.overview-card {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
}

.overview-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  margin-bottom: 8px;
}

.overview-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.overview-change {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
}

.overview-change .positive {
  color: #4cd964;
}

.overview-change .negative {
  color: #ff6b6b;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 43, 43, 0.2);
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
}

.pagination-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 8px;
  color: var(--red2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-2px);
}

.pagination-btn:active:not(:disabled) {
  transform: translateY(0);
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-number {
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red2);
  font-family: var(--mono);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pagination-container {
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
  }

  .pagination-info {
    order: 2;
    margin-top: 8px;
    font-size: 12px;
  }

  .pagination-hint {
    font-size: 10px;
  }

  .pagination-controls {
    order: 1;
    gap: 8px;
  }

  .pagination-btn {
    width: 36px;
    height: 36px;
  }

  .page-number {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   GEX SCANNER
   ══════════════════════════════════════════════════════════════════════════════ */

/* GEX Content */
.gex-content {
  padding-top: 20px;
}

/* API Warning Banner */
.api-warning-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 165, 0, 0.1);
  border: 2px solid rgba(255, 165, 0, 0.4);
  border-radius: 12px;
  margin-bottom: 24px;
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { border-color: rgba(255, 165, 0, 0.4); }
  50% { border-color: rgba(255, 165, 0, 0.8); }
}

.api-warning-icon {
  font-size: 32px;
  line-height: 1;
}

.api-warning-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.api-warning-content strong {
  color: #ffa500;
  font-weight: 700;
}

.api-warning-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 165, 0, 0.2);
  border: 1px solid rgba(255, 165, 0, 0.4);
  border-radius: 50%;
  color: #ffa500;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.api-warning-close:hover {
  background: rgba(255, 165, 0, 0.3);
  transform: rotate(90deg);
}

/* Ticker Selector */
.gex-selector {
  margin-bottom: 32px;
}

.gex-selector-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gex-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  max-width: 800px;
}

.ticker-btn {
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticker-btn:hover {
  background: rgba(255, 43, 43, 0.1);
  border-color: rgba(255, 43, 43, 0.3);
  color: var(--red2);
  transform: translateY(-2px);
}

.ticker-btn--active {
  background: rgba(255, 43, 43, 0.2);
  border-color: var(--red2);
  color: var(--red2);
  box-shadow: 0 0 20px rgba(255, 43, 43, 0.3);
}

/* GEX Grid */
.gex-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 1200px) {
  .gex-grid {
    grid-template-columns: 1fr;
  }
}

/* GEX Card */
.gex-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.gex-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.gex-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gex-card-badge {
  padding: 6px 12px;
  background: rgba(255, 43, 43, 0.2);
  border: 1px solid var(--red2);
  border-radius: 6px;
  color: var(--red2);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}

/* Chart Container */
.gex-chart-container {
  min-height: 500px;
}

.gex-chart-wrapper {
  position: relative;
  height: 400px;
  margin-bottom: 20px;
}

.gex-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.gex-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
}

.gex-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Metrics Container */
.gex-metrics-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Price Card */
.gex-price-card {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.1), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 43, 43, 0.3);
}

.gex-price-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-family: var(--mono);
}

.gex-price-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--red2);
  font-family: var(--mono);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.5);
}

.gex-price-change {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
}

/* Metrics Grid */
.gex-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gex-metric {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
}

.gex-metric-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-family: var(--mono);
}

.gex-metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

/* Consensus Card */
.gex-consensus-card {
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.05), rgba(0, 0, 0, 0.4));
}

.gex-consensus {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gex-consensus-direction {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.gex-consensus-icon {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.gex-consensus-text {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gex-consensus-range {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.gex-consensus-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-family: var(--mono);
}

.gex-consensus-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

.gex-consensus-arrow {
  color: var(--red2);
  font-size: 20px;
}

.gex-consensus-confidence {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.gex-confidence-bar {
  height: 24px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gex-confidence-fill {
  height: 100%;
  background: var(--red2);
  transition: width 0.5s ease, background 0.3s ease;
  border-radius: 12px;
}

.gex-confidence-text {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
}

/* Key Levels */
.gex-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gex-level {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.gex-level:hover {
  background: rgba(255, 43, 43, 0.05);
  border-color: rgba(255, 43, 43, 0.2);
  transform: translateX(4px);
}

.gex-level-strike {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

.gex-level-type {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

.gex-level-gex {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
}

.gex-level-distance {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
}

.gex-level-loading {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
}

/* Responsive */
@media (max-width: 768px) {
  .gex-selector-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ticker-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .gex-price-value {
    font-size: 36px;
  }

  .gex-metrics-grid {
    grid-template-columns: 1fr;
  }

  .gex-consensus-icon {
    font-size: 36px;
  }

  .gex-consensus-text {
    font-size: 18px;
  }

  .gex-level {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gex-level-gex,
  .gex-level-distance {
    grid-column: span 2;
    font-size: 11px;
  }

  .gex-chart-wrapper {
    height: 300px;
  }
}

/* Info Box */
.info-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 43, 43, 0.05);
  border: 1px solid rgba(255, 43, 43, 0.2);
  border-radius: 12px;
  margin-top: 32px;
  align-items: flex-start;
}

.info-box__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--red2);
}

.info-box__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.info-box__content {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.info-box__content strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 768px) {
  .info-box {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .info-box__icon {
    width: 20px;
    height: 20px;
  }

  .info-box__content {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Active Nav Link */
.nav__link--active {
  color: var(--red2);
  position: relative;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red2);
  box-shadow: 0 0 8px var(--red2);
}

/* Responsive */
/* ══════════════════════════════════════════════════════════════════════════════
   OPTIONS FLOW SCANNER
   ══════════════════════════════════════════════════════════════════════════════ */

/* Flow Stats */
.flow-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.flow-stat-card {
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.flow-stat-card--clickable {
  cursor: pointer;
}

.flow-stat-card--clickable:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 43, 43, 0.3);
  transform: translateY(-2px);
}

.flow-stat-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  margin-bottom: 8px;
}

.flow-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.flow-stat-value--call {
  color: #4cd964;
}

.flow-stat-value--put {
  color: #ff6b6b;
}

.flow-stat-change {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--mono);
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 8px;
  color: var(--red2);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-action-btn:hover {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 43, 43, 0.2);
}

.quick-action-btn:active {
  transform: translateY(0);
}

/* Flow Filters */
.flow-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

.filter-input,
.filter-select {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--mono);
  transition: all 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: rgba(255, 43, 43, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.1);
}

.filter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Flow Table */
.flow-table-container {
  overflow-x: auto;
  margin-bottom: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.flow-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
}

.flow-table tbody {
  min-height: 400px;
  display: table-row-group;
}

.flow-table thead {
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-table th {
  padding: 16px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.flow-table td {
  padding: 14px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.flow-cell-time {
  cursor: help;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-width: 60px;
  color: #4cd964;
}

.flow-cell-time:hover {
  color: var(--red2);
  text-shadow: 0 0 8px rgba(255, 43, 43, 0.4);
}

.flow-table tbody tr {
  transition: background 0.2s ease;
}

.flow-table tbody tr:hover {
  background: rgba(255, 43, 43, 0.05);
}

.flow-row-call {
  border-left: 3px solid #4cd964;
}

.flow-row-put {
  border-left: 3px solid #ff6b6b;
}

.flow-cell-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.flow-cell-ticker {
  font-weight: 700;
  color: var(--red2);
  font-size: 14px;
}

.flow-cell-premium {
  font-weight: 700;
  color: var(--text);
}

.flow-type-call {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 4px;
  color: #4cd964;
  font-size: 11px;
  font-weight: 700;
}

.flow-type-put {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 4px;
  color: #ff6b6b;
  font-size: 11px;
  font-weight: 700;
}

.flow-badge-unusual {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 43, 43, 0.2);
  border: 1px solid rgba(255, 43, 43, 0.4);
  border-radius: 4px;
  color: var(--red2);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Responsive Options Flow */
@media (max-width: 768px) {
  .flow-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-filters {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    gap: 8px;
  }

  .quick-action-btn {
    padding: 8px 12px;
    font-size: 12px;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .quick-action-btn svg {
    width: 14px;
    height: 14px;
  }

  .flow-table {
    font-size: 11px;
  }

  .flow-table th,
  .flow-table td {
    padding: 10px 8px;
    font-size: 11px;
  }

  .flow-table th:nth-child(n+6),
  .flow-table td:nth-child(n+6) {
    display: none;
  }

  .flow-stat-card {
    padding: 16px 12px;
  }

  .flow-stat-label {
    font-size: 10px;
  }

  .flow-stat-value {
    font-size: 20px;
  }

  .flow-stat-change {
    font-size: 11px;
  }

  .flow-stat-hint {
    font-size: 9px;
  }
}

/* Responsive (existing) */
@media (max-width: 768px) {
  .container-fluid {
    padding: 0 16px;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-header {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-controls {
    flex-direction: column;
  }

  .tool-select,
  .tool-btn {
    width: 100%;
    justify-content: center;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}
