  /* --- I. Constants --- */
  :root {
      --highlight-color: #9f1239;
      --highlight-rgb-dark: 159, 18, 57;
  }

  /* --- Custom CSS block for styling --- */
  /* Global Styles */
  .custom-app-wrapper {
      /* Note: Removing min-height: 100vh here as it might conflict with page layout */
      background-color: #f8f9fa;
      padding: 2rem 0;
  }

  .text-highlight {
      color: var(--highlight-color) !important;
  }

  .bg-highlight {
      background-color: var(--highlight-color) !important;
      border-color: var(--highlight-color) !important;
  }

  .shadow-highlight {
      box-shadow: 0 0 0 0.25rem rgba(var(--highlight-rgb-dark), .25) !important;
  }

  /* Custom Input Field Styling */
  .form-control-flat {
      border: 1px solid #ced4da;
      padding: 0.75rem 1rem;
      box-shadow: none;
      display: flex;
      align-items: center;
      background-color: #fff;
      border-radius: 0.375rem;
  }

  .form-control-flat input {
      border: none;
      flex-grow: 1;
      padding: 0;
      height: auto;
  }

  .form-control-flat input:focus {
      outline: none;
      box-shadow: none;
  }

  /* Custom Checkbox Styling */
  .form-check-input:checked {
      background-color: var(--highlight-color);
      border-color: var(--highlight-color);
  }

  .form-check-input:focus {
      box-shadow: 0 0 0 0.25rem rgba(var(--highlight-rgb-dark), .25);
  }

  /* Custom Range Slider Styling (Updated by JS/React) */
  .search-radius-input[type=range] {
      -webkit-appearance: none;
      width: 100%;
      height: 8px;
      background: #e9ecef;
      /* Base track color */
      border-radius: 4px;
      margin: 10px 0;
  }

  .search-radius-input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      height: 20px;
      width: 20px;
      border-radius: 50%;
      background: var(--highlight-color);
      cursor: pointer;
      margin-top: -6px;
  }

  /* Selector Cards (Section 1) */
  .selector-card {
      border: 1px solid #dee2e6;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
      padding: 1.5rem;
      min-height: 120px;
      text-align: center;
  }

  .selector-card.selected {
      border: 2px solid var(--highlight-color);
      box-shadow: 0 0 8px rgba(var(--highlight-rgb-dark), 0.2);
      background-color: #fcf1f4;
  }

  /* Additional Search Options (Section 3) */
  .header-collapse {
      background-color: #f2f2f2;
      border-top: 1px solid #dee2e6;
      border-bottom: 1px solid #dee2e6;
      cursor: pointer;
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 0.375rem;
      margin-bottom: 2rem;
      /* Default closed state margin */
  }

  .area-list-container {
      max-height: 250px;
      overflow-y: auto;
      border: 1px solid #ced4da;
      padding: 0.5rem;
      border-radius: 0.375rem;
  }

  .rotate-180 {
      transform: rotate(180deg);
  }

  .transition-duration-300 {
      transition: transform 0.3s ease;
  }

  /* Language Tag Styling */
  .language-tag {
      display: inline-flex;
      align-items: center;
      background-color: #e9ecef;
      /* Light gray background for the tag */
      color: #495057;
      /* Darker text color */
      padding: 0.25rem 0.5rem;
      border-radius: 0.25rem;
      margin-right: 0.5rem;
      margin-bottom: 0.5rem;
      font-size: 0.875rem;
      font-weight: 500;
  }

  .language-tag .btn-close {
      margin-left: 0.5rem;
      font-size: 0.5rem;
      opacity: 0.7;
  }

  /* Language Input Dropdown */
  .language-dropdown-container {
      position: relative;
  }

  .language-suggestions {
      position: absolute;
      z-index: 1000;
      width: 100%;
      max-height: 180px;
      overflow-y: auto;
      border: 1px solid #ced4da;
      border-top: none;
      background: white;
      border-radius: 0 0 0.375rem 0.375rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .language-suggestions-item {
      padding: 0.5rem 1rem;
      cursor: pointer;
      transition: background-color 0.15s;
  }

  .language-suggestions-item:hover {
      background-color: #f8f9fa;
  }

  /* Container for selected tags */
  .selected-languages-display {
      display: flex;
      flex-wrap: wrap;
      margin-top: 0.5rem;
  }

  /* --- NEW TOOLTIP STYLES --- */
  .cursor-pointer {
      cursor: pointer;
  }

  .tooltip-container {
      position: relative;
      /* Ensures proper alignment within the label's flex container */
      display: flex;
      align-items: center;
  }

  .custom-tooltip {
      position: absolute;
      top: 100%;
      /* Position below the icon */
      left: 50%;
      transform: translateX(-50%);
      margin-top: 8px;
      /* Extra spacing */
      padding: 10px 15px;
      background-color: #333;
      color: white;
      border-radius: 0.375rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      z-index: 1001;
      width: 250px;
      min-width: max-content;
      text-align: left;
      font-size: 0.875rem;
      line-height: 1.4;
  }

  .custom-tooltip::before {
      content: "";
      position: absolute;
      bottom: 100%;
      left: 50%;
      margin-left: -5px;
      border-width: 5px;
      border-style: solid;
      border-color: transparent transparent #333 transparent;
  }


  /* Base styles */
  body {
      color: #333;
      margin: 0;
      /* Ensures full width for header/footer space */
  }

  /* This wrapper defines the content area with the 10% margin on both sides */
  .content-wrapper {
      padding: 0 10%;
      /* 10% Margin applied here */
      padding-top: 2em;
      padding-bottom: 2em;
  }

  /* --- Component Styles --- */

  /* Header styles */
  .directory-header {
      font-size: 2.2em;
      font-weight: normal;
      margin-bottom: 1.5em;
      color: #343a40;
  }

  /* Top bar: Results count and Sort by */
  .results-info-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2em;
  }

  .results-count {
      font-size: 1em;
      color: #6c757d;
  }

  .sort-by-wrapper {
      display: flex;
      align-items: center;
      font-size: 1em;
      color: #6c757d;
  }

  .sort-by-wrapper select {
      border: 0.0625em solid #ced4da;
      border-radius: 0.25em;
      padding: 0.3em 1.8em 0.3em 0.7em;
      margin-left: 0.5em;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 5l6 6 6-6"/></svg>') no-repeat right 0.75em center/0.75em 0.75em;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      cursor: pointer;
      font-size: 1em;
      color: #495057;
  }

  /* Filter sidebar */
  .filter-sidebar {
      padding-right: 1.25em;
      position: sticky;
      top: 2em;
  }

  .filter-by-heading {
      font-size: 0.9em;
      color: #6c757d;
      margin-bottom: 1em;
      font-weight: bold;
  }

  .filter-dropdown-wrapper {
      margin-bottom: 0.5em;
  }

  .filter-dropdown {
      width: 100%;
      padding: 0.6em 0.8em;
      border: 0.0625em solid #ccc;
      border-radius: 0.25em;
      background-color: #fff;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="%23343a40" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 5l6 6 6-6"/></svg>');
      background-repeat: no-repeat;
      background-position: right 0.75em center;
      background-size: 0.75em 0.75em;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      cursor: pointer;
      font-size: 0.95em;
      color: #343a40;
  }

  /* Listing card CONTAINER */
  .listing-card-wrapper {
      border: 0.0625em solid #e9ecef;
      border-radius: 0.5em;
      padding: 1.25em 1.5em;
      margin-bottom: 1.5em;
      background-color: #fff;
      box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.05);
      transition: box-shadow 0.3s;
  }

  .listing-card-wrapper:hover {
      box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.08);
  }

  .listing-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  .card-left-content {
      flex-grow: 1;
      padding-right: 1em;
  }

  .card-title {
      font-size: 1.1em;
      font-weight: bold;
      color: #555;
      margin-bottom: 0.2em;
  }

  .card-subtitle,
  .card-location {
      margin-bottom: 0.3em;
  }

  .card-location {
      margin-bottom: 0.8em;
  }

  /* Service icons and text */
  .service-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8em;
  }

  .icon-text {
      font-size: 0.85em;
      color: #6c757d;
      display: flex;
      align-items: center;
  }

  .icon-text img {
      margin-right: 0.3em;
      width: 1.1em;
      height: 1.1em;
      opacity: 0.7;
  }

  /* Right side of the card (Status and Arrow) */
  .card-right-content {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.5em;
  }

  .status-info {
      display: flex;
      align-items: center;
      font-size: 0.9em;
      font-weight: 500;
      border: 0.0625em solid #28a745;
      padding: 0.2em 0.8em 0.2em 0.5em;
      border-radius: 1em;
      color: #28a745;
  }

  .status-dot {
      height: 0.6em;
      width: 0.6em;
      background-color: #28a745;
      border-radius: 50%;
      display: inline-block;
      margin-right: 0.4em;
  }

  .action-arrow {
      width: 2.2em;
      height: 2.2em;
      background-color: #f8f9fa;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: background-color 0.2s;
  }

  .action-arrow:hover {
      background-color: #e9ecef;
  }

  .action-arrow img {
      width: 1em;
      height: 1em;
      color: #6c757d;
  }

 


  /* Tab background + text color */
  /* Bottom line */
  .nav-tabs {
      border-bottom: 1px solid #B21E5E;
  }

  .nav-tabs .nav-link {
      background-color: #fff;
      color: #B21E5E;
      border: 1px solid #B21E5E;
      margin-bottom: 0;
      font-size: 1.035rem !important;
  }

  .nav-tabs .nav-link.active {
      background-color: #B21E5E !important;
      color: #fff !important;
      border-color: #B21E5E !important;
  }

  /* Optional hover (unselected tabs) */
  .nav-tabs .nav-link:not(.active):hover {
      background-color: #fbe6ef;
      color: #B21E5E;
  }


  .custom-tabs .nav-item:not(:first-child) {
      margin-left: 8px;
  }

  .siteTitle {
      vertical-align: baseline !important;
  }

  /* Add this CSS - consistent weights, no layout shift */
  .lang-link {
      font-weight: 500 !important;
      /* Always medium weight */
      transition: all 0.15s ease;
  }

  .lang-link:hover,
  .lang-link.active-lang {
      color: #0d6efd !important;
      /* Bootstrap primary */
      font-weight: 500 !important;
      /* SAME weight as normal */
  }

  .lang-link.active-lang .active-dot {
      display: inline-block !important;
  }

  /* If you want underline instead of dot */
  .lang-link.active-lang {
      text-decoration: underline;
      text-underline-offset: 2px;
  }

  a.nav-item-link {
      color: #383838 !important;
      text-decoration: none !important;
      font-size: .775rem;
  }

  a.nav-item-link:hover {
      color: #5b002b !important;
      background-color: white !important;

  }

  a.nav-item-link:active {
      background-color: white;

  }


  .btn-menu {
      --bs-btn-padding-y: 0.25rem;
      --bs-btn-padding-x: 0.5rem;
      --bs-btn-font-size: 0.875rem;
      --bs-btn-border-radius: 0.25rem;
      border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
      border-radius: var(--bs-btn-border-radius);
      --bs-btn-color: #212529;
      --bs-btn-bg: transparent;
      --bs-btn-border-width: 1px;
      --bs-btn-border-color: transparent;
      --bs-btn-border-radius: 0.375rem;
      --bs-btn-hover-border-color: transparent;
      --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
      --bs-btn-disabled-opacity: 0.65;
      --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  }

  a.nav-item-link-btn {
      color: #fff !important;

      text-decoration: none !important;
      font-size: .775rem;
  }

  footer .footer-bottom {
      background-color: #5c5656 !important;
      color: #767070 !important;
      min-height: 0px;
  }



  .footer-bottom {
      background: #5f5757;
  }

  .footer .container {
      max-width: 1200px;
  }

  .footer-inner {
      width: 100%;
  }

  .footer-left a {
      color: #cdcdcd !important;
      text-decoration: none !important;
      font-weight: 500 !important;
      font-size: 12px !important;
  }


  .footer-left a:hover {
      color: rgb(226, 84, 145) !important;

  }

  .footer-copy {
      color: #cdcdcd !important;
  }

  @media (max-width: 767.98px) {
      .footer-copy {
          margin-left: 0 !important;
          text-align: left !important;
          color: #cdcdcd;
          font-size: 12px !important;

      }
  }


  .footer {
      max-height: 25px;
  }


  /*
 Microsoft Overidden
*/

  .text-bg-secondary {
      color: #000 !important;
      background-color: #fff !important;
  }

  .border-secondary-black {
      --bs-secondary-rgb: 0, 0, 0;
  }

  .btn-sm {
      --bs-btn-padding-y: 0.25rem;
      --bs-btn-padding-x: 0.5rem;
      --bs-btn-font-size: 0.875rem;
      --bs-btn-border-radius: var(--bs-border-radius-sm);
  }

  .chevron-icon {
      transition: transform 0.2s ease;
  }

  .rotate-icon {
      transform: rotate(180deg);
  }

  .chevron-icon {
      transition: transform 0.2s ease;
  }

  a[aria-expanded="true"] .chevron-icon {
      transform: rotate(180deg);
  }

  .address-panel {
      border: 1px solid transparent;
      transition: all 0.2s ease-in-out;
  }

  .address-panel-active {
      background-color: #f6eef1;
      border-left: 4px solid #8a1538;
  }

  .address-panel-default {
      background-color: #f3f3f3;
  }

  .address-icon {
      width: 32px;
      height: 32px;
      color: #8a1538;
      font-size: 1.1rem;
  }

  .address-panel-default .address-icon {
      color: #8b8b95;
  }

  .badge.text-bg-primary {
      background-color: #8a1538 !important;
      color: #fff !important;
      font-size: 0.8rem;
  }

  .lso-text-main-color {
      color: #8a1538 !important;
  }

  .footer-dark {
      background-color: #2b2730;
  }

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(255,255,255,0.8);
    display: none;
    align-items: center;
    justify-content: center;
}

#pageLoader .page-loader-content {
    text-align: center;
}

#pageLoader.d-none {
    display: none !important;
}

.blur-panel {
  min-height: 180px;
  width: 100%;
  background: rgb(135 129 129 / 35%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
}

.lock-icon {
  font-size: 2rem;
  color: #000;
  line-height: 1;
}


.search-results h1,
.h1 {
  font-size: 1.5rem !important;
  color:black !important;
}

.search-results h6,
.h6 {
      font-family: inherit;
    margin: 0.2em;
    font-weight: 500;
  color:black !important;
}

.filters-section fs-5 { font-size: 1.15rem !important }

.search-results .fs-5 { font-size: 1.1rem !important }

.details-page .fs-5{ font-size: 1.1rem !important }


.collapsed .icon-expanded { display: none; }
.collapsed .icon-collapsed { display: inline; }

.icon-expanded { display: inline; }
.icon-collapsed { display: none; }

.table caption {
  caption-side: top;
  color:black !important;
  
}