/* Measurement Form */
.measurement-form h2 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

  .measurement-form h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;

  }

  .measurement-form input[type="text"]{
    display: block;
    width: 100%;
    margin: 0.05rem 0;
    padding: 0.8em;
    border-radius: 5px;
    border: 1px solid #ccc;
  }

  .form-row {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
  }
  
  label {
    font-weight: bold;
    margin-bottom: 0.2rem;
    width: 100%;
  }
  
  /* Styling for range and dropdown in a single row */
  .combined-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
  }
  
  .range-wrapper, .dropdown-wrapper {
    flex: 1;
    padding: 2rem;
  }

  .range-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  

  .range-display {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 1rem;
    width: 200px; /* Fixed width for stability */
  }
  
  /* Dropdown styling */
  select {
    width: 100%;
    padding: 0.4rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }


/* range input */
/*********** Baseline, reset styles ***********/
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
  }
  
  /* Removes default focus */
  input[type="range"]:focus {
    outline: none;
  }
  
  /******** Chrome, Safari, Opera and Edge Chromium styles ********/
  /* slider track */
  input[type="range"]::-webkit-slider-runnable-track {
    background-color: #bfb4aa;
    border-radius: 0.5rem;
    height: 0.5rem;
  }
  
  /* slider thumb */
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    margin-top: -2.4000000000000004px; /* Centers thumb on the track */
    background-color: #003152;
    border-radius: 0.5rem;
    height: 0.8rem;
    width: 1.2rem;
  }
  
  input[type="range"]:focus::-webkit-slider-thumb {
    outline: 3px solid #003152;
    outline-offset: 0.125rem;
  }
  
  /*********** Firefox styles ***********/
  /* slider track */
  input[type="range"]::-moz-range-track {
    background-color: #bfb4aa;
    border-radius: 0.5rem;
    height: 0.5rem;
  }
  
  /* slider thumb */
  input[type="range"]::-moz-range-thumb {
    background-color: #003152;
    border: none; /*Removes extra border that FF applies*/
    border-radius: 0.5rem;
    height: 0.8rem;
    width: 1.2rem;
  }
  
  input[type="range"]:focus::-moz-range-thumb{
    outline: 3px solid #003152;
    outline-offset: 0.125rem;
  }

  