/* ==========================================================================
   RAMAN-C PROJECT SPECIFIC STYLESHEET
   Extends shared-project.css with spectral visualization, fleet simulation,
   and Sobol sensitivity ranking components.
   ========================================================================== */

/* Spectral Visualization Stage */
.spectral-vis-stage {
  position: relative;
  background: rgba(10, 20, 24, 0.7);
  border: 1px solid rgba(42, 140, 130, 0.25);
  border-radius: 8px;
  padding: 18px 16px 12px 16px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.spectral-curve-svg {
  width: 100%;
  height: 220px;
  display: block;
  overflow: visible;
}

.trace-pure {
  filter: drop-shadow(0 0 6px rgba(42, 140, 130, 0.6));
  animation: traceGlow 4s ease-in-out infinite alternate;
}

.trace-degraded {
  filter: drop-shadow(0 0 4px rgba(139, 36, 36, 0.5));
}

@keyframes traceGlow {
  0% { stroke-opacity: 0.85; }
  100% { stroke-opacity: 1; filter: drop-shadow(0 0 10px rgba(42, 140, 130, 0.85)); }
}

.spectral-axis-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 8px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--teal-light, #5dbcb1);
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  text-align: center;
}

/* Telemetry & Fleet Labels */
.val-edge {
  color: var(--teal, #2A8C82);
  font-weight: 600;
}

.val-alert {
  color: #ff6b6b;
  font-weight: 600;
}

.pillar-card:hover {
  border-color: var(--color-teal) !important;
  box-shadow: 0 8px 24px rgba(42, 140, 130, 0.15) !important;
}

.pillar-badge {
  color: var(--color-teal) !important;
  background: rgba(42, 140, 130, 0.1) !important;
  border-color: rgba(42, 140, 130, 0.3) !important;
}

/* Fleet Stats Box */
.fleet-stats-box {
  background: rgba(42, 140, 130, 0.06);
  border: 1px solid rgba(42, 140, 130, 0.2);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.fleet-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.fleet-stat-row:last-child {
  border-bottom: none;
}

/* Sobol Breakdown Cards & Bars */
.sobol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.sobol-breakdown-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sobol-breakdown-card:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 140, 130, 0.4);
}

.sobol-bar-wrap {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  height: 10px;
  margin: 0.75rem 0;
  overflow: hidden;
  position: relative;
}

.sobol-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #2A8C82, #5dbcb1);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.sobol-bar-fill.bar-dominant {
  background: linear-gradient(90deg, #8B2424, #d94b4b);
}

.sobol-bar-fill.bar-secondary {
  background: linear-gradient(90deg, #d99b26, #f3be58);
}

.sobol-indices {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  color: var(--text-muted);
}
