/*
[FILE]
c:/dolcu/hub/main/modules/hub_location/hub_location.css

[ROLE]
hub_location 전용 CSS (실서비스 기준)
- 위치설정 / 검색반경 요약 UI
- 2줄(row) 구조
- 위치설정 방법 선택 모달 (중앙 청색 유리 모달)

[FUTURE NOTES]
1. GPS / 저장목록 모달은 각각 별도 overlay 사용
2. 이 파일은 hub_location 모듈 전용으로 봉인
3. 로그인 관문 CSS와 절대 충돌하지 않도록 설계
*/

/* ===============================
   모듈 컨테이너
=============================== */
#hub-location-module {
  box-sizing: border-box;
  padding: 6px 10px;
  border-top: 5px solid #666565d0;
  border-bottom: 5px solid #5a5b5f;
}

/* ===============================
   전체 2줄 구조
=============================== */
#hub-location-module .hub-loc-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#hub-location-module .hub-loc-row {
  display: flex;
  gap: 10px;
}

#hub-location-module .hub-loc-left { flex: 4; }
#hub-location-module .hub-loc-right { flex: 6; }

/* =================================================
   1줄차: 상태 표시
================================================= */
#hub-location-module .row-status {
  align-items: center;
}

#hub-location-module .row-status .hub-loc-left,
#hub-location-module .row-status .hub-loc-right {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

#hub-location-module .hub-loc-display {
  display: flex;
  align-items: center;
  gap: 6px;
}

#hub-location-module .hub-status-text {
  font-size: 14px;
  font-weight: 700;
}

/* =================================================
   2줄차: 버튼 영역
================================================= */
#hub-location-module .row-action {
  align-items: flex-start;
}

#hub-location-module .hub-loc-btn {
  padding: 4px 6px;
  font-size: 12px;
  cursor: pointer;
}

#hub-location-module .hub-loc-left-actions .hub-loc-btn {
  width: 110px;
  height: 27px;
  border-radius: 10px;
  border: none;
  background-color: rgba(175, 175, 177, 0.725);
}

#hub-location-module .hub-radius-actions {
  display: flex;
  gap: 6px;
}

/* =================================================
   위치설정 방법 선택 오버레이 (중앙) - 아래 모달창 관련
================================================= */
#hub-location-module .hub-loc-overlay {
  position: fixed;
  inset: 0;
  display: none;

  background: rgba(0, 0, 0, 0.35);
  z-index: 9000;
}

#hub-location-module .hub-loc-overlay[data-visible="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =================================================
   중앙 모달 패널 – 청색 유리 (투명도 강화)
================================================= */
#hub-location-module .hub-loc-overlay-panel {
  width: calc(100% - 36px);
  max-width: 360px;

  /* 🔹 진짜 유리 느낌 */
  background: rgba(25, 55, 95, 0.55);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);

  padding: 18px;
  box-sizing: border-box;

  color: #ffffff;
}

/* =================================================
   위치설정 방식 선택 UI
================================================= */
#hub-location-module .hub-loc-consent {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 안내 문구 */
#hub-location-module .hub-loc-consent .loc-consent-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(240, 245, 255, 0.95);
}

/* =================================================
   버튼 영역 – 1행 3버튼 고정
================================================= */
#hub-location-module .hub-loc-consent .hub-loc-btn-wrap {
  display: flex;
  gap: 8px;
}

/* 버튼 공통 */
#hub-location-module .hub-loc-consent .hub-loc-btn {
  flex: 1;
  height: 34px;

  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;

  border-radius: 10px;
  border: none;

  background: rgba(255, 255, 255, 0.92);
  color: #1c1c1c;
}

/* 그냥 나가기 버튼 */
#hub-location-module .hub-loc-consent .hub-loc-btn[data-action="loc_normal_out"] {
  background: rgba(210, 210, 210, 0.9);
}


