/* ===== CONFIDENCE WIDGET SECTION ===== */
.confidence-section {
  padding: 80px 24px;
  background: #0D1117;
  text-align: center;
}

.confidence-section .section-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.confidence-section .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* ===== CONFIDENCE WIDGET CARD ===== */
.widget-card {
  background: #161B22;
  border: 1px solid #30363D;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.widget-pillar-label {
  font-size: 12px;
  color: #8B949E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.widget-confidence-value {
  font-size: 48px;
  font-weight: 700;
  color: #E6EDF3;
  margin: 8px 0;
  line-height: 1;
}

/* ===== SLIDER ===== */
.widget-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #30363D;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 16px 0;
  display: block;
}

.widget-slider:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Webkit thumb */
.widget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.widget-slider:disabled::-webkit-slider-thumb {
  cursor: not-allowed;
}

/* Firefox thumb */
.widget-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ===== GATE BADGE ===== */
.widget-gate-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  background-color: #F59E0B; /* WARN default for 0.5 start */
  transition: background-color 300ms ease;
  letter-spacing: 0.05em;
}

/* ===== CAPTION ===== */
.widget-caption {
  font-size: 13px;
  color: #8B949E;
  margin-top: 16px;
  font-style: italic;
  line-height: 1.5;
}
