.customoverlay {position:relative;bottom:50px;border-radius:6px;right:12; border: 1px solid #ccc;border-bottom:2px solid #ddd;float:left;}
.customoverlay:nth-of-type(n) {border:0; box-shadow:0px 1px 2px #888;}
.customoverlay div {display:block; text-decoration:none; color:#000; text-align:center; border-radius:6px; font-size:14px;font-weight:bold;overflow:hidden;background: #d95050;background: #d95050 url(https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/arrow_white.png) no-repeat right 14px center;}
.customoverlay .title {display:block;text-align:center;background:#fff;padding:10px 15px;font-size:14px;font-weight:bold;}
.customoverlay:after {content:'';position:absolute;margin-left:-12px;left:50%;bottom:-12px;width:22px;height:12px;background:url('https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/vertex_white.png')}
.pointer_cur{
  cursor: pointer;
}
.red_font {
  color : #ff0000 !important;
}

.mt_0{
  margin-top: 0px !important;
}


.btn-outline-color01{
  box-shadow: 0 0 0 0.5px #870AE0 !important;
  color: #870AE0 !important;
}


.points-container {
  position: relative;
  display: inline-block;
  font-size: 16px;
}

.info-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  /* 기존 디자인 제거 */
  border: none;
  background: none;
  border-radius: 0;
  padding: 0;
}

.info-icon img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none; /* ✅ 이미지가 이벤트 막지 않도록 */
}

.tooltip-box {
  position: absolute;
  top: 30px;
  left: -90px;
  width: 250px; /* ✅ 화면 넘지 않도록 */
  padding: 12px;
  padding-right: 20px;
  background-color: #fff;
  border: 1px solid #999;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 11px;
  line-height: 1.5;
  z-index: 9999;
  display: none;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.tooltip-box.active {
  display: block;
}

.tooltip-close {
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
  font-weight: bold;
}

.popup_mn {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 어두운 배경 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px 0; /* 상하 여백 */
}

.popup-content_mn {
  position: relative;
  width: 100%;
  max-width: 576px; /* 최대 너비 제한 */
  max-height: 100%; /* 상하단 넘지 않도록 제한 */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.popup-content_mn img {
  width: 100%;
  height: auto;
  max-height: 100vh; /* 화면 높이 넘지 않게 */
  object-fit: contain;
  display: block;
}


.close-btn_mn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .popup-content_mn img {
    height: 100%;
  }
}
