    /* ✅ Apply Outfit everywhere on the page */
    #ringSizerApp {
      font-family: 'Outfit', sans-serif;
      background-color: #121212;
      color: #eee;
      margin: 0;
      padding: 0;
    }

    #ringSizerApp {
      max-width: 1000px;
      margin: 20px auto;
      padding: 20px;
      border: 1px solid #333;
      border-radius: 12px;
      background: #121212;
    }

#ringSizerApp h2.rsm-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    text-align: center !important;
    display: block;
    width: 100%;
}

    #instructions {
      text-align: justify;
    }

    .section {
      margin-bottom: 30px;
      text-align: center !important;
    }

    #ringSizerApp label {
      display: block;
      margin: 10px 0 5px;
      font-weight: bold;
      color: #ccc;
      text-align: center;
    }

    /* Completely minimal and modern single-line slider */
    input[type="range"] {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      width: 100%;
      max-width: 400px;
      background: transparent;
      margin: 20px auto;
      display: block;
      cursor: pointer;
    }

    input[type="range"]::-webkit-slider-runnable-track {
      background-color: #555;
      height: 2px;
      border-radius: 1px;
      border: none;
      box-shadow: none;
    }

    input[type="range"]::-moz-range-track {
      background-color: #555;
      height: 2px;
      border-radius: 1px;
      border: none;
      box-shadow: none;
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      height: 16px;
      width: 16px;
      border-radius: 50%;
      background-color: #fff;
      border: 2px solid #fff;
      margin-top: -7px;
      box-shadow: none;
      transition: background-color 0.3s;
    }

    input[type="range"]::-webkit-slider-thumb:hover {
      background-color: #f8c84c;
    }

    input[type="range"]::-moz-range-thumb {
      height: 16px;
      width: 16px;
      border-radius: 50%;
      background-color: #0af;
      border: 2px solid #fff;
      box-shadow: none;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    input[type="range"]:focus {
      outline: none;
    }

    #ringSizerApp button {
      background-color: #f8c84c;
      color: #000;
      border: none;
      padding: 15px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
      transition: background-color 0.3s;
      margin: 40px;
    }

    #ringSizerApp button:hover {
      background-color: #00000000;
      border: 2px solid #cfb257;
      color: white;
    }

    #calibrationSection {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    #scalingContainer {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      margin-top: 40px;
    }

    #scalingArea {
      display: flex;
      justify-content: center;
      align-items: center;
      transform-origin: center center;
      transition: transform 0.2s;
      padding: 20px;
      background: transparent;
      border-radius: 8px;
    }

    #cardOutline {
      border: 2px dashed #cfb257;
      width: 85.6mm;
      height: 54mm;
      background: transparent;
    }

    #singleRingContainer {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 20px;
    }

    #ringLabel {
      margin-bottom: 10px;
      font-size: 16px;
      color: #cfb257;
      font-weight: bold;
    }

    #ringCircle {
      border: 3px solid #cfb257;
      border-radius: 50%;
      background-color: #2a2a2a;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 10px 0 20px 0;
      transition: width 0.3s, height 0.3s;
    }

    #controls {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 10px;
    }
    
    #controls button {
  background-color: #606567;
  color: white;
  padding: 10px 16px;
  margin: 0;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

#controls button:hover {
  background-color: #f8c84c;
  color: black;
}


    #result {
      text-align: center;
      font-size: 1.2em;
      color: #0af;
      font-weight: bold;
      margin-top: 20px;
    }