
    .button-row-fixed {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: nowrap; /* Prevent stacking */
      gap: 6px;
      overflow-x: auto; /* Handle narrow screens */
    }
  
    .custom-btn {
      padding: 0.6rem 1.5rem;
      border-radius: 9px;
      white-space: nowrap;       /* Prevent button text from breaking */
      font-size: 16px;
      flex: 0 0 auto;             /* Do not grow/shrink */
    }
  
    /* Optional: On very small screens, scale buttons down slightly */
    @media (max-width: 400px) {
      .custom-btn {
        font-size: 12px;
        padding: 0.3rem 0.75rem;
      }
    }
  
    
      #map {
        height: 175px;
        border: 1px solid rgb(122, 122, 122);
        border-radius: 10px;
      }
      .leaflet-bar{
        background-color: #aad3df;
      }
      .leaflet-bar a {
        color: rgb(0, 0, 0) !important;
        
      }
  
      .leaflet-bar a:hover {
        background-color: rgb(255, 174, 0) !important;
        
      }
  /* Style for the GPS locate button */
  .leaflet-control .map-control-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #333;
    display: inline-block;
    text-align: center;
    line-height: 18px;
  }
  
  /* Optional: Style for the button background itself */
  .leaflet-control {
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    border-radius: 4px;
  }
  
  
  
      .banner {
        background: rgb(0, 0, 0);
        display: flex;
        align-items: center;
        /* Responsive padding */
        margin: 10px 0;
        max-width: 100%;
        justify-content: center;
       
        /* Responsive font size */
        text-transform: uppercase;
        /* Makes text transparent for stencil effect */
        letter-spacing: 0.15em;
        /* Slightly spaced-out letters */
        position: relative;
        overflow: hidden;
      }
      .banner .code,.code {
        color: #ff7700 !important;
      }
  
      /* Main container for profession cards */
      #professionSelect {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 0;
        box-sizing: border-box;
      }
  
  
      /* Loader Container */
      .custom-loader {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        /* Add padding for spacing */
        z-index: 1000;
        /* Ensures visibility over other content */
        background-color: rgba(255, 255, 255, 0.8);
        /* Slight overlay */
      }
  
      /* Full-screen loader container */
#loading {
  display: none; /* Hidden by default */
  position: fixed; /* Full-screen fixed position */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent overlay */
  z-index: 9999; /* Ensure loader is on top */
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Spinner animation */
.spinner {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner .circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  animation: bouncer 1.2s infinite ease-in-out;
}

.spinner .circle:nth-child(1) {
  animation-delay: 0s;
  background-color: #f87c15; /* Orange */
}

.spinner .circle:nth-child(2) {
  animation-delay: 0.2s;
  background-color: #da6812; /* Slightly deeper orange */
}

.spinner .circle:nth-child(3) {
  animation-delay: 0.4s;
  background-color: #0b71ac; /* Blue */
}

.spinner .circle:nth-child(4) {
  animation-delay: 0.6s;
  background-color: #2e1c60; /* Purple */
}

/* Keyframe animation for bouncing and color change */
@keyframes bouncer {
  0%, 100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.8;
    background-color: #f87c15; /* Orange */
  }

  25% {
    background-color: #da6812; /* Deeper orange */
  }

  50% {
    transform: translateY(-20px) scale(1.3);
    opacity: 1;
    background-color: #0b71ac; /* Blue */
  }

  75% {
    background-color: #2e1c60; /* Purple */
  }
}

/* Loading text styling */
#loading .loading-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-top: 15px; /* Space between spinner and text */
  animation: fadeInText 1.2s ease-in-out forwards;
}

/* Fade-in effect for loading text */
@keyframes fadeInText {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

  
  
      .locateuser{
        cursor: pointer; 
        font-size: clamp(6px, 4vw, 12px);
        border-radius: 30px; 
        padding: 12px 24px; 
        transition: all 0.3s ease;
      }
  
  
    
  
      .divider-or {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 1.5rem 0;
      }
  
      .divider-or::before,
      .divider-or::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
      }
  
      .divider-or:not(:empty)::before {
        margin-right: .75em;
      }
  
      .divider-or:not(:empty)::after {
        margin-left: .75em;
      }
  
      #professionTiles> .btn, #subcategoryTiles> .btn, #mainCategoryTiles > .btn{
    font-size: clamp(10px, 3vw, 16px);
  
  }
  .btn.small { transform: scale(0.97); transition: all 0.2s ease; }
  /* .btn.active { border: 2px solid #28a745; background-color: #e9fbe9; } */
  .autocomplete-suggestions {
        position: absolute;
        background-color: #fff;
        border: 1px solid #ccc;
        z-index: 1000;
        width: 100%;
        max-height: 250px;
        overflow-y: auto;
        text-align: start !important;
      }
      .autocomplete-group {
        padding: 4px 8px;
        font-weight: bold;
        background: #f1f1f1;
      }
      .autocomplete-item {
        padding: 8px 10px;
        cursor: pointer;
        margin-left: 10px;
      }
      .autocomplete-item:hover {
        font-weight: 500;
      }
      .fa-star-half-alt,.fa-star{
        color: #FFDC00;
      }
  
      /* Mobile and Tablet */
  @media (max-width: 768px) {
    .banner {
      padding: 10px 15px; /* Adjust padding for mobile/tablet */
      min-height: 60px; /* Adjust the height for smaller screens */
      background-color: transparent;
    }
    
    .banner h1 {
      font-size: clamp(6px, 4vw, 12px); /* Slightly larger font on smaller screens */
      color: black;
    }
  }
  
  /* Large Screen (Desktop and above) */
  @media (min-width: 1024px) {
    .banner {
      padding: 20px 40px; /* Larger padding for larger screens */
      min-height: 80px; /* Taller banner for large screens */
    }
    
    .banner h1 {
      font-size: clamp(14px, 2vw, 24px);
      color: white; /* Adjust font size for larger screens */
    }
  }
  .milestone-icons {
      display: flex;
      justify-content: space-between;
      margin-top: -10px;
    }
  
    .milestone-icons i {
      font-size: 1rem;
      color: #bbb;
      transition: transform 0.3s ease, color 0.3s ease;
    }
  
    .milestone-icons i.active {
      color: #0b71ac;
      transform: scale(1.2);
      text-shadow: 0 0 4px rgba(13,110,253,0.6);
    }
  
    .form-range::-webkit-slider-thumb {
      transition: box-shadow 0.2s ease;
    }
  
    .form-range.glow::-webkit-slider-thumb {
      box-shadow: 0 0 10px #0b71acab;
    }
  
    .form-range::-moz-range-thumb {
      transition: box-shadow 0.2s ease;
    }
  
    .form-range.glow::-moz-range-thumb {
      box-shadow: 0 0 10px #0b71acae;
    }

      /* Guide Overlay */
.guide-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    backdrop-filter: blur(5px);
    animation: fadeInOverlay 0.3s ease;
  }
  
  /* Highlighted area */
  .guide-highlight {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  /* Tooltip */
  .guide-tooltip {
    position: absolute;
    max-width: 320px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    color: #333;
    line-height: 1.4;
  }
  
  /* Tooltip Title */
  .guide-tooltip h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 8px;
    color: #111;
  }
  
  /* Tooltip Message */
  .guide-tooltip p {
    margin: 0 0 16px;
    color: #555;
  }
  
  /* Buttons */
  .guide-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }
  
  .guide-buttons button {
    background: transparent;
    border: 2px solid #007aff;
    color: #007aff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .guide-buttons button:hover {
    background: #007aff;
    color: white;
  }
  
  .guide-buttons button:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
  }
  
  /* Close button */
  .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #007aff;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .close-btn:hover {
    color: #005bb5;
  }
  
  /* Fade-in animations */
  @keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .professional-card {
  transition: box-shadow 0.3s ease;
  border-radius: 1rem;
}

.profile-initial {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: var(--ls-orange, #f97316);
}

.professionsofprofessionals {
  height: auto;
  max-height: 90px;
  color: #4B5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .professionsofprofessionals {
    font-size: 0.85rem;
    padding: 6px 10px;
    max-height: 100px;
  }
}


