.turn-feedback-dialog {
  width: min(92vw, 560px);
  max-height: min(88dvh, 760px);
  padding: 0;
  overflow: auto;
  color: #f5f2ea;
  background: #071416;
  border: 1px solid rgba(93, 190, 176, 0.5);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.turn-feedback-dialog::backdrop {
  background: rgba(2, 7, 10, 0.72);
  backdrop-filter: blur(3px);
}

.turn-feedback-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.turn-feedback-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.turn-feedback-card__eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #69c8ba;
  font: 700 0.75rem/1 "Montserrat", sans-serif;
  text-transform: uppercase;
}

.turn-feedback-card__lead,
.turn-feedback-card--complete p {
  margin: 0;
  color: #bdc8c6;
  line-height: 1.55;
}

.turn-feedback-card__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #bdc8c6;
  background: transparent;
  border: 1px solid rgba(189, 200, 198, 0.3);
  border-radius: 50%;
}

.turn-feedback-stars {
  display: grid;
  grid-template-columns: repeat(5, 48px);
  gap: 8px;
}

.turn-feedback-stars__button {
  width: 48px;
  height: 48px;
  padding: 0;
  color: #8f9998;
  background: #0c2022;
  border: 1px solid rgba(93, 190, 176, 0.3);
  border-radius: 6px;
  font-size: 1.3rem;
}

.turn-feedback-stars__button.is-selected {
  color: #efb45f;
  border-color: #efb45f;
}

.turn-feedback-card__label {
  color: #eef3f1;
  font-weight: 700;
}

.turn-feedback-card__label span {
  color: #8f9998;
  font-size: 0.78rem;
  font-weight: 500;
}

.turn-feedback-card textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
  color: #f5f2ea;
  background: #091a1c;
  border: 1px solid rgba(93, 190, 176, 0.35);
  border-radius: 6px;
}

.turn-feedback-discount {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(239, 180, 95, 0.08);
  border: 1px solid rgba(239, 180, 95, 0.32);
  border-radius: 6px;
}

.turn-feedback-discount input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #efb45f;
}

.turn-feedback-discount span {
  display: grid;
  gap: 3px;
}

.turn-feedback-discount small {
  color: #bdc8c6;
}

.turn-feedback-card__submit,
.turn-feedback-card__plans,
.turn-feedback-card__finish {
  min-height: 48px;
  padding: 12px 18px;
  color: #071416;
  background: #e49a59;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.turn-feedback-card__submit {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}

.turn-feedback-card__rating-error,
.turn-feedback-card__status {
  min-height: 20px;
  margin: -8px 0 0;
  color: #ef9b9b;
  font-size: 0.84rem;
}

.turn-feedback-card--complete {
  justify-items: center;
  text-align: center;
}

.turn-feedback-card--complete > i {
  color: #69c8ba;
  font-size: 2.4rem;
}

.turn-feedback-coupon {
  display: flex;
  align-items: center;
  padding-left: 16px;
  color: #efb45f;
  background: #0c2022;
  border: 1px dashed #efb45f;
  border-radius: 6px;
}

.turn-feedback-coupon code {
  min-width: 160px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.turn-feedback-coupon button {
  width: 48px;
  height: 48px;
  padding: 0;
  color: #f5f2ea;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(239, 180, 95, 0.4);
}

.turn-feedback-card__finish {
  color: #bdc8c6;
  background: transparent;
  border: 1px solid rgba(189, 200, 198, 0.35);
}

@media (max-width: 575px) {
  .turn-feedback-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .turn-feedback-card {
    gap: 14px;
    padding: 22px 18px 18px;
  }

  .turn-feedback-card h2 {
    padding-right: 36px;
    font-size: 1.72rem;
  }

  .turn-feedback-stars {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .turn-feedback-stars__button {
    width: 100%;
  }
}
