.pd-feedback-widget-root {
  display: block;
  width: 100%;
  margin: 18px 0;
  font-family: "Poppins", sans-serif;
}

.pd-feedback-widget-root[hidden] {
  display: none !important;
}

.pd-feedback-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid #e5eaf5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pd-feedback-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f3f6fb;
  color: #64748b;
  cursor: pointer;
}

.pd-feedback-body {
  padding-right: 28px;
}

.pd-feedback-question-title,
.pd-feedback-question-wrap h6 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

.pd-feedback-desc {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.pd-feedback-rating-stars {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.pd-feedback-star {
  color: #d8deea;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease;
}

.pd-feedback-star:hover,
.pd-feedback-star.active {
  color: #fbbf24;
}

.pd-feedback-star:hover {
  transform: scale(1.08);
}

.pd-feedback-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-feedback-options.yes-no {
  justify-content: flex-start;
}

.pd-feedback-options.list {
  flex-direction: row;
}

.pd-feedback-btn {
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.pd-feedback-btn:hover,
.pd-feedback-btn.selected {
  border-color: #245fe8;
  background: #eef4ff;
  color: #245fe8;
}

.pd-feedback-submit-btn {
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  background: #245fe8;
  color: #fff;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
}

.pd-feedback-success i {
  color: #22c55e;
  font-size: 30px;
  margin-bottom: 8px;
}

.pd-feedback-success h6 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.pd-feedback-success p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 767px) {
  .pd-feedback-container {
    padding: 18px;
  }

  .pd-feedback-rating-stars {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .map-page-wrapper + .pd-feedback-widget-root {
    bottom: 86px;
  }
}
.pd-feedback-listing-simple {
  margin: 10px 0 22px !important;
}

.pd-feedback-listing-simple .pd-feedback-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pd-feedback-listing-simple .pd-feedback-body {
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  width: 100%;
}

.pd-feedback-listing-simple .pd-feedback-question-title {
  margin: 0 !important;
  flex: 1;
}

.pd-feedback-listing-simple .pd-feedback-rating-stars {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.pd-feedback-listing-simple .pd-feedback-star {
  font-size: 16px !important;
  color: #9ca3af !important;
}

.pd-feedback-listing-simple .pd-feedback-star.active,
.pd-feedback-listing-simple .pd-feedback-star:hover {
  color: #fbbf24 !important;
}

.pd-feedback-listing-simple .pd-feedback-close {
  display: none !important;
}
.pd-feedback-listing-simple .pd-feedback-question-wrap {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  gap: 28px !important;
}

.pd-feedback-listing-simple .pd-feedback-question-title {
  margin: 0 !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.pd-feedback-listing-simple .pd-feedback-desc {
  display: none !important;
}

.pd-feedback-listing-simple .pd-feedback-rating-stars {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
/* Property Detail: options question layout only */
.pd-feedback-widget-root:not(.pd-feedback-listing-simple) .pd-feedback-options.list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-feedback-widget-root:not(.pd-feedback-listing-simple) .pd-feedback-question-wrap {
  display: block !important;
}

.pd-feedback-widget-root:not(.pd-feedback-listing-simple) .pd-feedback-question-title {
  display: block !important;
  margin: 0 0 14px !important;
}
.pd-feedback-detail-options .pd-feedback-container {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 8px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pd-feedback-detail-options .pd-feedback-body {
  padding: 0 !important;
}

.pd-feedback-detail-options .pd-feedback-question-wrap {
  display: block !important;
}

.pd-feedback-detail-options .pd-feedback-question-title {
  display: block !important;
  margin: 0 0 14px !important;
}

.pd-feedback-detail-options .pd-feedback-options.list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.pd-feedback-detail-options .pd-feedback-submit-btn {
  margin-top: 16px !important;
}

.pd-feedback-detail-options .pd-feedback-close {
  display: none !important;
}

.pd-feedback-detail-options {
  margin: 0 !important;
}
/* Property Detail - options + submit same row */
.pd-feedback-detail-options .pd-feedback-question-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
}

.pd-feedback-detail-options .pd-feedback-question-title {
  flex: 0 0 100% !important;
  margin-bottom: 14px !important;
}

.pd-feedback-detail-options .pd-feedback-options.list {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
}

.pd-feedback-detail-options .pd-feedback-options.list .pd-feedback-submit-btn {
  margin: 0 !important;
  height: 48px;
  border-radius: 12px;
}

.pd-feedback-detail-yesno-line .pd-feedback-question-title {
  margin: 0 !important;
}

.pd-feedback-yn-btn {
  border: 0;
  background: transparent;
  color: #7b8494;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.pd-feedback-yn-btn:hover {
  color: #245fe8;
}

.pd-feedback-detail-options-popup {
  max-width: 760px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e5eaf5;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pd-feedback-detail-yesno-line {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.pd-feedback-detail-yesno-line .pd-feedback-question-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 20px !important;
  flex: 0 0 auto !important;
}

.pd-feedback-yn-btn {
  border: 0 !important;
  background: transparent !important;
  color: #7b8494 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  line-height: 20px !important;
  vertical-align: baseline !important;
}

.pd-feedback-yn-btn i {
  font-size: 14px !important;
  line-height: 20px !important;
  color: #9ca3af !important;
  vertical-align: baseline !important;
}
.pd-feedback-options-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pd-feedback-options-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
}

.pd-feedback-options-dialog {
  position: relative;
  width: min(100%, 440px);
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
}

.pd-feedback-options-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: #f3f6fb;
  color: #64748b;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.pd-feedback-popup-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.pd-feedback-popup-option {
  width: 100%;
  text-align: left;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
}

.pd-feedback-popup-option:hover,
.pd-feedback-popup-option.selected {
  border-color: #245fe8;
  background: #eef4ff;
  color: #245fe8;
}

.pd-feedback-options-dialog .pd-feedback-submit-btn {
  width: 100%;
  margin-top: 16px;
}
/* Map page feedback only */
.pd-feedback-widget-root.pd-feedback-map-card {
  position: fixed !important;
  left: 18px !important;
  bottom: 22px !important;
  z-index: 10000 !important;
  width: min(460px, calc(100% - 36px)) !important;
  margin: 0 !important;
}

.pd-feedback-widget-root.pd-feedback-map-card .pd-feedback-container {
  max-width: 460px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  padding-right: 48px !important;
  border: 1px solid #dbe7f3 !important;
  border-radius: 10px !important;
  background: #f8fbff !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14) !important;
}

.pd-feedback-widget-root.pd-feedback-map-card .pd-feedback-body {
  padding-right: 60px !important;
}

.pd-feedback-widget-root.pd-feedback-map-card .pd-feedback-question-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  padding-right: 0 !important;
}

.pd-feedback-widget-root.pd-feedback-map-card .pd-feedback-question-title {
  margin: 0 !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.pd-feedback-widget-root.pd-feedback-map-card .pd-feedback-rating-stars {
  position: static !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  margin-right: 18px !important;
  flex-shrink: 0 !important;
}

.pd-feedback-widget-root.pd-feedback-map-card .pd-feedback-star {
  font-size: 12px !important;
}

.pd-feedback-widget-root.pd-feedback-map-card .pd-feedback-close {
  top: 10px !important;
  right: 8px !important;
  width: 22px !important;
  height: 22px !important;
  z-index: 2 !important;
}
/* Agent + Builder profile feedback only */
.pd-feedback-profile-inline {
  width: 100% !important;
  margin: 0 !important;
}

.pd-feedback-profile-inline .pd-feedback-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pd-feedback-profile-inline .pd-feedback-body {
  padding: 0 !important;
}

.pd-feedback-profile-inline .pd-feedback-question-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}

.pd-feedback-profile-inline .pd-feedback-question-title {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  flex: 0 0 auto !important;
}

.pd-feedback-profile-inline .pd-feedback-rating-stars {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
.pd-feedback-profile-inline .pd-feedback-body {
  display: flex !important;
  align-items: center !important;
}

.pd-feedback-profile-inline .pd-feedback-question-wrap {
  width: auto !important;
}
/* Agent + Builder profile: question and stars same line */
.pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-question-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  width: auto !important;
}

.pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-question-title {
  display: inline-flex !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-desc {
  display: none !important;
}

.pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-rating-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-star {
  font-size: 16px !important;
}
/* Hide close icon only on Agent & Builder profile */
.pd-feedback-profile-inline .pd-feedback-close {
    display: none !important;
}
#pd-homepage-feedback-before-rera .pd-feedback-listing-simple {
  max-width: 1320px !important;
  margin: -56px auto 0 !important;
  padding: 0 12px !important;
}

#pd-homepage-feedback-before-rera .pd-feedback-listing-simple .pd-feedback-container {
  padding: 0 !important;
}

#pd-homepage-feedback-before-rera .pd-feedback-listing-simple .pd-feedback-body {
  justify-content: flex-start !important;
  gap: 16px !important;
}

#pd-homepage-feedback-before-rera .pd-feedback-listing-simple .pd-feedback-question-wrap {
  justify-content: flex-start !important;
  gap: 16px !important;
}

#pd-homepage-feedback-before-rera .pd-feedback-listing-simple .pd-feedback-rating-stars {
  margin-left: 0 !important;
  justify-content: flex-start !important;
}

#footer-common .testimonials-section {
  margin-top: 18px !important;
  padding-top: 0 !important;
}

#footer-common .testimonials-section .section-header {
  margin-top: 0 !important;
}

.pd-feedback-widget-root .pd-feedback-question-title,
.pd-feedback-widget-root .pd-feedback-question-wrap h6,
.pd-feedback-detail-yesno-line .pd-feedback-question-title,
.pd-feedback-options-dialog .pd-feedback-question-title {
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  color: #64748b !important;
  letter-spacing: 0 !important;
}
/* Only Builder/Agent profile feedback mobile fix */
@media (max-width: 600px) {
  .pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-body {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-question-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-question-title {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }

  .pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-rating-stars {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .pd-feedback-widget-root.pd-feedback-profile-inline .pd-feedback-star {
    display: inline-block !important;
    font-size: 20px !important;
  }
}