.form .form-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}
.form__2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.form__2-cols .form-group {
  margin-bottom: 0;
}
.form input, .form select, .form textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: 1.4;
  color: inherit;
  background-color: #fff;
  text-indent: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: 0.4s ease border-color, 0.15s ease outline;
  outline: 0px solid transparent;
  outline-offset: -2px;
}
.form input:hover, .form select:hover, .form textarea:hover {
  border-color: var(--primary);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--primary);
  border-color: var(--border);
}
.form label {
  color: var(--heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form label .required {
  color: var(--primary);
}
.form input[type="file"] {
  padding: 2rem;
}
#testimonial-form-wrapper {
  max-width: 900px;
}
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
}
.star-rating-input input[type="radio"] {
  display: none;
}
.star-rating-input label {
  cursor: pointer;
  margin: 0;
  padding: 0;
  transition: transform 0.2s ease;
}
.star-rating-input label:hover {
  transform: scale(1.1);
}
.star-rating-input label svg {
  width: 3.5rem;
  height: 3.5rem;
  color: #d1d5db;
  transition: color 0.2s ease;
}
.star-rating-input input[type="radio"]:checked ~ label svg, .star-rating-input label:hover svg, .star-rating-input label:hover ~ label svg {
  color: #fbbf24;
}
.star-rating-input input[type="radio"]:checked ~ label svg {
  color: #f59e0b;
}
