html {
  scroll-behavior: smooth;
}

footer {
  background: #FFFFFF;
  position: relative;
  z-index: 1;
}

body.filter-open {
  overflow: hidden;
  height: 100vh;
}

.find-a-group-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 0 88px;
}
@media (min-width: 1024px) {
  .find-a-group-section {
    padding: 32px 24px 88px;
    height: auto;
    min-height: 700px;
    overflow: visible;
  }
}
.find-a-group-section .header-two {
  padding: 0 16px;
  background-color: #F3F3F2;
}
@media (min-width: 1024px) {
  .find-a-group-section .header-two {
    padding: 0;
  }
}
.find-a-group-section .search-input-container {
  padding: 0 16px;
  background-color: #F3F3F2;
  display: flex;
  gap: 8px;
}
@media (min-width: 1024px) {
  .find-a-group-section .search-input-container {
    padding: 0 0 24px;
  }
}
.find-a-group-section .search-input-container .search-input-wrapper {
  flex: 1;
  position: relative;
}
.find-a-group-section .search-input-container .search-input-wrapper .search-input {
  margin-bottom: 0;
}
.find-a-group-section .search-input-container .search-input-wrapper .clear-search-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  background: transparent;
  padding-left: 8px;
}
.find-a-group-section .search-input-container .search-btn {
  width: 48px;
  height: 48px;
  background: #1980CC;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.find-a-group-section .search-input-container .search-btn.is-loading {
  pointer-events: none;
}
.find-a-group-section .fasg-tab-btn-container {
  padding: 24px 16px 24px;
  display: flex;
  justify-content: space-between;
  background-color: #F3F3F2;
}
@media screen and (max-width: 1024px) {
  .find-a-group-section .fasg-tab-btn-container.sticky-list-view {
    position: sticky;
    top: 0;
    z-index: 10;
    /* Hardware acceleration for smooth scrolling */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
  }
}
.find-a-group-section .fasg-tab-btn-container .fasg-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  border-radius: 24px;
  padding: 12px 16px;
  font-family: Archivo;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}
.find-a-group-section .fasg-tab-btn-container .fasg-btn.white {
  background: #FFFFFF;
  color: #242424;
}
.find-a-group-section .fasg-tab-btn-container .fasg-btn.white.active {
  background-color: #1980CC;
  color: #FFFFFF;
}
.find-a-group-section .fasg-tab-btn-container .fasg-btn.white.active img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(251deg) brightness(105%) contrast(103%);
}
.find-a-group-section .fasg-tab-btn-container .fasg-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: all;
}
.find-a-group-section .fasg-tab-btn-container .fasg-btn .map-icon {
  filter: brightness(0) saturate(100%) invert(14%) sepia(0%) saturate(0%) hue-rotate(251deg) brightness(95%) contrast(92%);
}
.find-a-group-section .fasg-tab-btn-container .fasg-btn .list-icon {
  filter: brightness(0) saturate(100%) invert(14%) sepia(0%) saturate(0%) hue-rotate(251deg) brightness(95%) contrast(92%);
}
@media (min-width: 1024px) {
  .find-a-group-section .content-container {
    min-height: 1300px; /* Set a minimum height for desktop */
    display: grid;
    grid-template-columns: 1fr 375px;
    gap: 40px;
    position: relative;
    max-width: 1440px; /* Match section max-width */
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .find-a-group-section .content-container .column-one {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
  }
}
@media (min-width: 1024px) {
  .find-a-group-section .content-container .column-two {
    height: 100%;
    grid-column: 2;
    position: relative;
    width: 375px; /* Match the grid column width */
    scrollbar-width: none;
    scroll-behavior: smooth;
    /* Hide scrollbar */
  }
  .find-a-group-section .content-container .column-two::-webkit-scrollbar {
    display: none;
  }
  .find-a-group-section .content-container .column-two.fixed {
    position: fixed;
    top: 0;
    overflow-y: auto;
    padding-top: 24px;
    width: 375px;
    right: 25px;
    transition: all 0.2s ease-out;
  }
  .find-a-group-section .content-container .column-two.footer-collision {
    position: absolute;
    left: 0px;
  }
}
@media screen and (min-width: 1440px) {
  .find-a-group-section .content-container .column-two.fixed {
    right: calc((100vw - 1440px) / 2 + 18px); /* Adjust right position for fixed state */
  }
}
.find-a-group-section .map-container {
  height: 588px;
}
@media (min-width: 1024px) {
  .find-a-group-section .map-container {
    height: 356px;
  }
}
.find-a-group-section .map-container .map-canvas {
  height: 100%;
}
@media (min-width: 1024px) {
  .find-a-group-section .map-container .map-canvas {
    border-radius: 24px;
  }
}
.find-a-group-section .groups-list-container {
  height: 1000px;
  overflow-y: auto;
  position: relative;
  margin: 0 16px;
  /* Smooth scrolling for the main container */
}
.find-a-group-section .groups-list-container::-webkit-scrollbar {
  display: none;
}
@media screen and (max-width: 1024px) {
  .find-a-group-section .groups-list-container {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    scroll-behavior: smooth;
  }
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container {
    margin: 0;
    padding: 12px;
    margin: 0 -40px 0 -12px;
    padding-right: 40px;
  }
}
@media (min-width: 744px) {
  .find-a-group-section .groups-list-container .groups-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
  }
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list {
    display: initial;
  }
}
.find-a-group-section .groups-list-container .groups-list .loading-results {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.find-a-group-section .groups-list-container .groups-list .loading-results .loading-spinner {
  border: #000 3px solid;
  border-top-color: transparent;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
}
.find-a-group-section .groups-list-container .groups-list .group-card {
  border-radius: 24px;
  margin-bottom: 16px;
  /* Improve touch responsiveness */
}
@media screen and (max-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }
}
@media (min-width: 744px) {
  .find-a-group-section .groups-list-container .groups-list .group-card {
    flex-basis: calc(50% - 12px);
  }
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card {
    flex-basis: initial;
    display: flex;
    min-height: 150px;
    height: auto;
  }
  .find-a-group-section .groups-list-container .groups-list .group-card:hover {
    box-shadow: 0 0 12px rgba(33, 33, 33, 0.2);
  }
}
.find-a-group-section .groups-list-container .groups-list .group-card:last-of-type {
  margin-bottom: 0;
}
.find-a-group-section .groups-list-container .groups-list .group-card .profile-picture-container {
  width: 100%;
  height: 192px;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card .profile-picture-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    min-height: 150px;
    height: auto;
    padding: 4px 0 4px 4px;
    background: white;
    border-radius: 24px 0 0 24px;
  }
}
.find-a-group-section .groups-list-container .groups-list .group-card .profile-picture-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card .profile-picture-container img {
    border-radius: 24px 0 0 24px;
  }
}
.find-a-group-section .groups-list-container .groups-list .group-card .group-description {
  background-color: #FFFFFF;
  padding: 24px;
  border-radius: 0 0 24px 24px;
  height: auto;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card .group-description {
    border-radius: 0 24px 24px 0;
    flex: 1;
    display: flex;
  }
}
.find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner h3 {
  font-size: 20px;
}
.find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner .group-info-container {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner .group-info-container {
    margin-bottom: 0;
    row-gap: 12px;
  }
}
.find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner .group-info-container .list-info-item {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 50%;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner .group-info-container .list-info-item {
    width: unset;
    margin-right: 24px;
  }
  .find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner .group-info-container .list-info-item:last-of-type {
    margin-right: 0;
  }
}
.find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner .group-info-container .list-info-item img {
  filter: invert(58%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(95%) contrast(86%);
}
.find-a-group-section .groups-list-container .groups-list .group-card .group-description .group-description-inner .group-info-container .list-info-item p {
  margin-bottom: 0;
  color: #242424;
  font-size: 14px;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .group-card .group-description .view-details-btn {
    margin: auto 0 auto auto;
  }
}
.find-a-group-section .groups-list-container .groups-list .group-card.highlighted {
  border: double 2px transparent;
  background-image: linear-gradient(white, white), radial-gradient(circle at top left, #1980CC, #80D6F7);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  height: auto;
}
.find-a-group-section .groups-list-container .groups-list .no-results-count {
  padding: 0 0 0 24px;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .no-results-count {
    display: none;
  }
}
.find-a-group-section .groups-list-container .groups-list .no-results-count p {
  margin-bottom: 0;
  font-size: 20px;
}
.find-a-group-section .groups-list-container .groups-list .no-groups-found {
  margin: 0 8px;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #E9E9E9;
  border-radius: 24px;
}
@media (min-width: 1024px) {
  .find-a-group-section .groups-list-container .groups-list .no-groups-found {
    margin: 0;
  }
}
.find-a-group-section .groups-list-container .groups-list .no-groups-found h3 {
  color: #5B5B5B;
}
.find-a-group-section .groups-list-container .groups-list .no-groups-found p {
  margin: 0;
  padding: 0 16px;
  text-align: center;
  color: #242424;
}
.find-a-group-section .groups-list-container .groups-list .no-groups-found p a {
  text-decoration: underline;
}
.find-a-group-section .filter-container {
  display: none;
  padding: 24px 24px 40px;
  background-color: #FFFFFF;
}
.find-a-group-section .filter-container.is-loading {
  pointer-events: none;
  opacity: 0.6;
}
@media (min-width: 1024px) {
  .find-a-group-section .filter-container {
    display: block;
    width: 375px;
    border-radius: 24px;
    margin-bottom: 24px;
  }
}
.find-a-group-section .filter-container .filter-header {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  margin-bottom: 8px;
  position: relative;
}
@media (min-width: 1024px) {
  .find-a-group-section .filter-container .filter-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
}
.find-a-group-section .filter-container .filter-header .filter-close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
}
@media (min-width: 1024px) {
  .find-a-group-section .filter-container .filter-header .filter-close-btn {
    display: none;
  }
}
.find-a-group-section .filter-container .filter-header h2 {
  margin-bottom: 0;
}
.find-a-group-section .filter-container .filter-header .reset-btn {
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
}
.find-a-group-section .filter-container .filter-header .reset-btn.disabled {
  color: #C8C8C8;
  cursor: auto;
  pointer-events: none;
}
@media (min-width: 744px) {
  .find-a-group-section .filter-container .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .find-a-group-section .filter-container .filter-options {
    display: unset;
  }
}
.find-a-group-section .filter-container .filter-options .select2-results__options li:first-of-type {
  color: #999 !important;
}
.find-a-group-section .filter-container .filter-options .filter-option {
  margin-bottom: 24px;
}
.find-a-group-section .filter-container .filter-options .filter-option:last-of-type {
  margin-bottom: 0;
}
@media (min-width: 744px) {
  .find-a-group-section .filter-container .filter-options .filter-option {
    flex-basis: calc(50% - 8px);
  }
}
.find-a-group-section .filter-container .filter-options .filter-option.kids-allowed-filter {
  margin-bottom: 32px;
}
.find-a-group-section .filter-container .filter-options .filter-option label {
  color: #242424;
  font-size: 16px;
  font-weight: 700;
}
.find-a-group-section .filter-container .filter-options .filter-option .saddleback-dropdown {
  max-width: unset !important;
}
.find-a-group-section .filter-container .filter-options .filter-option .buttons-container {
  display: flex;
  gap: 8px;
}
.find-a-group-section .filter-container .filter-options .filter-option .buttons-container button {
  padding: 4px 16px;
  border-radius: 24px;
  border: none;
  background-color: #F3F3F2;
  color: #242424;
  font-family: "Archivo";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}
.find-a-group-section .filter-container .filter-options .filter-option .buttons-container button.active {
  background-color: #1980CC;
  color: #FFFFFF;
}
.find-a-group-section .filter-container #applyFiltersBtn {
  margin-top: 40px;
  z-index: 10;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0px 4px 10px 0px rgba(36, 36, 36, 0.15);
}
@media (min-width: 1024px) {
  .find-a-group-section .filter-container #applyFiltersBtn {
    width: 100%;
    bottom: 24px;
  }
}
.find-a-group-section .filter-container #applyFiltersBtn.disabled {
  pointer-events: none;
}
.find-a-group-section .filter-container.mobile-filter-open {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.find-a-group-section .filter-container.mobile-filter-open.open {
  transform: translateY(0);
  opacity: 1;
}
.find-a-group-section .info-window {
  background-color: #FFFFFF;
  padding: 24px 0;
  border-radius: 24px 24px 0px 0px;
  box-shadow: 0px 0px 8px 0px rgba(36, 36, 36, 0.15);
}
@media (min-width: 1024px) {
  .find-a-group-section .info-window {
    display: none;
  }
}
.find-a-group-section .info-window .map-info-window .info-window-header {
  margin-bottom: 24px;
  padding: 0 16px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.find-a-group-section .info-window .map-info-window .info-window-header h3 {
  margin: 0;
  font-size: 20px;
  line-height: unset;
}
.find-a-group-section .info-window .map-info-window .info-window-header .info-window-close {
  width: 32px;
  height: 32px;
  margin-top: -8px;
}
.find-a-group-section .info-window .map-info-window .info-window-header .info-window-close img {
  height: 100%;
}
.find-a-group-section .info-window .map-info-window .info-window-details {
  margin-bottom: 20px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
}
.find-a-group-section .info-window .map-info-window .info-window-details .info-item {
  width: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.find-a-group-section .info-window .map-info-window .info-window-details .info-item:last-of-type {
  width: 100%;
}
.find-a-group-section .info-window .map-info-window .info-window-details .info-item img {
  filter: invert(58%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(95%) contrast(86%);
}
.find-a-group-section .info-window .map-info-window .info-window-details .info-item p {
  margin-bottom: 0;
  color: #242424;
  font-size: 14px;
}
.find-a-group-section .info-window .map-info-window .info-window-actions {
  padding: 0 16px;
}
.find-a-group-section .info-window .map-info-window .info-window-actions a.btn {
  width: 100%;
  margin-bottom: 24px;
}
.find-a-group-section .info-window .map-info-window .info-window-actions .group-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.find-a-group-section .info-window .map-info-window .info-window-actions .group-navigation .group-counter {
  color: #242424;
  font-size: 10px;
  font-weight: 700;
  line-height: 10px; /* 100% */
  letter-spacing: 0.3px;
}
.find-a-group-section .info-window .map-info-window .info-window-actions .group-navigation .nav-arrow {
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: 1px solid #E9E9E9;
  border-radius: 50%;
}
.find-a-group-section .info-window .map-info-window .info-window-actions .group-navigation .nav-arrow img {
  height: 28px;
  width: 28px;
}
.find-a-group-section .info-window .map-info-window .info-window-actions .group-navigation .nav-arrow:disabled {
  opacity: 0.5;
  cursor: none;
}

/* Desktop info window styling */
.gm-style .gm-style-iw-tc, .gm-style-iw-chr {
  display: none !important;
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 24px !important;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.15) !important;
  border: double 2px transparent;
  background-image: linear-gradient(white, white), radial-gradient(circle at top left, #1980CC, #80D6F7);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  max-height: unset !important;
  max-width: unset !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
  max-height: unset !important;
}

/* Hide the default close button */
.gm-style .gm-style-iw button.gm-ui-hover-effect {
  display: none !important;
}

.gm-style .map-info-window {
  min-width: 342px;
  max-width: 500px;
  padding: 16px 16px 24px 24px;
}
.gm-style .map-info-window .info-window-header {
  display: flex;
  gap: 16px;
}
.gm-style .map-info-window .info-window-header h3 {
  font-size: 24px;
  margin: 8px 0;
}
.gm-style .map-info-window .info-window-details .info-item p {
  font-size: 14px;
  color: #929292;
}

/* Target the close button more specifically */
.gm-style .map-info-window .info-window-header a,
.gm-style .map-info-window .info-window-header a.info-window-close,
.gm-style .gm-style-iw-c .map-info-window .info-window-header a {
  height: 24px !important;
  width: 24px !important;
  margin: 0 0 0 auto !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Target the image inside the close button */
.gm-style .map-info-window .info-window-header a img,
.gm-style .map-info-window .info-window-header a.info-window-close img,
.gm-style .gm-style-iw-c .map-info-window .info-window-header a img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Additional fix for potential focus/hover states */
.gm-style .map-info-window .info-window-header a:hover,
.gm-style .map-info-window .info-window-header a:focus,
.gm-style .map-info-window .info-window-header a:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Ensure the close button appears clickable */
.gm-style .map-info-window .info-window-header a {
  cursor: pointer !important;
}

/* Override Google Maps additional wrappers around close buttons */
.gm-style .gm-style-iw-c .gm-ui-hover-effect,
.gm-style .gm-style-iw-c .gm-ui-hover-effect span,
.gm-style .gm-style-iw-c .gm-ui-hover-effect img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Target potential inner wrappers */
.gm-style-iw-tc::after,
.gm-style-iw-tc * {
  display: none !important;
}

/* Ensure any pseudo-elements are also hidden */
.gm-style .gm-style-iw-t::after {
  display: none !important;
}

.gm-style-iw .group-navigation,
.gm-style-iw-c .group-navigation,
.gm-style-iw-d .group-navigation {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.gm-style-iw .group-navigation .group-counter,
.gm-style-iw-c .group-navigation .group-counter,
.gm-style-iw-d .group-navigation .group-counter {
  color: #242424 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 10px !important;
  letter-spacing: 0.3px !important;
  margin-right: 8px;
}
.gm-style-iw .group-navigation .nav-arrow,
.gm-style-iw-c .group-navigation .nav-arrow,
.gm-style-iw-d .group-navigation .nav-arrow {
  padding: 6px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: none !important;
  border: 1px solid #E9E9E9 !important;
  border-radius: 50% !important;
}
.gm-style-iw .group-navigation .nav-arrow img,
.gm-style-iw-c .group-navigation .nav-arrow img,
.gm-style-iw-d .group-navigation .nav-arrow img {
  height: 28px !important;
  width: 28px !important;
}
.gm-style-iw .group-navigation .nav-arrow:disabled,
.gm-style-iw-c .group-navigation .nav-arrow:disabled,
.gm-style-iw-d .group-navigation .nav-arrow:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}
.gm-style-iw .group-navigation .nav-arrow.nav-prev,
.gm-style-iw-c .group-navigation .nav-arrow.nav-prev,
.gm-style-iw-d .group-navigation .nav-arrow.nav-prev {
  margin-right: 4px !important;
}

/* End of Desktop info window styling */
/* Hide Google Maps Keyboard shortcuts, Terms, etc. buttons */
.gm-style-cc {
  display: none !important;
}

#groupTypeSelect + .select2 .select2-selection__rendered,
#lifeStageSelect + .select2 .select2-selection__rendered {
  color: #242424 !important;
}

/* Make dropdown options appear as 75% black when dropdown is open */
.select2-container--default .select2-results__options[id*=select2-groupTypeSelect-results] .select2-results__option,
.select2-container--default .select2-results__options[id*=select2-lifeStageSelect-results] .select2-results__option {
  color: #5B5B5B !important;
}

/* When an option is highlighted/hovered, ensure text is white for contrast */
.select2-container--default .select2-results__options[id*=select2-groupTypeSelect-results] .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__options[id*=select2-lifeStageSelect-results] .select2-results__option--highlighted[aria-selected] {
  color: #242424 !important;
}

/* Style for the "All" option */
#groupTypeSelect option[value=""],
#lifeStageSelect option[value=""] {
  color: #242424; /* Black for the default state */
}

/* After a selection is made, keep it black */
.select2-container--default.select2-container--open .select2-selection--single[aria-labelledby*=select2-groupTypeSelect] .select2-selection__rendered,
.select2-container--default.select2-container--open .select2-selection--single[aria-labelledby*=select2-lifeStageSelect] .select2-selection__rendered {
  color: #242424 !important;
}

/* Fake checkbox styles for Select2 multi-select dropdowns (Days, Age Group, Life Stage) */
.checkbox-option-row {
  display: flex;
  align-items: center;
}
.checkbox-option-row .fake-checkbox {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  content: url("../../../icons/check_box_outline_blank.svg");
}
.checkbox-option-row.is-checked .fake-checkbox {
  content: url("../../../icons/check_box_blue.svg");
}

/* End of fake checkbox styles */
/* Far from groups Popup */
.mfp-content:has(#farFromGroupsPopup) {
  max-width: 690px;
}

#farFromGroupsPopup.popup {
  background: #FFFFFF;
}
#farFromGroupsPopup button.mfp-close {
  top: 16px;
  right: 16px;
}
#farFromGroupsPopup .popup-inner {
  padding: 0;
}
#farFromGroupsPopup .popup-inner .popup-top {
  background: #1980CC;
  padding: 40px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (min-width: 744px) {
  #farFromGroupsPopup .popup-inner .popup-top {
    padding: 56px 96px;
  }
}
#farFromGroupsPopup .popup-inner .popup-top .popup-top-icon {
  background: white;
  border-radius: 50%;
  padding: 24px;
}
#farFromGroupsPopup .popup-inner .popup-top h3 {
  margin: 0;
}
#farFromGroupsPopup .popup-inner .popup-top p {
  color: #FFFFFF;
  margin: 0;
}
#farFromGroupsPopup .popup-inner .popup-bottom {
  padding: 40px 24px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
@media (min-width: 744px) {
  #farFromGroupsPopup .popup-inner .popup-bottom {
    padding: 40px;
  }
}
#farFromGroupsPopup .popup-inner .popup-bottom p {
  margin: 0;
  color: #242424;
}