/* Customer review forms, public CTA and staff moderation. */
/* This route's preloader sits outside #wrapper; keep the plain form usable. */
html:not(.cyb-preloading) body.path-reviews #cyb-preloader { display: none !important; }
html body[class*="path-"] #wrapper .cyb-review-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px 1.5rem;
}

html body[class*="path-"] #wrapper .cyb-review-button,
html body[class*="path-"] #wrapper .cyb-review-form .form-submit,
html body[class*="path-"] #wrapper .cyb-review-moderation .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  max-width: 100%;
  margin: 0 !important;
  padding: .75rem 1.4rem !important;
  border: 1px solid #138450;
  border-radius: 10px;
  background: #138450;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transform: none !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body[class*="path-"] #wrapper .cyb-review-button:hover,
html body[class*="path-"] #wrapper .cyb-review-form .form-submit:hover,
html body[class*="path-"] #wrapper .cyb-review-moderation .form-submit:hover {
  background: #0e6c3e;
  border-color: #0e6c3e;
}
html body[class*="path-"] #wrapper .cyb-review-button--secondary {
  background: #fff;
  color: #0e6c3e !important;
  -webkit-text-fill-color: #0e6c3e !important;
}
html body[class*="path-"] #wrapper .cyb-review-button--secondary:hover { background: #eaf7ee; }
html body[class*="path-"] #wrapper .cyb-review-button.use-ajax {
  border: 2px solid #000;
}

@media (min-width: 1000.01px) {
  html body[class*="path-"] #wrapper .cyb-review-cta .cyb-review-control {
    margin-top: 2rem;
  }
}

html body[class*="path-"] #wrapper :is(.cyb-review-button, .cyb-review-filter):focus-visible,
html body[class*="path-"] #wrapper :is(.cyb-review-form, .cyb-review-moderation, .cyb-review-dialog) :is(input, textarea, button, a, summary):focus-visible {
  outline: 3px solid #138450 !important;
  outline-offset: 3px;
}

/* The native button reserves exactly the same space during an AJAX request. */
html body[class*="path-"] #wrapper .cyb-review-control {
  position: relative;
  display: inline-grid;
  vertical-align: top;
  max-width: 100%;
}
html body[class*="path-"] #wrapper .cyb-review-control > :is(a, input) { margin: 0 !important; width: 100%; }
html body[class*="path-"] #wrapper .cyb-review-control.is-busy > :is(a, input) {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 1;
  cursor: wait;
  transition: none;
}
html body[class*="path-"] #wrapper .cyb-review-progress {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  pointer-events: none;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 16px;
  font-weight: 700;
}
html body[class*="path-"] #wrapper .cyb-review-spinner {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  box-sizing: border-box;
  border: 2px solid rgb(255 255 255 / 40%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cyb-review-spin .8s linear infinite;
}
@keyframes cyb-review-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html body[class*="path-"] #wrapper .cyb-review-spinner { animation: none; }
}

/* Size the dialog itself; the header stays visible as the form scrolls. */
html body[class*="path-"] #wrapper .ui-dialog.cyb-review-dialog {
  position: fixed;
  z-index: 10010;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(640px, calc(100vw - max(32px, env(safe-area-inset-left) + env(safe-area-inset-right)))) !important;
  height: auto !important;
  max-width: calc(100vw - 32px);
  max-height: min(720px, 75dvh);
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7e5dd;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(13 43 30 / 24%);
  color: #17392b;
  -webkit-text-fill-color: #17392b;
}
html body[class*="path-"] #wrapper .ui-widget-overlay.cyb-review-backdrop {
  z-index: 10009;
  opacity: 1;
  background: rgb(16 38 29 / 48%);
}
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar {
  flex: 0 0 auto;
  position: relative;
  padding: 1.25rem 4.25rem 1.25rem 1.75rem;
  border: 0;
  border-bottom: 1px solid #d7e5dd;
  border-radius: 0;
  background: #fff !important;
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 700;
}
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-title {
  float: none;
  font-size: inherit;
  line-height: inherit;
  width: auto;
  margin: 0;
  white-space: normal;
  color: #17392b !important;
  -webkit-text-fill-color: #17392b !important;
}
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar-close {
  position: absolute;
  width: 44px;
  height: 44px;
  right: .85rem;
  top: 50%;
  margin: 0 !important;
  transform: translateY(-50%) !important;
  padding: 0;
  border: 1px solid #d7e5dd;
  border-radius: 10px;
  background: #f3f8f5;
  color: #17392b !important;
  -webkit-text-fill-color: #17392b !important;
  box-shadow: none;
}
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar-close:hover { background: #eaf7ee; }
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar-close .ui-icon {
  background: none;
  filter: none;
  text-indent: 0;
  font-size: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
}
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar-close::before,
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar-close::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 13px;
  width: 2px;
  height: 16px;
  background: #17392b;
  transform: rotate(45deg);
}
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar-close::after { transform: rotate(-45deg); }
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-content {
  flex: 1 1 auto;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  box-sizing: border-box;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1.5rem 1.75rem;
  scroll-padding-block: 1rem;
}
html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-buttonpane { display: none; }
html body[class*="path-"] #wrapper :is(.cyb-review-surface, .cyb-review-detail, .cyb-review-moderation) {
  max-width: 860px;
  min-width: 0;
  box-sizing: border-box;
  color: #17392b;
  -webkit-text-fill-color: #17392b;
}
html body[class*="path-"] #wrapper .cyb-review-form { margin: 0; font-size: 16px; }
html body[class*="path-"] #wrapper .cyb-review-intro {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #f0f8f3;
  color: #365646;
  -webkit-text-fill-color: #365646;
  font-size: .9375rem;
  line-height: 1.6;
}
html body[class*="path-"] #wrapper .cyb-review-meta { color: #52665b; -webkit-text-fill-color: #52665b; line-height: 1.6; margin-bottom: 1rem; }
html body[class*="path-"] #wrapper .cyb-review-form .form-item { margin: 0 0 1.25rem; min-width: 0; }
html body[class*="path-"] #wrapper .cyb-review-form label { font-weight: 600; margin-bottom: .5rem; }
html body[class*="path-"] #wrapper .cyb-review-form :is(input[type="text"], textarea) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: .8rem .95rem;
  border: 1px solid #a8beb1;
  border-radius: 10px;
  background: #fff;
  color: #17392b;
  -webkit-text-fill-color: #17392b;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
}
html body[class*="path-"] #wrapper .cyb-review-form textarea { min-height: 145px; resize: vertical; border: 1px solid #a8beb1 !important; border-radius: 10px !important; }
html body[class*="path-"] #wrapper .cyb-review-form .description { font-size: .875rem; line-height: 1.5; margin-top: .4rem; color: #52665b; -webkit-text-fill-color: #52665b; overflow-wrap: anywhere; }
html body[class*="path-"] #wrapper .cyb-review-counter { display: block; margin-top: .4rem; text-align: right; font-size: .8125rem; color: #52665b; -webkit-text-fill-color: #52665b; }
html body[class*="path-"] #wrapper .cyb-review-form fieldset { padding: 0; border: 0; margin: 0 0 1.25rem; min-width: 0; }
html body[class*="path-"] #wrapper .cyb-review-form legend { text-align: left !important; font: inherit; font-weight: 600; float: none; width: auto; margin: 0 0 .5rem; }
html body[class*="path-"] #wrapper .cyb-review-form :is(.radios, .form-radios) { display: flex !important; flex-wrap: wrap; gap: .5rem; }
html body[class*="path-"] #wrapper .cyb-review-form .form-type-radio { margin: 0 !important; display: flex !important; align-items: center; gap: .4rem; min-height: 44px; width: auto !important; }
html body[class*="path-"] #wrapper .cyb-review-form .form-type-radio label { margin: 0; cursor: pointer; }
html body[class*="path-"] #wrapper .cyb-review-form .cyb-review-star-input .radios { gap: 4px; flex-wrap: nowrap; }
html body[class*="path-"] #wrapper .cyb-review-form .cyb-review-star-input .form-type-radio {
  position: relative;
  flex: 0 0 48px;
  min-height: 48px;
  padding: 0 !important;
  border: 1px solid #c8d9cf;
  border-radius: 10px;
  background: #fff !important;
}
html body[class*="path-"] #wrapper .cyb-review-form .cyb-review-star-input .form-type-radio label { display: grid; place-items: center; width: 100%; height: 48px; padding: 0; }
html body[class*="path-"] #wrapper .cyb-review-form .cyb-review-star-input input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
html body[class*="path-"] #wrapper .cyb-review-star { font-size: 2rem; line-height: 1; color: #718578; -webkit-text-fill-color: #718578; }
html body[class*="path-"] #wrapper .cyb-review-form .cyb-review-star-input .is-filled { background: #eaf7ee !important; border-color: #138450; }
html body[class*="path-"] #wrapper .is-filled .cyb-review-star { color: #0e6c3e; -webkit-text-fill-color: #0e6c3e; }
html body[class*="path-"] #wrapper .cyb-review-star-input .form-type-radio:has(input:focus-visible) { outline: 3px solid #138450; outline-offset: 3px; }
html body[class*="path-"] #wrapper .cyb-review-rating-caption { display: block; margin-top: .5rem; font-size: .875rem; color: #52665b; -webkit-text-fill-color: #52665b; }
html body[class*="path-"] #wrapper .cyb-review-form :is(input[type="radio"], input[type="checkbox"]) { accent-color: #138450; }
html body[class*="path-"] #wrapper .cyb-review-form .form-type-checkbox { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid #d7e5dd; border-radius: 12px; background: #f8fbf9; }
html body[class*="path-"] #wrapper .cyb-review-form input[type="checkbox"] { width: 20px; height: 20px; margin-top: .15rem; flex: 0 0 20px; }
html body[class*="path-"] #wrapper .cyb-review-form .form-type-checkbox label { flex: 1; line-height: 1.6; font-size: .875rem; margin: 0; cursor: pointer; }
html body[class*="path-"] #wrapper .cyb-review-form details { border: 1px solid #d7e5dd; border-radius: 12px; padding: 1rem; margin: 1.25rem 0; }
html body[class*="path-"] #wrapper .cyb-review-form summary { cursor: pointer; font-weight: 700; min-height: 28px; line-height: 1.6; }
html body[class*="path-"] #wrapper .cyb-review-upload { overflow-wrap: anywhere; min-width: 0; margin-top: 1rem; padding: 1rem; border: 1px solid #d7e5dd; border-radius: 10px; background: #f8fbf9; }
html body[class*="path-"] #wrapper .cyb-review-upload .form-item:last-child { margin-bottom: 0; }
html body[class*="path-"] #wrapper .cyb-review-upload img { display: block; max-width: 120px; max-height: 120px; margin: 0 0 .75rem; object-fit: contain; border-radius: 8px; }
html body[class*="path-"] #wrapper .cyb-review-upload input[type="file"] { width: 100%; max-width: 100%; font: inherit; font-size: 16px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; }
html body[class*="path-"] #wrapper .cyb-review-upload input[type="file"]::file-selector-button { min-height: 44px; margin-right: .5rem; padding: .5rem .65rem; border: 1px solid #a8beb1; border-radius: 8px; background: #fff; color: #0e6c3e; font: inherit; cursor: pointer; }
html body[class*="path-"] #wrapper .cyb-review-upload .form-submit { min-height: 44px; margin: .75rem 0 0 !important; padding: .5rem .85rem; }
html body[class*="path-"] #wrapper .cyb-review-form .form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid #d7e5dd; }
html body[class*="path-"] #wrapper .cyb-review-field-error { flex-basis: 100%; margin-top: .5rem; color: #a12b29; -webkit-text-fill-color: #a12b29; font-size: .875rem; }
html body[class*="path-"] #wrapper .cyb-review-form :is([aria-invalid="true"], input.error, textarea.error) { border-color: #a12b29 !important; }
html body[class*="path-"] #wrapper .cyb-review-transport-error { margin: 1rem 0; padding: 1rem; border: 1px solid #e9bebc; border-radius: 10px; background: #fff5f4; color: #822826; -webkit-text-fill-color: #822826; line-height: 1.6; }
html body[class*="path-"] #wrapper .cyb-review-success h2 { margin: 0 0 .75rem; font-size: 1.5rem; line-height: 1.35; color: #0e6c3e; -webkit-text-fill-color: #0e6c3e; }
html body[class*="path-"] #wrapper .cyb-review-success p { margin: .5rem 0; }

@media (max-width: 767px) {
  html body[class*="path-"] #wrapper .ui-dialog.cyb-review-dialog {
    border-radius: 16px;
  }
  html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-titlebar { padding: 1.1rem 4rem 1.1rem 1rem; font-size: 1.2rem; }
  html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-content { padding: 1rem; }
  html body[class*="path-"] #wrapper .cyb-review-form .form-actions > * { width: 100%; }
  html body[class*="path-"] #wrapper .cyb-review-form .cyb-review-star-input .form-type-radio { flex-basis: 44px; }
  html body[class*="path-"] #wrapper .cyb-review-form .cyb-review-star-input .form-type-radio label { height: 44px; }
  html body[class*="path-"] #wrapper .cyb-review-upload { padding: .75rem; }
}
html body[class*="path-"] #wrapper .cyb-review-notice {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #c5dfd0;
  border-left: 4px solid #138450;
  border-radius: 8px;
  background: #eaf7ee;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
html body[class*="path-"] #wrapper .cyb-review-notice p:last-child { margin-bottom: 0; }
html body[class*="path-"] #wrapper .cyb-review-company { display: block; margin-top: .35rem; font-size: .925rem; font-weight: 400; }
html body[class*="path-"] #wrapper .cyb-review-stars { display: inline-flex; gap: .5rem; align-items: center; color: #138450; -webkit-text-fill-color: #138450; white-space: nowrap; font-size: 1.5rem; }
html body[class*="path-"] #wrapper .cyb-review-stars__label { font-size: .875rem; font-weight: 600; }
html body[class*="path-"] #wrapper .cyb-review-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
html body[class*="path-"] #wrapper .cyb-review-status { display: inline-block; padding: .3rem .7rem; border-radius: 20px; background: #eaf7ee; color: #0e6c3e; -webkit-text-fill-color: #0e6c3e; font-weight: 700; }
html body[class*="path-"] #wrapper .cyb-review-detail { padding: 1.5rem; border: 1px solid #d7e5dd; border-radius: 12px; background: #fff; margin: 1rem 0; }
html body[class*="path-"] #wrapper .cyb-review-detail h2 { margin: 1rem 0 .5rem; font-size: 1.5rem; }
html body[class*="path-"] #wrapper .cyb-review-detail header {
  border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important;
}
html body[class*="path-"] #wrapper .cyb-review-detail p:not(.cyb-review-notice) {
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
  box-shadow: none !important; padding: 0 !important;
  color: #17392b !important; -webkit-text-fill-color: #17392b !important;
}
html body[class*="path-"] #wrapper .cyb-review-moderation .form-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .75rem 1.4rem; border: 1px solid #138450; border-radius: 8px;
  background: #fff !important; color: #0e6c3e !important; -webkit-text-fill-color: #0e6c3e !important;
  text-decoration: none;
}
html body[class*="path-"] #wrapper :is(.cyb-review-actions, .cyb-review-filters) { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
html body[class*="path-"] #wrapper .cyb-review-filter { padding: .65rem 1.1rem; border: 1px solid #bdd8c8; border-radius: 8px; color: #0e6c3e; -webkit-text-fill-color: #0e6c3e; text-decoration: none; }
html body[class*="path-"] #wrapper .cyb-review-filter.is-active { background: #eaf7ee; border-color: #138450; font-weight: 700; }
html body[class*="path-"] #wrapper .cyb-review-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
html body[class*="path-"] #wrapper .cyb-review-images figure { margin: 0; padding: .75rem; background: #f4f8f5; border-radius: 8px; }
html body[class*="path-"] #wrapper .cyb-review-images figcaption { font-weight: 600; margin-bottom: .5rem; }
html body[class*="path-"] #wrapper .cyb-review-images img { max-width: 100%; height: auto; }
html body[class*="path-"] #wrapper .cyb-review-table { width: 100%; margin: 1rem 0; }
html body[class*="path-"] #wrapper .cyb-review-table :is(th, td) { padding: .85rem; text-align: left; border-bottom: 1px solid #d7e5dd; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  html body[class*="path-"] #wrapper .cyb-review-dialog .ui-dialog-content { padding: 1rem; }
  html body[class*="path-"] #wrapper .cyb-review-images { grid-template-columns: 1fr; }
  html body[class*="path-"] #wrapper .cyb-review-detail { padding: 1rem; }
  html body[class*="path-"] #wrapper .cyb-review-table thead { display: none; }
  html body[class*="path-"] #wrapper .cyb-review-table :is(tbody, tr, td) { display: block; width: 100%; box-sizing: border-box; }
  html body[class*="path-"] #wrapper .cyb-review-table tr { margin-bottom: 1rem; border: 1px solid #d7e5dd; border-radius: 8px; }
  html body[class*="path-"] #wrapper .cyb-review-table td::before { content: attr(data-label); display: block; font-weight: 600; margin-bottom: .25rem; }
  html body[class*="path-"] #wrapper .cyb-review-form .form-actions .form-submit { width: 100%; }
}
