.fb-survey {
  font-family: Inter, Arial, sans-serif;
  max-width: 90%;
  margin: 0 auto;
}

.fb-survey-question {
  font-size: 16px;
  margin-bottom: 15px;
  margin-top: 20px;
}

.fb-survey-scale {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid #e3e3e3;
}

.fb-survey-scale button {
  flex: 1;
  display: block;
  padding: 10px;
  background-color: transparent;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--ghost-accent-color) !important;
  font-weight: bold;
  border: none;
  border-right: 1px solid #e3e3e3;
  cursor: pointer;
  font-family: inherit;
}

.fb-survey-scale button:last-child {
  border-right: none;
}

.fb-survey-scale button:hover {
  background-color: rgba(128, 128, 128, 0.15);
}

.fb-survey-scale button.active {
  background-color: var(--ghost-accent-color);
  color: #fff !important;
}

.fb-survey-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 300;
  padding: 0 3px;
}

.fb-survey-text {
  padding-top: 5px;
  margin-bottom: 20px;
}

.fb-survey-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  background-color: transparent;
  color: inherit;
  box-sizing: border-box;
}

.fb-survey-textarea:focus {
  outline: none;
  border-color: var(--ghost-accent-color);
}

.fb-survey-submit {
  display: block;
  margin-top: 10px;
  padding: 8px 20px;
  background-color: var(--ghost-accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.fb-survey-submit:hover {
  opacity: 0.9;
}

.fb-survey-thankyou {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 20px 0;
}

.fb-survey-cta {
  display: block;
  margin: 0 auto 20px;
  padding: 10px 20px;
  background-color: var(--ghost-accent-color);
  color: #fff !important;
  font-weight: bold;
  font-size: 14px;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  width: fit-content;
}

.fb-survey-cta:hover {
  opacity: 0.9;
}

.fb-survey-footer {
  font-size: 12px;
  color: #878787;
  text-align: center;
  padding-bottom: 20px;
}

.fb-survey-footer a {
  color: var(--ghost-accent-color) !important;
  font-weight: bold;
  text-decoration: underline;
}

[data-color-scheme="dark"] .fb-survey-scale {
  border-color: #444;
}

[data-color-scheme="dark"] .fb-survey-scale button {
  color: #5a7de6 !important;
  border-right-color: #444;
}

[data-color-scheme="dark"] .fb-survey-scale button.active {
  background-color: #5a7de6;
  color: #fff !important;
}

[data-color-scheme="dark"] .fb-survey-textarea {
  border-color: #444;
}

[data-color-scheme="dark"] .fb-survey-textarea:focus {
  border-color: #5a7de6;
}

[data-color-scheme="dark"] .fb-survey-submit {
  background-color: #5a7de6;
}

[data-color-scheme="dark"] .fb-survey-cta {
  background-color: #5a7de6;
}

[data-color-scheme="dark"] .fb-survey-footer a {
  color: #5a7de6 !important;
}
