/* #gdcResetBtn{display: none;} */
#gdcSearchBtn{width: 64px;}
#gdcSearchInput{width: calc(100% - 72px);}
.gdc-catbar{display:flex; gap:8px; padding:10px 12px; overflow-x:auto;background:#fff;scroll-snap-type:x proximity;}
.gdc-catbar::-webkit-scrollbar{height:8px}
.gdc-catbar::-webkit-scrollbar-thumb{background:#e1e5ee;border-radius:999px}
.gdc-chip{flex:0 0 auto; scroll-snap-align:start;border:1px solid #e5e7eb; background:#fff; color:#111; cursor:pointer;border-radius:999px; padding:8px 14px; font-size:14px;}
.gdc-chip.is-active{ background:#005bac; color:#fff; border-color:#005bac;font-weight:600; }
.gdc-layout{max-width:1400px; margin:16px auto; display:grid; grid-template-columns: 0.5fr 1fr; gap:16px;}
.gdc-left{border:1px solid #eee; border-radius:12px; overflow:hidden; background:#fff}
.gdc-left__head{padding:12px 14px; border-bottom:1px solid #f0f2f5; font-size:14px}
.gdc-list{display:flex; flex-direction:column}
.gdc-item{display:flex; gap:12px; padding:14px; border-bottom:1px solid #f2f3f5;cursor: pointer;}
.gdc-item:last-child{border-bottom:0}
.gdc-item__thumb{width:80px; height:80px; padding:4px; border-radius:8px; border:1px solid #f3f4f6; overflow:hidden; flex:0 0 auto;display:flex; align-items:center; justify-content:center; }
.gdc-item__thumb img{width:100%; object-fit:cover; display:block}
.gdc-item__body{min-width:0}
.gdc-item__title{margin:0 0 6px; font-weight:800;  color:#333}
.gdc-tags{display:flex; flex-wrap:wrap; gap:6px}
.gdc-tag.red{background: #ffecde;color: #333;border: 1px solid #fce6caff;}
.gdc-tag{display:inline-block; padding:3px 8px; font-size:14px; border-radius:999px;background: #fff;color: #333;border: 2px solid #d5eef0;}
.etc{border-top: 1px solid #ddd;padding-top: 10px;}
.details{display:flex;}
.details .details_left{width: calc(100% - 300px);}
.details .details_right{width: 300px;}
.details .details_right .gdc-item__thumb{width: 100%;height:100%;display:flex;align-items:center;justify-content:center;}
.gdc-right .gdc-mapbox{min-height:70vh;border:1px dashed #cfd8e3; border-radius:12px; overflow: hidden;display:flex; align-items:center; justify-content:center; color:#94a3b8; background:#fafafa;}
.partting{display:flex;}
.gdc-detail{border:1px solid #eee;border-radius:12px;background:#f8f8f8;padding:14px;margin-bottom:12px;width: 100%;}
.gdc-detail h3{margin:0 0 6px;}
.gdc-detail .d-addr{color:#555;margin:0 0 10px}
.gdc-actions {display: flex;flex-wrap: wrap;gap: 5px;margin-bottom: 12px;}
.gdc-actions .btn {display: flex;align-items: center;justify-content: center;width: 40px;height: 40px;border-radius: 12px;background:#ccc;}
.gdc-actions img {width: 24px;height: 24px;filter: brightness(0) invert(1);}
.gdc-actions .btn[data-tooltip]:hover::after {content: attr(data-tooltip);position: absolute;bottom: -28px;left: 50%;transform: translateX(-50%);background: rgba(0,0,0,0.8);color: #fff;font-size: 12px;padding: 4px 8px;border-radius: 6px;white-space: nowrap;z-index: 10;}
.gdc-actions .btn[data-tooltip="미흡"] {
    background-color: #b5b6b6;
}

.gdc-actions .btn[data-tooltip="보통"] {
    background-color: #159243;
}

.gdc-actions .btn[data-tooltip="양호"] {
    background-color: #1c78b7;
}
.gdc-field{display:grid;grid-template-columns:72px 1fr;gap:8px;align-items:center;margin-bottom:8px}
.gdc-field select{height:40px;padding:0 10px;border:1px solid #ddd;border-radius:8px}
.gdc-right svg{width: 22px;}
.gdc-acc .acc-head{padding:10px;border:1px solid #eee;border-radius:8px;cursor:pointer;background:#fafafa}
.gdc-acc .acc-body{display:none;padding:12px 8px;color:#444}
.gdc-acc.open .acc-body{display:block}
.gdc-item.is-active{background:#f7fbfb}

#maps{width:100%; aspect-ratio:6/4;}
#maps span,
#maps strong{
    color: #333;
}
.gdc-right{position:relative;}
.gdc-right .gdc-mapbox{align-items: unset ; position:relative;}
.gdc-cluster {display:flex;justify-content:center;align-items:center;color:#fff;font-weight:700;border-radius:50%;background-size:cover;background-position:center;}
.cluster-count {display: flex;align-items: center;justify-content: center;color: #fff;font-weight: 700;font-size: 14px;line-height: 1;width: 100%;height: 100%;}
.gdc-cluster:nth-child(1) { background-image:url('/img/cluster-marker-1.png'); }
.gdc-cluster:nth-child(2) { background-image:url('/img/cluster-marker-2.png'); }
.gdc-cluster:nth-child(3) { background-image:url('/img/cluster-marker-3.png'); }
.gdc-pagination {
    text-align: center;
    margin: 25px 0 50px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.gdc-page{
        display: inline-block;
    padding: 6px 12px;
    font-size: 10px;
    border: 1px solid #fff;
    color: #959595;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
}
.gdc-page.active{
    background: #005bac;
    color: #fff;
    border-color: #005bac;
}
.gdc-page.disabled {
    opacity: 0.4;
    pointer-events: none;
}
.gdc-page-list{display:inline-flex;gap:6px;list-style:none;padding:0;margin:0;}
.gdc-page-list .page-btn {border:1px solid #ddd;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:14px;background:#fff;}
.gdc-page-list .page-btn.active {background:#005bac;color:#fff;border-color:#005bac;font-weight:600;}
.gdc-page-list .page-btn.disabled {color:#ccc;border-color:#eee;cursor:default;background:#f9f9f9;}
.gdc-page-list .page-btn:hover:not(.active):not(.disabled) {background:#f1f1f1;}
.gdc-page-list .page-btn.first,.gdc-page-list .page-btn.last {font-weight:600;}
.gdc-page-list .page-btn.first, .gdc-page-list .page-btn.last{display: none;}
.gdc-searchbar{
    display:flex; align-items:center; gap:8px;    
    flex-wrap: wrap;padding:10px 0; background:#fff;
    justify-content: center;
}

.gdc-searchbar select, .gdc-searchbar input{height:38px; border:1px solid #ddd; border-radius:8px;padding:0 10px; font-size:14px;}
.gdc-searchbar button{height:38px; border:1px solid #005bac;font-size:14px;padding: 0 14px;background:#005bac; color:#fff; border-radius:8px; cursor:pointer;}
.gdc-searchbar button:hover{opacity:.9;}



.gdc-filter-box {border:1px solid #ddd;padding:15px;margin:15px 0;background:#fff;border-radius:6px;font-size:14px;}
.gdc-filter-title {font-size:16px;margin-bottom:10px;font-weight:600;display:flex;align-items:center;gap:6px;}
.gdc-filter-wrap {
    display:flex;gap:10px;
    /* max-height:240px; */
    /* overflow-x:auto;  */
    flex-direction:column;}
.gdc-filter-col {
    min-width:180px;
    /* border-right:1px solid #eee; */
    padding-right:15px; 
    display:flex; gap:0px;
    flex-wrap: wrap;
    align-items:center;}
.gdc-filter-col:last-child{border-right:0;}
.disly{
    width: 100%;
}
.gdc-filter-col h4 {
    margin: 0;
    border-color: #005bac;
    background-color: #005bac;
    font-weight: 600;
    cursor: pointer;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    display: inline-block;
    color: #fff;
    min-width: 100px;
    text-align: center;
}
.gdc-filter-col label {display:block;padding:4px 0;cursor:pointer;white-space:nowrap;}
#gdcSigunguBox{width:100%; display:flex; gap:5px; flex-wrap:wrap;}
.etu_il{clear:both; width:100%;}

.form-select{
    width: 49%;
}
.form-select.mid{
    width: 50%;
}
#gdcResetBtn{
background: #f3f4f6;
    border-radius: 10px;
    min-width: 120px;
    line-height: 35px;
    height: 35px;
    padding: 0 10px;
    text-align: center;
    border: 0;
}

/* 체크박스 */
/* === 체크박스 & 라디오 공통 스타일 === */
 label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
}

/* 기본 input 숨기고 appearance 없애기 */
input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid #b0b8c5;
  border-radius: 4px; /* 체크박스 네모 */
  background: #fff;
  display: inline-grid;
  place-content: center;
  transition: all 0.2s ease-in-out;
}


/* 체크박스 체크 표시 */
input[type="checkbox"]::after {
  content: "";
  width: 6px;
  height: 12px;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease-in-out;
}



/* 선택됐을 때 색상 변경 */
input[type="checkbox"]:checked{
  background: #005bac; /* 병원 느낌 블루 */
  border-color: #005bac;
}

input[type="checkbox"]:checked::after {
  transform: scale(1);
}

/* 포커스(키보드 접근) */
input[type="checkbox"]:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 77, 127, 0.3);
}

/* 비활성화 */
input[type="checkbox"]:disabled{
  background: #f1f5f9;
  border-color: #d1d5db;
  cursor: not-allowed;
}
input[type="checkbox"]:disabled + span{
  color: #9ca3af;
}
.map_boxAll{
    display: flex;flex-wrap: wrap;
}
.map_box_left,
.map_box_right{
    width: 50%;
    display: flex;
    gap: 10px;
    /* max-height: 240px; */
    /* overflow-x: auto; */
    flex-direction: column;
}
select{
    margin-right: 10px;
}
@media screen and (max-width: 1110px) {
	.gdc-searchbar button {width: 100%;}
    .form-select{width: 100%;}
    .form-select.mid{
    width: 100%;}
    .gdc-searchbar{
        justify-content: space-between;
    }
    .map_box_left,
.map_box_right{
    width: 100%;
}
}
@media (max-width:960px){ 
    .gdc-layout{
display: flex;
    flex-direction: column-reverse;
    }
    .gdc-right{
        display: flex;order:2;
        flex-direction: column-reverse;
    }
    .gdc-left{order:1} 
}
@media (max-width: 960px){
	/* .gdc-layout{grid-template-columns:1fr} */
	.gdc-left{order:1}
	.details{flex-wrap: wrap;}
	.details .details_left{width: 100%;}
	.details .details_right{ width: 100%;}
    .gdc-detail{
        margin-top: 30px;
    }
}



