.theme-blue {
  --theme-background-class: #E5F7FD;
}

.theme-green {
  --theme-background-class: #EFF5CB;
}

.theme-pink {
  --theme-background-class: #F8BFDD;
}

.theme-purple {
  --theme-background-class: #E7C8E1;
}

.theme-red {
  --theme-background-class: #FBCBCE;
}

.theme-orange {
  --theme-background-class: #FFE0BF;
}

.theme-periwinkle {
  --theme-background-class: #E7EBF8;
}

.theme-forest {
  --theme-background-class: #BFE5DD;
}

.theme-yellow {
  --theme-background-class: #FBE9BF;
}

.theme-stronglime {
  --theme-background-class: #D4EDAA;
}

.mind-service-finder .bg-theme {
  background-color: var(--theme-background-class);
}
.mind-service-finder .card.bg-theme {
  border: none;
  border-radius: 16px;
  padding: 24px;
}

.service-finder-page .sf-state__inner > .container {
  max-width: 1400px;
  margin-inline: auto;
  padding-top: 48px;
  padding-bottom: 48px;
}
.service-finder-page .service-finder-intro__heading--step1 {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #000;
  text-align: center;
}
.service-finder-page .service-finder-intro__heading {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  color: #4d4d4f;
  text-align: center;
}
.service-finder-page .service-finder-intro__subheading {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #4d4d4f;
  text-align: center;
}
.service-finder-page .sf-funding-tile .sf-tile__label {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
}

#sf-step1 .sf-choice-btn {
  background: #e5f7fd;
  border: 4px solid transparent;
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.15s;
}
#sf-step1 .sf-choice-btn .sf-tile__icon--sm svg,
#sf-step1 .sf-choice-btn .sf-tile__icon--sm img {
  width: 32px;
  height: 32px;
  display: block;
}
#sf-step1 .sf-choice-btn .sf-tile__label {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #000;
  white-space: nowrap;
}
#sf-step1 .sf-choice-btn.active, #sf-step1 .sf-choice-btn[aria-pressed=true] {
  border-color: #00aeef;
}
#sf-step1 .sf-choice-btn:hover, #sf-step1 .sf-choice-btn:focus-visible {
  border-color: #00aeef;
  outline: none;
}

#sf-step2 .sf-funding-tile {
  background-color: #f0f1f2;
  border: 2px solid transparent;
  border-radius: 16px;
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#sf-step2 .sf-funding-tile .sf-tile__check {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 2px solid #6b767c;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
#sf-step2 .sf-funding-tile .sf-tile__check::after {
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  left: 7px;
  width: 14px;
  height: 9px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity 0.1s;
}
#sf-step2 .sf-funding-tile:has(.sf-funding-checkbox:checked) {
  border-color: #00aeef;
  box-shadow: 0 0 0 2px #00aeef;
}
#sf-step2 .sf-funding-tile:has(.sf-funding-checkbox:checked) .sf-tile__check {
  background: #00aeef;
  border-color: #00aeef;
}
#sf-step2 .sf-funding-tile:has(.sf-funding-checkbox:checked) .sf-tile__check::after {
  opacity: 1;
}
#sf-step2 .sf-funding-tile:hover {
  border-color: #00aeef;
}
#sf-step2 .sf-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 258px;
  height: 48px;
  background-color: #98dff9;
  border: 2px solid #00aeef;
  border-radius: 8px;
  padding: 12px 13px;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s;
}
#sf-step2 .sf-continue-btn:hover:not(:disabled) {
  background-color: #00aeef;
  color: #000;
}
#sf-step2 .sf-continue-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.service-finder-page .service-finder-state {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-finder-page .service-finder-state .sf-state__inner {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-finder-page .service-finder-state.sf-state--visible {
  grid-template-rows: 1fr;
}
.service-finder-page .service-finder-state.sf-state--visible .sf-state__inner {
  opacity: 1;
  transition: opacity 0.25s ease 0.2s;
}
.service-finder-page #sf-results .view-filters {
  display: none !important;
}

.ajax-progress-fullscreen {
  width: 2rem;
  height: 2rem;
  padding: 0;
  background-color: transparent;
  background-image: none;
  border-radius: 50%;
  border: 0.25em solid #0dcaf0;
  border-right-color: transparent;
  animation: 0.75s linear infinite spinner-border;
  transform: translate(-50%, -50%);
}

#sf-results {
  overflow-anchor: none;
}
#sf-results .sf-results__heading {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  color: #4d4d4f;
  text-align: center;
  padding: 64px 0 48px;
}
#sf-results .view-content {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 52px;
}
#sf-results .view-content .row {
  --bs-gutter-x: 26px;
  --bs-gutter-y: 26px;
}
#sf-results .card.bg-theme {
  padding: 32px;
  gap: 32px;
}
#sf-results .card.bg-theme .card-content {
  gap: 32px;
}
