/* Shelter Map Section */
.shelter-map-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.shelter-map-container {
  border-radius: 20px;
  overflow: hidden; 
}

/* Filter Bar */
.shelter-filters {
  background: #26268E;
  padding: 20px 30px;
  border-radius: 30px;
}

.filter-select {
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  /* background: white; */
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.filter-select option {
  padding: 10px;
}

/* Map and List Wrapper */
.map-list-wrapper {
  display: flex;
  height: 600px;
  margin-top: 15px;
  background: white;
  border: 1px solid #70707091;
  padding: 5px;
  border-radius: 15px;
}

/* Shelter List */
.shelter-list {
  width: 35%;
  background: white;
  border-right: 1px solid #e0e0e0;
  overflow: hidden;
}

.shelter-list-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 10px;
}

/* Custom Scrollbar */
.shelter-list-scroll::-webkit-scrollbar {
  width: 8px;
}

.shelter-list-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.shelter-list-scroll::-webkit-scrollbar-thumb {
  background: #4834d4;
  border-radius: 4px;
}

.shelter-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #686de0;
}

/* Shelter Item */
.shelter-item {
  display: flex;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.shelter-item:hover {
  background: #f8f9ff;
  border-color: #4834d4;
  transform: translateX(5px);
}

.shelter-item.active {
  background: #f8f9ff;
  border-color: #4834d4;
}

.shelter-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.shelter-icon i {
  color: white;
  font-size: 18px;
}

.shelter-info {
  flex: 1;
}

.shelter-name {
  font-size: 15px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 5px 0;
  line-height: 1.3;
}

.shelter-address {
  font-size: 13px;
  color: #7f8c8d;
  margin: 0 0 3px 0;
  line-height: 1.4;
}

.shelter-sub {
  font-size: 12px;
  color: #95a5a6;
  margin: 0;
}

/* Map Container */
.shelter-map {
  flex: 1;
  position: relative;
}

#shelterMap {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

/* Map Markers Custom Style */
.custom-marker {
  background: #e74c3c;
  border: 3px solid white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-marker:hover {
  transform: scale(1.2);
  z-index: 1000;
}

.custom-marker.active {
  background: #4834d4;
  transform: scale(1.3);
  z-index: 1001;
}

/* Info Window */
.shelter-info-window {
  padding: 10px;
  max-width: 250px;
}

.shelter-info-window h6 {
  font-size: 16px;
  font-weight: 700;
  color: #26268e;
  margin: 0 10px 0px 0px;
  line-height: 20px;
}

.shelter-info-window p {
  font-size: 12px;
  color: #2a2a2a;
  margin: 0;
  line-height: inherit;
}
.shelter-sub{
  margin-top: 10px !important;
  margin-bottom: 2px !important;
}
/* Responsive */
@media (max-width: 992px) {
  .map-list-wrapper {
    flex-direction: column;
    height: auto;
  }

  .shelter-list {
    width: 100%;
    height: 400px;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .shelter-map {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .shelter-filters {
    padding: 15px;
  }

  .filter-select {
    font-size: 13px;
    padding: 10px 15px;
  }

  .shelter-list {
    height: 300px;
  }

  .shelter-map {
    height: 400px;
  }

  .shelter-item {
    padding: 12px;
  }

  .shelter-icon {
    width: 35px;
    height: 35px;
  }

  .shelter-icon i {
    font-size: 16px;
  }

  .shelter-name {
    font-size: 14px;
  }

  .shelter-address {
    font-size: 12px;
  }
}

/* Loading State */
.shelter-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #4834d4;
  font-size: 18px;
}

.shelter-loading i {
  margin-right: 10px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* No Results */
.no-shelters {
  text-align: center;
  padding: 40px 20px;
  color: #7f8c8d;
}

.no-shelters i {
  font-size: 48px;
  color: #bdc3c7;
  margin-bottom: 15px;
}

.no-shelters p {
  font-size: 16px;
  margin: 0;
}
.gm-style-iw-ch{
  display: none !important;
}
.gm-style-iw-chr{
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
}