/**
 * fhc-style.css
 * Version: 0.1
 * Purpose: Layout and styling for Financial Health Circle, responsive and centered.
 */

/* Container */
#fhc-container {
  max-width: 700px;
  margin: 0 auto;
  font-family: inherit;
}

/* Input grid */
#fhc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

/* Axis label */
.fhc-axis-input h4 {
  margin: 5px 0;
}

/* Slider */
.fhc-axis-input input[type=range] {
  width: 100%;
}

/* Value display */
.fhc-value {
  display: inline-block;
  margin-left: 8px;
  font-weight: bold;
}

/* Chart canvas */
#fhc-chart {
  width: 100% !important;
  max-width: 600px;
  min-width: 300px;
  aspect-ratio: 1 / 1; /* enforce square */
  display: block;
  margin: 0 auto;
}

/* Chart wrapper */
#fhc-chart-wrapper {
  margin: 20px auto;
}

/* Buttons */
#fhc-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
