.service-feedback-modal {
  width: min(610px, 100%);
}

.service-feedback-rating {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.service-feedback-rating legend {
  width: 100%;
  margin-bottom: 9px;
  color: #657c8f;
  font-size: 11px;
  font-weight: 750;
}

.service-feedback-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.service-feedback-stars button {
  width: 54px;
  height: 54px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #c4d2dc;
  border: 1px solid #d4e1e9;
  border-radius: 15px;
  background: #f7fafc;
  font: 900 34px/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform .16s ease, color .16s ease, border-color .16s ease, background .16s ease;
}

.service-feedback-stars button:hover {
  transform: translateY(-2px);
  border-color: #efc34e;
}

.service-feedback-stars button.selected {
  color: #f4b91c;
  border-color: #efc34e;
  background: #fff9e8;
  box-shadow: 0 7px 17px rgba(213, 153, 0, .14);
}

.service-feedback-stars button:focus-visible {
  outline: 3px solid #168ccb;
  outline-offset: 3px;
}

.service-feedback-stars button:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
}

.service-feedback-rating > p {
  min-height: 20px;
  margin: 9px 0 0;
  color: #916b0b;
  font-size: 12px;
  font-weight: 800;
}

.service-feedback-suggestions {
  position: relative;
  margin-top: 18px;
  display: grid;
  gap: 7px;
  color: #214b73;
  font-size: 12px;
  font-weight: 800;
}

.service-feedback-suggestions > span {
  margin-left: 4px;
  color: #718596;
  font-weight: 600;
}

.service-feedback-suggestions textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 92px;
  padding: 12px 14px 25px;
  resize: vertical;
  color: #173f64;
  border: 1px solid #c7dbe7;
  border-radius: 13px;
  background: #fbfdff;
  font: 500 14px/1.5 inherit;
}

.service-feedback-suggestions textarea:focus {
  outline: 3px solid rgba(22, 140, 203, .17);
  border-color: #168ccb;
}

.service-feedback-suggestions > small {
  position: absolute;
  right: 10px;
  bottom: 7px;
  color: #7a8d9c;
  font-size: 9px;
  font-weight: 700;
}

.service-feedback-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  color: #fff;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(105deg, #075a9d, #078cac);
  box-shadow: 0 9px 20px rgba(8, 96, 147, .18);
  font: 850 14px/1.2 inherit;
  cursor: pointer;
}

.service-feedback-submit:disabled {
  opacity: .52;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 640px) {
  .service-feedback-modal {
    padding: 24px 18px 20px;
  }

  .service-feedback-stars {
    gap: 5px;
  }

  .service-feedback-stars button {
    width: min(54px, 16vw);
    height: min(54px, 16vw);
    border-radius: 13px;
    font-size: 31px;
  }

  .service-feedback-suggestions textarea {
    min-height: 86px;
  }
}
