/* 부동산 집 마커 */
.price-badge {border: 2px solid #0064E6;border-radius: 10px;width:70px;height: auto;background-color: white;position: relative;text-align: center;display: inline-block;box-shadow:2px 4px 7px rgba(0, 0, 0, 0.4); overflow: visible;z-index: 10;}
.price-badge .area-box {background-color: #0064E6;height: 25px;color: white;font-size: 11px;border-top-left-radius: 6px;border-top-right-radius: 6px;margin-top: -2px;margin-left: -2px;margin-right: -2px;padding: 7px 0 0px 5px}
.price-badge .price-value {color: black;font-size: 15px;font-weight: 600;padding:3px 0px 4px}
.price-badge .change-info {font-size: 11px;font-weight: bold;padding: 0 0 5px;}
.price-badge.increase .change-info {color: #dc3545;}
.price-badge.decrease .change-info {color: #0064e6;}
.price-badge:after{content: '';display:block;width:73px;height: 25px;background: url("../../img/land/pricebadge_bottom.svg") no-repeat;background-size: contain;position: absolute;bottom: -20px; left: -2px;}
.price-badge.theme-green:after{background: url("../../img/land/pricebadge_bottom2.svg") no-repeat;background-size: contain}
.price-badge.theme-orange:after{background: url("../../img/land/pricebadge_bottom3.svg") no-repeat;background-size: contain}
.price-badge.theme-red:after{background: url("../../img/land/pricebadge_bottom4.svg") no-repeat;background-size: contain}
.area-select {
    background: #0064E6;
    border:none;
    color: white;
    font-size: 10px;
    cursor: pointer;
}
/*.nametitle{background: url(../../img/land/white_arrow.png) no-repeat calc(100% - 5px) center;    text-align: left;  padding-left: 9px;font-size: 11px}*/
/*.area-box{background:#0064E6 url(../../img/land/price_badge_arrow.png) no-repeat 5px 3px;  }*/
.area_select_list{background: #fff;border-radius: 6px;border: 2px solid #0064E6;position: absolute; top: -2px;left: -76px; width: 73px;padding: 3px 0}
.area_select_list li{border-bottom: 1px solid #E1E1E1}
.area_select_list li:last-child{border-bottom:0}
.area_select_list li a{display: block;color: #000;padding: 7px 0;text-align: center;font-size: 13px}

    /*부동산 집 마커 색상 테마*/
.price-badge.theme-green {border: 2px solid #8B7CFD;padding-bottom: 3px}
.price-badge .area-box.theme-green {background-color: #8B7CFD;}
.price-badge.theme-orange {border: 2px solid #FF6905;padding-bottom: 3px}
.price-badge .area-box.theme-orange {background-color: #FF6905;}
.price-badge.theme-red {border: 2px solid #D50505;padding-bottom: 3px}
.price-badge.theme-red .area-box {background-color: #D50505;}

/* 동 마커 스타일 */
.dong-marker-container {position: relative;width: 95px; height: 95px; background-color: #287DFF;border-radius: 50%;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);display: flex;flex-direction: column;justify-content: center;align-items: center;color: white;text-align: center;margin: 10px; border: 1px solid #fff;}
.dong-marker-container.do{ background-color: #0E4398 ; }
.dong-marker-container.sigungu{ background-color: #2867CE ; }
.dong-marker-container.dong{ background-color: #287DFF; }

.dong-info-top { font-size: 13px; font-weight: bold; margin-bottom: 2px; }
.dong-info-bottom { font-size: 18px; font-weight: 600; line-height: 1.2; margin-bottom: 2px; }
.dong-info-cnt { font-size: 12px; font-weight: 600;     background: #fff;  padding: 2px 5px;  border-radius: 5px;  color: #287dff;width: 55px}
.dong-marker-container .more_btn{position: absolute;bottom: 12px;right:-1px;}
.dong-marker-container .more_btn button{width: 28px;height: 28px;background: #287dff;border-radius: 50%;}
.dong-marker-container .more_btn button span{display: block;width: 28px;height: 28px;;background:url("../../img/land/icon_plus.png") no-repeat center;border-radius: 50%;font-size: 0}
.dong-marker-container.sigungu .dong-info-cnt{color:#2867CE }
.dong-marker-container.sigungu .more_btn button{background:#2867CE }
.dong-marker-container.do .dong-info-cnt{color:#0E4398 }
.dong-marker-container.do .more_btn button{background:#0E4398 }

.dong-marker-container.do.office{ background-color: #3e2dc1 ; }
.dong-marker-container.sigungu.office{ background-color: #6859df ; }
.dong-marker-container.dong.office{ background-color: #8b7cfd; }

.dong-marker-container.sigungu.office .dong-info-cnt{color:#6859df }
.dong-marker-container.sigungu.office .more_btn button{background:#6859df }
.dong-marker-container.dong.office .dong-info-cnt{color:#8b7cfd }
.dong-marker-container.dong.office .more_btn button{background:#8b7cfd }
.dong-marker-container.do.office .dong-info-cnt{color:#3e2dc1 }
.dong-marker-container.do.office .more_btn button{background:#3e2dc1 }

.dong-marker-container.do.small_house{ background-color: #e95e00 ; }
.dong-marker-container.sigungu.small_house{ background-color: #FF6905 ; }
.dong-marker-container.dong.small_house{ background-color: #ff944c; }

.dong-marker-container.sigungu.small_house .dong-info-cnt{color:#FF6905 }
.dong-marker-container.sigungu.small_house .more_btn button{background:#FF6905 }
.dong-marker-container.dong.small_house .dong-info-cnt{color:#ff944c }
.dong-marker-container.dong.small_house .more_btn button{background:#ff944c }
.dong-marker-container.do.small_house .dong-info-cnt{color:#e95e00 }
.dong-marker-container.do.small_house .more_btn button{background:#e95e00 }


/* 클러스터 마커 */
.cluster-marker {position: relative;
    z-index: 201;
    cursor: pointer;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 19px;
    color: white;
    text-align: center;
    font-weight: bold;
    border-radius: 50%;
    background:rgba(0,73,181,.8);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    transition: all 0.2s ease-in-out;
}

.cluster-marker.medium {
    z-index: 201;
    background-color: #0064e6;
    width: 80px; /* CSS 크기 변경 */
    height: 80px;
    line-height: 80px;
    font-size: 18px;
}

.cluster-marker.large {
    z-index: 201;
    background-color: #0064e6;
    width: 120px; /* CSS 크기 변경 */
    height: 120px;
    line-height: 120px;
    font-size: 22px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.cluster-marker:hover {
    transform: scale(1.1);
    z-index: 210;
}
.cluster-marker em{padding-right: 3px;display:block}
.cluster-marker .more_btn_dtl{ position: absolute;  bottom: 2px; right: -9px;   display: block;
    width: 25px; height: 25px;background:#2f68be url(../../img/land/icon_plus.png) no-repeat center;background-size: 18px; border-radius: 50%;font-size: 0;}
.theme-green.cluster-marker .more_btn_dtl{background:#8B7CFD url(../../img/land/icon_plus.png) no-repeat center;background-size: 18px;}
.theme-orange.cluster-marker .more_btn_dtl{background:#ea7835 url(../../img/land/icon_plus.png) no-repeat center;background-size: 18px;}
/* 클러스터링 색상 테마 */
.cluster-marker.theme-orange { background-color: #ea7835;}
.cluster-marker.theme-orange.medium {background-color: #ea681e;}
.cluster-marker.theme-orange.large {background-color: #e85b08;}
.cluster-marker.theme-green { background-color: #8B7CFD;}
.cluster-marker.theme-greene.medium {background-color: #8B7CFD;}
.cluster-marker.theme-green.large {background-color: #8B7CFD;}


/* 동 마커 InfoWindow 버튼 래퍼 */
.dong-marker-buttons-wrapper {
    display: flex;
    gap: 6px;
    padding: 6px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 버튼 스타일 */
.dong-marker-buttons-wrapper button {
    flex: 1;
    padding: 8px 12px;
    background-color: #fff;
    border: 2px solid #8B7CFD;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 36px;
    min-width: 90px;
}

.dong-marker-buttons-wrapper button:hover {
    background-color: #8B7CFD;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.dong-marker-buttons-wrapper button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-dong-zoom {
    border-color: #2196F3 !important;
}

.btn-dong-zoom:hover {
    background-color: #2196F3 !important;
}

.btn-dong-detail {
    border-color: #FF9800 !important;
}

.btn-dong-detail:hover {
    background-color: #FF9800 !important;
}

.dong-marker-buttons-wrapper .icon-zoom,
.dong-marker-buttons-wrapper .icon-detail {
    font-size: 14px;
}




/***************** 테스트 - 마커 전체 컨테이너 */

/*.marker-apt-wrap {*/
/*    --outer-size: 170px;*/
/*    --inner-size: 80px;*/
/*    width: var(--outer-size);*/
/*    height: var(--outer-size);*/
/*    position: relative;*/
/*    border-radius: 50%;*/
/*    background:transparent;*/
/*    overflow: hidden;*/
/*    box-shadow: 4px 3px 5px rgba(0, 0, 0, .2);*/
/*}*/

.marker-apt-wrap .quadrant-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.marker-apt-wrap .quadrant-area:hover {
    opacity: 1;
}

.marker-apt-wrap .north {
    background-color:rgba(0,0,0,1);
    clip-path: polygon(50% 50%, 0% 0%, 100% 0%);
    opacity: 0.7;
}

.marker-apt-wrap .east {
    background-color: #0768ca;
    clip-path: polygon(50% 50%, 100% 0%, 100% 100%);
    opacity: 0.75;
}

.marker-apt-wrap .south {
    background-color:rgba(75,180,25,1);
    clip-path: polygon(50% 50%, 100% 100%, 0% 100%);
    opacity: 0.75;
}

.marker-apt-wrap .west {
    background-color:rgba(230,45,45,1);
    clip-path: polygon(50% 50%, 0% 100%, 0% 0%);
    opacity: 0.75;
}

.marker-apt-wrap .center-gap-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--inner-size);
    height: var(--inner-size);
    border-radius: 50%;
    background-color: #f0f4f8;
    z-index: 20;
}

.marker-apt-wrap{display: flex;align-items: center;background: rgba(0,0,0,.6);border-radius:0 8px 8px 0}
.marker-apt-wrap .marker_div{color: #fff;border-left:1px solid #959595;padding: 10px 5px 13px;width: 65px}
/*.marker-apt-wrap .marker_div:last-child{background: #0b5ed796;border-radius: 0 8px 8px 0}  단지상세 제거*/
.marker-apt-wrap .marker_div dl{text-align: center;}
.marker-apt-wrap .marker_div dt{padding-bottom: 4px;font-weight: normal}
.marker-apt-wrap .marker_div p{text-align: center;}

.marker-apt-wrap .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.marker-apt-wrap .north .text-container {
    position: absolute;
    top: calc(var(--outer-size) * 0.05);
}


.marker-apt-wrap .south .text-container {
    position: absolute;
    bottom: calc(var(--outer-size) * 0.1);
}


.marker-apt-wrap .east .text-container {
    position: absolute;
    right: calc(var(--outer-size) * 0.03);
}


.marker-apt-wrap .west .text-container {
    position: absolute;
    left: calc(var(--outer-size) * 0.03);
}


.marker-apt-wrap .price-value {
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

.marker-apt-wrap .area-select {
    background: none;
    border: 1px solid white;
    color: white;
    /*padding: 0px 5px;*/
    border-radius: 4px;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
}

.marker-apt-wrap .area-select option {
    color: black;
}
/***************** 테스트 - 마커 전체 컨테이너 */

/* 마커 바운스처리 */
.marker-bounce {
    animation: fastBounce 3.5s ease-out infinite;
    display: inline-block;
    will-change: transform;
}

@keyframes fastBounce {
    0% { transform: translateY(0); }
    30% { transform: translateY(12px); }
    55% { transform: translateY(0); }
    75% { transform: translateY(12px); }
    100% { transform: translateY(0); }
}