@charset "UTF-8";
/*
 * 메디플로 강원 홈 (index2.jsp) — 내 위치 토글·확인 창·내 위치 찾기 레이어·"현재 위치가 맞나요?" 말풍선 (2026-11-18).
 * 동작은 v2/js/mediflo_location.js. 색은 mediflo.css 의 변수(--brand, --line 등)를 쓴다.
 */

/* ---------- 사이드 아래 토글 행 ---------- */
.side_loc { position: relative; flex: 0 0 auto; padding: 12px 16px 12px 20px; border-top: 1px solid var(--line); background: var(--white); }
.side_loc_row { display: flex; align-items: center; gap: 10px; }
.side_loc_pin { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); transition: color .2s; }
.side_loc.is_on .side_loc_pin { color: var(--brand); }
.side_loc_text { display: flex; min-width: 0; flex: 1; flex-direction: column; line-height: 1.35; }
.side_loc_cap { color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.side_loc.is_on .side_loc_cap { color: var(--muted); font-size: 12px; font-weight: 600; }
.side_loc_label { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.side_loc.is_on .side_loc_label { color: var(--ink); font-size: 14px; font-weight: 700; }
.side_loc_edit { display: flex; width: 30px; height: 30px; flex: 0 0 auto; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink_2); cursor: pointer; }
.side_loc_edit[hidden] { display: none; }
.side_loc_edit:hover { background: var(--bg); color: var(--brand); }
.side_loc_edit .ico { width: 16px; height: 16px; }

/* 토글 스위치 */
.side_loc_switch { position: relative; width: 44px; height: 26px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 999px; background: var(--line_2); cursor: pointer; transition: background .2s; }
.side_loc_switch:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.side_loc_knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(4, 12, 32, .3); transition: transform .2s var(--ease); }
.side_loc.is_on .side_loc_switch { background: var(--brand); }
.side_loc.is_on .side_loc_knob { transform: translateX(18px); }
.side_loc.is_busy .side_loc_switch { opacity: .6; cursor: progress; }
.side_loc.is_busy .side_loc_knob { animation: loc_pulse 1s ease-in-out infinite; }
@keyframes loc_pulse { 50% { transform: translateX(9px); } }

.side_loc_status { margin: 8px 0 0 30px; color: var(--brand_d); font-size: 12px; line-height: 1.5; }
.side_loc_status[hidden] { display: none; }

/* ---------- 확인 창 ("이 위치가 맞나요?") — 토글 위에 붙는 작은 창 ---------- */
.side_loc_pop { position: absolute; right: 12px; bottom: calc(100% - 4px); left: 12px; z-index: 5; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 16px 40px rgba(4, 12, 32, .18); animation: loc_pop .22s var(--ease); }
.side_loc_pop[hidden] { display: none; }
.side_loc_pop::after { position: absolute; right: 26px; bottom: -7px; width: 12px; height: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transform: rotate(45deg); content: ""; }
.side_loc_pop_q { color: var(--muted); font-size: 13px; font-weight: 600; }
.side_loc_pop_addr { margin-top: 4px; padding-right: 24px; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.03em; word-break: keep-all; }
.side_loc_pop_note { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; word-break: keep-all; }
.side_loc_pop_note[hidden] { display: none; }
.side_loc_pop_btns { display: flex; margin-top: 14px; gap: 8px; }
.side_loc_pop_btns button { height: 38px; flex: 1; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.side_loc_pop_ok { border: 0; background: var(--brand); color: var(--white); }
.side_loc_pop_ok:hover { background: var(--brand_d); }
.side_loc_pop_other { border: 1px solid var(--line_2); background: var(--white); color: var(--ink_2); }
.side_loc_pop_other:hover { border-color: #b9cbff; color: var(--brand); }
.side_loc_pop_x { position: absolute; top: 8px; right: 8px; display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.side_loc_pop_x:hover { background: var(--bg); color: var(--ink); }
.side_loc_pop_x .ico { width: 16px; height: 16px; }
@keyframes loc_pop { from { opacity: 0; transform: translateY(6px); } }

/* ---------- "현재 위치가 맞나요?" 말풍선 ---------- */
.loc_bubble { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(4, 12, 32, .22); animation: loc_pop .3s var(--ease); }
.loc_bubble[hidden] { display: none; }
.loc_bubble_text { height: 32px; padding: 0 4px; border: 0; background: transparent; color: inherit; font-size: 13px; font-weight: 700; letter-spacing: -.02em; cursor: pointer; }
.loc_bubble_text:hover { text-decoration: underline; }
.loc_bubble_x { display: flex; width: 24px; height: 24px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: inherit; cursor: pointer; }
.loc_bubble_x:hover { background: rgba(255, 255, 255, .28); }
.loc_bubble_x .ico { width: 13px; height: 13px; }
/* 사이드: 주소 바로 아래, 꼬리는 위로 */
.side_loc_bubble { margin: 10px 0 0 26px; }
.side_loc_bubble::before { position: absolute; top: -5px; left: 18px; width: 10px; height: 10px; background: var(--navy); transform: rotate(45deg); content: ""; }
/* 입력창 위 (좁은 화면에서만) */
.dock_loc_bubble { align-self: center; margin-bottom: 10px; padding-left: 10px; }
.dock_loc_bubble > .ico { width: 15px; height: 15px; }
.dock_loc_bubble::after { position: absolute; bottom: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; background: var(--navy); transform: rotate(45deg); content: ""; }
@media (min-width: 1025px) {
  .dock_loc_bubble, .dock_loc_bubble[hidden] { display: none; }
}
@media (max-width: 1024px) {
  .side_loc_bubble, .side_loc_bubble[hidden] { display: none; }
}

/* ---------- 내 위치 찾기 레이어 ---------- */
.ly_box.size_s { width: min(520px, 100%); }
.addr_body { display: flex; flex-direction: column; gap: 12px; padding: 18px 24px 24px; }
.addr_msg { padding: 10px 12px; border-radius: 10px; background: var(--brand_soft); color: var(--brand_d); font-size: 14px; line-height: 1.5; word-break: keep-all; }
.addr_msg[hidden], .addr_err[hidden], .addr_gps[hidden], .addr_form[hidden], .addr_embed[hidden] { display: none; }
.addr_gps { display: inline-flex; height: 42px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line_2); border-radius: 10px; background: var(--white); color: var(--ink_2); font-size: 14px; font-weight: 700; cursor: pointer; }
.addr_gps:hover { border-color: #b9cbff; color: var(--brand); }
.addr_gps .ico { width: 18px; height: 18px; }
.addr_embed { position: relative; height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.addr_loading { padding: 40px 0; color: var(--muted); font-size: 14px; text-align: center; }
.addr_form_label { display: block; margin-bottom: 8px; color: var(--ink_2); font-size: 14px; font-weight: 600; }
.addr_form_row { display: flex; gap: 8px; }
.addr_input { height: 46px; min-width: 0; flex: 1; padding: 0 14px; border: 1px solid var(--line_2); border-radius: 10px; color: var(--ink); font-size: 16px; }
.addr_input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(0, 56, 195, .12); }
.addr_find { height: 46px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--brand); color: var(--white); font-size: 15px; font-weight: 700; cursor: pointer; }
.addr_find:hover { background: var(--brand_d); }
.addr_err { color: var(--emergency_d); font-size: 13px; line-height: 1.5; }
#ly_addr.is_busy .addr_body { opacity: .55; pointer-events: none; cursor: progress; }

@media (max-width: 767px) {
  .addr_body { padding: 14px 16px 20px; }
  .addr_embed { height: min(460px, 62svh); }
}

/* 내 위치 칩: 누르면 위치 바꾸기 (강조 디자인은 보류, 2026-11-18) */
.kp-memory__chip[data-key="home"] { cursor: pointer; }
