html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f5f5;
}

.form-container {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1,
h3 {
  text-align: center;
  color: #333;
}

h1 {
  margin-bottom: 30px;
}

h3 {
  margin: 20px 0;
}

.form-row {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.form-row label {
  min-width: 150px;
  font-weight: bold;
  color: #555;
}

.form-row input[type="text"],
.form-row textarea {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-row select {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 20px;
}

.input-with-datalist {
  flex: 1;
  position: relative;
}

.input-with-datalist input {
  width: 100%;
}

.purpose-question {
  margin: 20px 0;
}

.purpose-question label {
  margin-right: 20px;
}

.submit-btn {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: block;
  margin: 20px auto 0;
}

.submit-btn:hover {
  background-color: #45a049;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
}

.scale-label {
  font-weight: bold;
}

.scale-label.pad {
  color: #777;
}

.scale-label.left {
  color: #777;
}

.scale-label.center {
  color: #4a8d50;
}

.scale-label.right {
  color: #2a6d30;
  padding-right: 8%;
}

.rating-section {
  margin: 30px 0;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.slider-container {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.slider-container label {
  width: 150px;
  font-weight: bold;
  color: #555;
}

.slider {
  flex: 1;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

.slider-value {
  width: 30px;
  text-align: right;
  margin-left: 10px;
  font-weight: bold;
}