/* Nearby Tours Section Styles */
#nearby-tours {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.location-status {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.location-status i {
  margin-right: 10px;
}

.refresh-location {
  background-color: var(--primary-color);
  color: var(--dark-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-location:hover {
  transform: rotate(180deg);
  background-color: var(--secondary-color);
  color: white;
}

.distance-tag {
  position: absolute;
  top: 45px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.location-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.location-text i {
  color: var(--primary-color);
  margin-right: 5px;
}

.view-on-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-on-map-btn i {
  margin-right: 5px;
}

/* Map Styles */
#map-container {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#map {
  height: 500px;
  width: 100%;
}

.map-popup img {
  margin-bottom: 10px;
}

.map-popup h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.map-popup p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.map-popup .btn {
  width: 100%;
  margin-top: 5px;
}

.user-marker,
.tour-marker {
  background: none;
  border: none;
}

.filter-controls {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 8px 15px;
  border-radius: 20px;
  background-color: white;
  border: 1px solid #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--dark-color);
  border-color: var(--primary-color);
}

.filter-btn i {
  margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  #map {
    height: 350px;
  }

  .filter-controls {
    justify-content: center;
  }

  .location-status {
    flex-direction: column;
    text-align: center;
  }

  .refresh-location {
    margin-top: 10px;
  }
}
