/* ------------------------------------
    내 주변 스팟 찾기 전용 스타일
   ------------------------------------ */

.page-header p {
  font-size: 18px;
  color: #6b7280;
}

.finder-container {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.find-btn-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

#findFacilitiesBtn {
  background: #f59e0b;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

#findFacilitiesBtn:hover {
  background: #d97706;
}

#findFacilitiesBtn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #f3f4f6;
}

.filter-btn.active {
  background: #f59e0b;
  color: white;
  border-color: #f59e0b;
}

.finder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

#map {
  background: #f3f4f6;
  border-radius: 8px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-size: 18px;
}

#facilityList {
  max-height: 500px;
  overflow-y: auto;
}

.facility-item {
  padding: 15px;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.facility-item:hover {
  background-color: #fef7ed;
}

.facility-item:last-child {
  border-bottom: none;
}

.facility-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.facility-category {
  font-size: 13px;
  color: #f59e0b;
  font-weight: bold;
  margin-left: 8px;
}

.facility-distance {
  font-size: 14px;
  color: #f59e0b;
  font-weight: bold;
}

.facility-address {
  font-size: 14px;
  color: #6b7280;
  margin-top: 5px;
}

/* 카카오 지도 커스텀 오버레이 스타일 */
.custom-overlay {
  font-size: 24px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .finder-layout {
    grid-template-columns: 1fr;
  }
}
