.sfr-feedback-widget {
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sfr-feedback-source-hidden {
  display: none !important;
}

.sfr-feedback-top {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 0.75rem;
}

.sfr-feedback-list {
  max-width: 780px;
  margin: 0 auto 0.9rem;
}

.sfr-add-feedback-btn,
.sfr-submit {
  border: 0;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.sfr-add-feedback-btn:hover,
.sfr-submit:hover {
  background: #115e59;
}

.sfr-review-list {
  position: relative;
}

.sfr-review-list.sfr-has-controls {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  column-gap: 16px;
}

.sfr-review-viewport {
  overflow: hidden;
}

.sfr-review-track {
  display: flex;
  transition: transform 0.35s ease;
}

.sfr-review-item {
  min-width: 100%;
  box-sizing: border-box;
  border: 1px solid #ededed;
  border-radius: 10px;
  padding: 0.8rem;
  background: #fafafa;
}

.sfr-slider-btn {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.9);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.sfr-slider-btn.prev {
  justify-self: start;
}

.sfr-slider-btn.next {
  justify-self: end;
}

.sfr-slider-btn:hover {
  background: #115e59;
}

.sfr-review-text {
  margin: 0 0 0.5rem;
  color: #222;
}

.sfr-review-author {
  margin: 0;
  color: #666;
  font-size: 0.92rem;
  font-weight: 600;
}

.sfr-no-reviews {
  margin: 0;
  color: #666;
}

.sfr-review-rating {
  margin: 0 0 0.35rem;
}

.sfr-stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
}

.sfr-inline-success {
  margin: 0 0 0.75rem;
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-size: 0.92rem;
}

.sfr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.sfr-modal[hidden] {
  display: none !important;
}

.sfr-modal-dialog {
  width: min(92vw, 520px);
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
}

.sfr-close {
  position: absolute;
  right: 0.6rem;
  top: 0.35rem;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.sfr-text {
  width: 100%;
  box-sizing: border-box;
  margin: 0.5rem 0;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 0.6rem;
}

.sfr-rating {
  display: flex;
  gap: 0.25rem;
  margin: 0.45rem 0 0.2rem;
}

.sfr-star {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.1rem;
  cursor: pointer;
}

.sfr-star.is-active {
  color: #f59e0b;
}

.sfr-meta {
  color: #666;
  margin: 0.2rem 0;
  font-size: 0.92rem;
}

.sfr-error {
  color: #b91c1c;
  margin: 0.4rem 0;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .sfr-feedback-list {
    max-width: 100%;
  }

  .sfr-review-list.sfr-has-controls {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    column-gap: 10px;
  }

  .sfr-slider-btn {
    width: 30px;
    height: 30px;
  }
}
