/* =========================================================
   Client Feedback Form — scoped under .custom-feedback-page
   Prevents conflicts with WordPress / theme CSS
   Font sizes: designed at 1920px, scale with viewport via calc
   ========================================================= */

html,
body {
  margin: 0;
  padding: 0;
}

.custom-feedback-page {
  --cf-primary: #a3238e;
  --cf-heading: #0a0a0a;
  --cf-paragraph: #717182;
  --cf-border: #e5e5e5;
  --cf-light-pink: #ffecfc;
  --cf-white: #ffffff;
  --cf-container: 1300px;
  --cf-scale: calc(100vw / 1920);

  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cf-heading);
  background: #f5f5f5;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.custom-feedback-page *,
.custom-feedback-page *::before,
.custom-feedback-page *::after {
  box-sizing: border-box;
}

.custom-feedback-page img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

.custom-feedback-page a {
  text-decoration: none;
  color: inherit;
}

.custom-feedback-page button,
.custom-feedback-page input,
.custom-feedback-page textarea {
  font-family: inherit;
}

.custom-feedback-page .cf-container {
  width: 100%;
  max-width: var(--cf-container);
  margin: 0 auto;
  padding: 0 60px;
}

/* ---------- Header ---------- */
.custom-feedback-page .cf-header {
  background: linear-gradient(359.39deg, #ec008c -78.57%, #a3238e 57.51%);
  color: var(--cf-white);
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.custom-feedback-page .cf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.custom-feedback-page .cf-header-text {
  flex: 1;
  max-width: 720px;
}

/* 50px — font-weight 800 */
.custom-feedback-page .cf-header-title {
  margin: 0 0 10px;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cf-white);
}

/* 30px */
.custom-feedback-page .cf-header-subtitle {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cf-white);
}

/* 22px */
.custom-feedback-page .cf-header-desc {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  max-width: 7000px;
}

.custom-feedback-page .cf-header-logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.custom-feedback-page .cf-header-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Background blur watermark — fuller, more visible on right (design ref) */
.custom-feedback-page .cf-header-watermark {
  position: absolute;
  right: 0;
  top: 21px;
  max-height: none;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.custom-feedback-page .cf-header-watermark img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  /* Soft white watermark — stronger visibility */
  filter: brightness(0) invert(1) blur(1px);
  opacity: 0.8;
}

/* ---------- Main / Form Card ---------- */
.custom-feedback-page .cf-main {
  padding: 0 0 65px;
  margin-top: -70px;
  position: relative;
  z-index: 3;
}

.custom-feedback-page .cf-form-card {
  --cf-card-pad-x: 34px;
  background: var(--cf-white);
  border-radius: 16px;
  box-shadow: 0px -11px 124px 0px #ffffff40;
  padding: 29px var(--cf-card-pad-x);
}

.custom-feedback-page .cf-form-intro {
  margin-bottom: 35px;
  padding-bottom: 29px;
  border-bottom: 1px solid var(--cf-border);
}

.custom-feedback-page .cf-form-intro h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  color: var(--cf-heading);
}

.custom-feedback-page .cf-form-intro p {
  margin: 0;
  font-size: 17px;
  color: var(--cf-paragraph);
  font-weight: 400;
}

/* ---------- Name / Company row ---------- */
.custom-feedback-page .cf-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 0;
  margin-left: calc(-1 * var(--cf-card-pad-x, 34px));
  margin-right: calc(-1 * var(--cf-card-pad-x, 34px));
  padding: 0 var(--cf-card-pad-x, 34px) 35px;
  border-bottom: 1px solid var(--cf-border);
}

.custom-feedback-page .cf-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-feedback-page .cf-field label {
  font-size: 16px;
  font-weight: 500;
  color: var(--cf-heading);
}

.custom-feedback-page .cf-field input[type="text"],
.custom-feedback-page .cf-field input[type="email"],
.custom-feedback-page .wpcf7-form-control.wpcf7-text {
  width: 100%;
  height: 50px;
  padding: 14px;
  border: 1px solid #8e8e8e;
  border-radius: 5px;
  font-size: 14px;
  color: var(--cf-heading);
  background: var(--cf-white);
  outline: none;
  transition: border-color 0.2s ease;
  font-weight: 400;
}

.custom-feedback-page .cf-field input::placeholder {
  color: #a0a0a0;
}

.custom-feedback-page .cf-field input:focus,
.custom-feedback-page .wpcf7-form-control:focus {
  border-color: var(--cf-primary);
}

/* ---------- Rating rows (design panel) ---------- */
.custom-feedback-page .cf-rating-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  /* full-bleed borders: break out of card side padding */
  margin-left: calc(-1 * var(--cf-card-pad-x, 34px));
  margin-right: calc(-1 * var(--cf-card-pad-x, 34px));
  padding: 32px var(--cf-card-pad-x, 34px);
  border-bottom: 1px solid var(--cf-border);
}

/* left — icon + text */
.custom-feedback-page .cf-rating-left {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  display: flex;
  align-items: flex-start;
  gap: 23px;
  min-width: 0;
}

.custom-feedback-page .cf-rating-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #ffecfc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cf-primary);
  align-self: flex-start;
}

.custom-feedback-page .cf-rating-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.custom-feedback-page .cf-rating-content {
  flex: 1;
  min-width: 0;
}

.custom-feedback-page .cf-rating-content h3 {
  margin: 0 0 3px;
  font-size: 21px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.3;
}
.custom-feedback-page .cf-rating-content h4 {
  font-size: 18px;
}

.custom-feedback-page .cf-rating-content p {
  margin: 0;
  font-size: 17px;
  color: #717182;
  line-height: 1.4;
  max-width: 520px;
  font-weight: 400;
}

/* right — rating scale pinned to the right */
.custom-feedback-page .cf-rating-scale {
  --cf-rate-size: 40px;
  --cf-rate-gap: 50px;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin-left: auto;
  /* CRITICAL: do not use min-width:0 — it squeezes unparsed shortcode into a tall thin column */
  min-width: calc((var(--cf-rate-size) * 5) + (var(--cf-rate-gap) * 4));
}

/* Poor / Excellent labels aligned with columns 1 and 5 */
.custom-feedback-page .cf-rating-labels {
  display: grid;
  grid-template-columns: repeat(3, var(--cf-rate-size));
  gap: var(--cf-rate-gap);
  margin-bottom: 8px;
  justify-content: start;
  width: max-content;
}

.custom-feedback-page .cf-rating-labels span {
  font-size: 16px;
  color: #717182;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.custom-feedback-page .cf-rating-labels span:first-child {
  grid-column: 1;
  text-align: left;
}

.custom-feedback-page .cf-rating-labels span:last-child {
  grid-column: 5;
  text-align: right;
}

/*
  CF7 markup (after shortcode parses):
  .cf-rating-options
    > .wpcf7-form-control-wrap
      > .wpcf7-form-control.wpcf7-radio.cf-rating-radio
        > .wpcf7-list-item > label > input + .wpcf7-list-item-label
*/

.custom-feedback-page .cf-rating-options {
  display: block;
  width: max-content;
  min-width: calc((var(--cf-rate-size) * 5) + (var(--cf-rate-gap) * 4));
}

.custom-feedback-page .cf-rating-options .wpcf7-form-control-wrap {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

/* 5 rating boxes in one horizontal row */
.custom-feedback-page .cf-rating-options .wpcf7-radio,
.custom-feedback-page .cf-rating-options .wpcf7-radio.cf-rating-radio {
  display: grid !important;
  grid-template-columns: repeat(5, var(--cf-rate-size)) !important;
  gap: var(--cf-rate-gap) !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top;
}

.custom-feedback-page .cf-rating-options .wpcf7-list-item,
.custom-feedback-page .cf-rating-options .wpcf7-list-item.first,
.custom-feedback-page .cf-rating-options .wpcf7-list-item.last {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.custom-feedback-page .cf-rating-options .wpcf7-list-item label {
  position: relative;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  line-height: 1;
  font-weight: 500;
}

/* Hide native radio circle */
.custom-feedback-page .cf-rating-options input[type="radio"],
.custom-feedback-page .cf-rating-options .wpcf7-list-item input[type="radio"] {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Styled box = the number label (1–5) */
.custom-feedback-page .cf-rating-options .wpcf7-list-item-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--cf-rate-size) !important;
  height: var(--cf-rate-size) !important;
  border: 1px solid #a3238e !important;
  border-radius: 8px !important;
  background: #ffecfc !important;
  color: #0a0a0a !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box !important;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.custom-feedback-page
  .cf-rating-options
  .wpcf7-list-item
  label:hover
  .wpcf7-list-item-label {
  border-color: #a3238e !important;
}

/* Selected = purple fill, white number */
.custom-feedback-page
  .cf-rating-options
  .wpcf7-list-item
  label:has(input:checked)
  .wpcf7-list-item-label,
.custom-feedback-page
  .cf-rating-options
  .wpcf7-list-item.is-active
  .wpcf7-list-item-label,
.custom-feedback-page
  .cf-rating-options
  .wpcf7-list-item
  input[type="radio"]:checked
  + .wpcf7-list-item-label {
  background: #a3238e !important;
  border-color: #a3238e !important;
  color: #ffffff !important;
}

.custom-feedback-page
  .cf-rating-options
  .wpcf7-list-item
  input[type="radio"]:focus-visible
  + .wpcf7-list-item-label {
  outline: 2px solid #a3238e;
  outline-offset: 2px;
}

/* Preview HTML (no CF7) */
.custom-feedback-page .cf-rating-options > label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0;
}

.custom-feedback-page .cf-rating-options:not(:has(.wpcf7-form-control-wrap)) {
  display: grid;
  grid-template-columns: repeat(5, var(--cf-rate-size));
  gap: var(--cf-rate-gap);
  justify-content: start;
}

.custom-feedback-page .cf-rating-options > label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-feedback-page .cf-rating-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--cf-rate-size);
  height: var(--cf-rate-size);
  border: 1px solid #a3238e;
  border-radius: 8px;
  background: #ffecfc;
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  user-select: none;
  cursor: pointer;
}

.custom-feedback-page .cf-rating-options > label:hover .cf-rating-box {
  border-color: #a3238e;
}

.custom-feedback-page
  .cf-rating-options
  > label
  input[type="radio"]:checked
  + .cf-rating-box,
.custom-feedback-page .cf-rating-options > label.is-active .cf-rating-box {
  background: #a3238e;
  border-color: #a3238e;
  color: #ffffff;
}

.custom-feedback-page .cf-rating-options .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #c0392b;
}

.custom-feedback-page .cf-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.custom-feedback-page .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}

.custom-feedback-page .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

/* ---------- Suggestions ---------- */
.custom-feedback-page .cf-suggestions-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-left: calc(-1 * var(--cf-card-pad-x, 34px));
  margin-right: calc(-1 * var(--cf-card-pad-x, 34px));
  padding: 32px var(--cf-card-pad-x, 34px);
  border-bottom: 1px solid var(--cf-border);
}

.custom-feedback-page .cf-suggestions-row .cf-rating-left {
  flex: 1 1 0;
  width: auto;
  max-width: none;
}

.custom-feedback-page .cf-suggestions-row .cf-rating-content {
  flex: 1;
  max-width: none;
}

.custom-feedback-page .cf-suggestions-field {
  flex: 0 1 40%;
  width: 40%;
  max-width: 520px;
  min-width: 260px;
  margin-left: auto;
}

.custom-feedback-page .cf-suggestions-field textarea,
.custom-feedback-page .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  height: 135px;
  min-height: 135px;
  max-height: 135px;
  padding: 14px 16px;
  border: none;
  border-radius: 15px;
  background: #ffecfc;
  font-size: 15px;
  color: var(--cf-heading);
  resize: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.custom-feedback-page .cf-suggestions-field textarea::placeholder {
  color: #b090a8;
}

.custom-feedback-page .cf-suggestions-field textarea:focus {
  border-color: var(--cf-primary);
}

/* ---------- Feedback banner ---------- */
.custom-feedback-page .cf-feedback-banner {
  display: flex;
  align-items: center;
  gap: 23px;
  margin: 28px 0;
  padding: 30px;
  background: #ffecfc;
  border-radius: 20px;
}

.custom-feedback-page .cf-banner-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-feedback-page .cf-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.custom-feedback-page .cf-banner-title {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.custom-feedback-page .cf-banner-desc {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: #a3238e;
  line-height: 1.4;
}

/* ---------- Actions (Reset + CF7 Submit) ---------- */
.custom-feedback-page .cf-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 8px;
}

/* CF7 often wraps submit in <p> — unwrap visually for flex row */
.custom-feedback-page .cf-form-actions > p,
.custom-feedback-page .cf-form-actions .wpcf7-form-control-wrap {
  display: contents;
  margin: 0;
  padding: 0;
}

.custom-feedback-page .cf-btn,
.custom-feedback-page .cf-form-actions .wpcf7-submit,
.custom-feedback-page .cf-form-actions input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
  border: 1.5px solid transparent;
  line-height: 1;
  width: auto;
  flex: 0 0 auto;
  box-sizing: border-box;
}
.custom-feedback-page .cf-btn-reset {
  background: #ffffff;
  border-color: #d0d0d0;
  color: #0a0a0a;
}

.custom-feedback-page .cf-btn-reset:hover {
  border-color: #999;
  background: #fafafa;
}

.custom-feedback-page .cf-btn-submit,
.custom-feedback-page .cf-form-actions .wpcf7-submit,
.custom-feedback-page .cf-form-actions input.wpcf7-submit {
  background: #a3238e !important;
  border-color: #a3238e !important;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 400;
}

.custom-feedback-page .cf-btn-submit:hover,
.custom-feedback-page .cf-form-actions .wpcf7-submit:hover,
.custom-feedback-page .cf-form-actions input.wpcf7-submit:hover {
  background: #8b1a7a !important;
  border-color: #8b1a7a !important;
  color: #ffffff !important;
}

/* CF7 submit button override when wrapped elsewhere */
.custom-feedback-page .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  background: #a3238e;
  border: 1.5px solid #a3238e;
  color: #ffffff;
  transition: background 0.2s ease;
}

.custom-feedback-page .wpcf7-submit:hover {
  background: #8b1a7a;
}

/* ---------- Footer ---------- */
.custom-feedback-page .cf-footer {
  background: #7a186b;
  color: var(--cf-white);
  padding: 36px 0;
}

.custom-feedback-page .cf-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.custom-feedback-page .cf-footer-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--cf-white);
}

.custom-feedback-page .cf-footer-desc {
  margin: 0;
  font-size: 18px;
  color: var(--cf-white);
}

.custom-feedback-page .cf-social {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
  align-items: center;
}

.custom-feedback-page .cf-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cf-white);
}

.custom-feedback-page .cf-social img {
  max-width: 38px;
}
.form-checkbox {
  margin: 15px 0 0 0;
}
.form-checkbox span.wpcf7-list-item-label {
  display: inline-block;
  color: #717182;
}
.form-checkbox .wpcf7-list-item {
  display: flex;
  margin: 0 0 10px;
  align-items: center;
  gap: 15px;
}

.form-checkbox .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
}
.form-checkbox .wpcf7-list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  padding: 0;
  border: 1.5px solid #a3238e;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.form-checkbox .wpcf7-list-item input[type="checkbox"]:checked {
  background-color: #a3238e;
  border-color: #a3238e;
}
.form-checkbox .wpcf7-list-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-checkbox .wpcf7-list-item input[type="checkbox"]:hover {
  border-color: #a3238e;
}

.form-checkbox .wpcf7-list-item input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(163, 35, 142, 0.3);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .custom-feedback-page .cf-container {
    padding: 0 60px;
  }
}

@media (max-width: 1024px) {
  .custom-feedback-page .cf-container {
    padding: 0 40px;
  }

  .custom-feedback-page .cf-header {
    padding: clamp(60px, calc(110px * var(--cf-scale)), 110px) 0;
  }

  .custom-feedback-page .cf-form-card {
    padding: 32px 28px 28px;
    --cf-card-pad-x: 28px;
  }

  .custom-feedback-page .cf-rating-scale {
    --cf-rate-gap: 24px;
  }

  .custom-feedback-page .cf-rating-row,
  .custom-feedback-page .cf-suggestions-row {
    gap: 28px;
  }

  .custom-feedback-page .cf-suggestions-field {
    flex: 0 1 42%;
    width: 42%;
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .custom-feedback-page .cf-container {
    padding: 0 20px;
  }

  .custom-feedback-page .cf-header {
    padding: 70px 0 90px;
  }

  .custom-feedback-page .cf-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .custom-feedback-page .cf-header-title {
    font-size: 36px;
  }

  .custom-feedback-page .cf-header-subtitle {
    font-size: 22px;
  }

  .custom-feedback-page .cf-header-desc {
    font-size: 16px;
  }

  .custom-feedback-page .cf-header-watermark {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 130%;
  }

  .custom-feedback-page .cf-main {
    margin-top: -60px;
    padding-bottom: 40px;
  }

  .custom-feedback-page .cf-form-card {
    padding: 24px 18px 22px;
    --cf-card-pad-x: 18px;
    border-radius: 16px 16px 12px 12px;
  }

  .custom-feedback-page .cf-form-intro h2 {
    font-size: 22px;
  }

  .custom-feedback-page .cf-fields-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .custom-feedback-page .cf-rating-row,
  .custom-feedback-page .cf-suggestions-row {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .custom-feedback-page .cf-rating-left,
  .custom-feedback-page .cf-suggestions-row .cf-rating-left {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    gap: 23px;
    align-items: flex-start;
  }

  .custom-feedback-page .cf-rating-content {
    flex: 1;
    min-width: 0;
  }

  .custom-feedback-page .cf-rating-content h3 {
    font-size: 18px;
    font-weight: 600;
  }

  .custom-feedback-page .cf-rating-content p {
    font-size: 15px;
    max-width: 100%;
  }

  .custom-feedback-page .cf-rating-scale,
  .custom-feedback-page .cf-suggestions-field {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    align-self: center;
  }

  .custom-feedback-page .cf-suggestions-field {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .custom-feedback-page .cf-rating-scale {
    --cf-rate-size: 40px;
    --cf-rate-gap: 16px;
  }

  .custom-feedback-page .cf-rating-box,
  .custom-feedback-page .cf-rating-options .wpcf7-list-item-label {
    border-radius: 12px;
    font-size: 14px;
  }

  .custom-feedback-page .cf-rating-labels span {
    font-size: 14px;
  }

  .custom-feedback-page .cf-suggestions-row .cf-rating-content {
    flex: 1;
    max-width: none;
  }

  .custom-feedback-page .cf-form-actions {
    flex-direction: column-reverse;
    width: 100%;
  }

  .custom-feedback-page .cf-btn {
    width: 100%;
  }

  .custom-feedback-page .cf-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .custom-submit-wrapper,
  .custom-feedback-page .cf-btn-submit,
  .custom-feedback-page .cf-form-actions .wpcf7-submit,
  .custom-feedback-page .cf-form-actions input.wpcf7-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .custom-feedback-page .cf-container {
    padding: 0 16px;
  }

  .custom-feedback-page .cf-header-title {
    font-size: 28px;
  }

  .custom-feedback-page .cf-header-subtitle {
    font-size: 18px;
  }

  .custom-feedback-page .cf-header-desc {
    font-size: 14px;
  }

  .custom-feedback-page .cf-header {
    padding: 56px 0 80px;
  }

  .custom-feedback-page .cf-header-watermark {
    width: 240px;
    right: 0;
    height: 140%;
  }

  .custom-feedback-page .cf-rating-scale,
  .custom-feedback-page .cf-suggestions-field {
    padding-left: 0;
  }

  .custom-feedback-page .cf-rating-scale {
    --cf-rate-size: 36px;
    --cf-rate-gap: 10px;
  }

  .custom-feedback-page .cf-feedback-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }

  .custom-feedback-page .cf-banner-title {
    font-size: 18px;
  }

  .custom-feedback-page .cf-banner-desc {
    font-size: 15px;
  }

  .custom-feedback-page .cf-btn-submit,
  .custom-feedback-page .wpcf7-submit {
    font-size: 16px;
  }
}

.custom-submit-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.custom-submit-wrapper .cf-btn-icon {
  position: absolute;
  left: 15px;
  top: 15px;
}

.custom-submit-wrapper .cf-btn-submit {
  padding-left: 50px !important;
  margin: 0;
}
.cf-form-card .wpcf7-spinner {
  position: absolute !important;
}
.cf-form-card .wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  font-size: 16px;
  text-align: center;
}
.cf-form-card .custom-feedback-page .wpcf7-not-valid-tip {
  font-size: 14px;
  color: #b81c0c;
  margin-top: 0;
}
