/* ── FILE: css/results.css ─────────────────────────── */
.results-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--glass-border);
  color: var(--text-muted);
}
.empty-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.result-card {
  background: rgba(10,26,14,0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: card-rise 0.5s var(--spring) forwards;
  position: relative;
}

.result-card.is-healthy {
  border-color: var(--biolum);
  box-shadow: var(--shadow-glow);
}
.result-card.is-diseased {
  animation: card-rise 0.5s var(--spring) forwards, disease-pulse 0.8s ease infinite;
}

.result-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}
.result-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gauge-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
}
.gauge-bg {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 8;
}
.gauge-fill {
  fill: none;
  stroke: var(--biolum);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dasharray 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.gauge-high { stroke: var(--biolum); }
.gauge-mid { stroke: var(--amber-warn); }
.gauge-low { stroke: var(--danger-red); }

.gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.gauge-perc {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.prediction-bars {
  padding: 1.5rem 2rem;
}
.bar-wrap {
  margin-bottom: 1rem;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}
.bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--biolum);
  width: 0%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.result-accordions {
  padding: 0 2rem 2rem;
}

.result-actions {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--glass-border);
}
.result-actions .btn {
  flex: 1;
}

.low-confidence-card {
  padding: 2rem;
  text-align: center;
}
.low-confidence-card ul {
  text-align: left;
  margin-top: 1.5rem;
  list-style: disc;
  padding-left: 1.5rem;
}
