.wpr-rating {
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 8px;
  background: #fafafa;
}

.wpr-rating__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wpr-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d0d0d0;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s ease, transform 0.1s ease;
}

.wpr-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.wpr-btn:not(:disabled):hover {
  border-color: #0073aa;
}

.wpr-icon {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.wpr-rating__summary {
  font-weight: 600;
  margin-bottom: 1rem;
}

.wpr-contact-submit {
  margin-top: 1rem;
}

.wpr-contact-submit .submit {
  width: auto;
}

.wpr-contact-link {
  color: #70391e;
  padding: 12px 20px 10px 20px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

.wpr-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.wpr-modal.is-open {
  display: block;
}

.wpr-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.wpr-modal__content {
  position: relative;
  max-width: 420px;
  margin: 10% auto;
  background: #fff;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.wpr-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.wpr-contact-shortcode {
  margin-top: 0.5rem;
}

.wpr-contact-shortcode :is(form, .wpcf7) {
  margin: 0;
}
