/* Add some basic styling to the calculator form */
form.calculator {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

/* Style the form fields */
form.calculator .form-group {
  margin-bottom: 1rem;
}

form.calculator label {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

form.calculator input,
form.calculator output {
  width: 100%;
  padding: 0.5rem;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Style the range input */
form.calculator input[type="range"] {
  -webkit-appearance: none;
  margin: 1.5rem 0;
  width: 100%;
}

form.calculator input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.5rem;
  cursor: pointer;
  box-shadow: 1px 1px 1px #ccc, 0 0 1px #ccc;
  background: #ccc;
  border-radius: 1.3rem;
  border: 0.2rem solid #fff;
}

form.calculator input[type="range"]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #ccc, 0 0 1px #ccc;
  border: 1px solid #ccc;
  height: 2rem;
  width: 2rem;
  border-radius: 2rem;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -0.5rem;
}

form.calculator input[type="range"]::-moz-range-track {
  width: 100%;
  height: 0.5rem;
  cursor: pointer;
  box-shadow: 1px 1px 1px #ccc, 0 0 1px #ccc;
  background: #ccc;
  border-radius: 1.3rem;
  border: 0.2rem solid #fff;
}

form.calculator input[type="range"]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #ccc, 0 0 1px #ccc;
  border: 1px solid #ccc;
  height: 2rem;
  width: 2rem;
  border-radius: 2rem;
  background: #fff;
  cursor: pointer;
}

form.calculator input[type="range"]::-ms-track {
  width: 100%;
  height: 0.5rem;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}


/* Form container */
.calculator {
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
}

/* Form fields */
.calculator input,
.calculator select,
.calculator textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

/* Form labels */
.calculator label {
  font-size: 14px;
  font-weight: 600;
}

/* Form outputs */
.calculator output {
  font-size: 18px;
  font-weight: 600;
  color: #4CAF50;
}

/* Form submit button */
.calculator input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Form submit button on hover */
.calculator input[type="submit"]:hover {
  background-color: #45a049;
}

/* Form error message */
.calculator .error {
  color: red;
}



