@charset "UTF-8";
:root {
    --top-offset: 0px;        /* 헤더+필터 높이 */
    --vh: 1vh;                /* 모바일 주소창 대응용 */
}

.upload-container {
    display: flex;
    gap: 10px;
    padding: 0;
}

.upload-box {
    width: 11rem;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border);
    border-radius:  1rem;
    background: url(../images/img/btn_add_img.png) no-repeat center top 35%/4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.upload-box.hidden {
    display: none;
}

.upload-box .plus {
    font-size: 24px;
    margin-bottom: 5px;
}

.upload-box .text {
    position: absolute;
    bottom: 20%;
    width: 100%;
    left: 0;
    font-size: 1.3rem;
    text-align: center;
    color: var(--gray2);
    font-weight: 500;
}

.upload-box .upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-box .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.preview-box {
    width: 11rem;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    cursor: move;
    border: 1px solid var(--border);
    border-radius:  1rem;
}

.preview-box a {
    display: block;
    width: 100%;
    height: 100%;
}


.preview-box img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}


.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color:#ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.sortable-ghost {
    opacity: 0.5;
}

.filepond--root {
    display: none;
}

.vivio-preview-box {
    width: 120px;
    height: 120px;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
    cursor: move;
}

.vivio-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vivio-preview-box a {
    display: block;
    width: 100%;
    height: 100%;
}

/*no drag*/
.no_drag {
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.wh-pre {
    white-space: pre-line;
}


.jq-toast-wrap {
    width: auto;
    max-width: 100%;
}


.jq-toast-single {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    border-radius: 100px;
    position: relative;
    pointer-events: all !important;
    background-color: #444;
    color: #fff;
    font-size: 1.5rem;
    font-family: "Pretendard" !important;
    line-height: var(--bs-body-line-height);
}

.jq-has-icon {
    padding: 7px 16px 7px 29px;
    background-repeat: no-repeat;
    background-position: 10px
}

.jq-icon-info {
    background-image: url(../images/icon/ico_toast.svg);
    background-color: rgba(28, 28, 28, 0.75);
    color: #fff;
}


.jq-icon-warning {
    background-image: url(../images/icon/ico_toast.svg);
    background-color: rgba(28, 28, 28, 0.75);
    color: #fff;
}

.jq-icon-error {
    background-image: url(../images/icon/ico_toast.svg);
    background-color: rgba(28, 28, 28, 0.75);
    color: #fff;
}

.jq-icon-success {
    background-image: url(../images/icon/ico_toast.svg);
    background-color: rgba(28, 28, 28, 0.75);
    color: #fff;
}

.sns_share li{width:5.0rem;overflow:hidden;}
.sns_share li img {max-width: 100%;display: block;height: auto;}


.star-wrap {
    display: flex;
    width: 150px;
    justify-content: space-between;
    cursor: pointer;
}

.star-box {
    position: relative;
    width: 30px;
    height: 1em;
    font-size: 26px;
}

.star-box > i {
    color: #ccc;
    position: absolute;
    top: 0;
    left: 0;
}

.star-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    line-height: 1;
    pointer-events: none;
}

.star-fill i {
    color: #ff9636;
}



.offcanvas-body .off-action-list {
    text-align: left;
}
.offcanvas-body .off-action-list .off-action-item {
    padding-block: 15px;
    border-bottom: 1px solid var(--border);
}
.offcanvas-body .off-action-list .off-action-item:last-child {
    border-bottom: none;
}


.custom-scroll::-webkit-scrollbar {
    display: none;
}

.custom-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.custom-scroll .scroll-active {
    cursor: grabbing;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.keyword-list .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.keyword-list .keyword-search-btn {
    white-space: nowrap;
}

.search-result-list {
    margin-right: -15px;
    padding-right: 8px;
}

.search-result-list .swiper-slide {
    width: 345px;
    height: auto;
}

.v_quto_change .ico {
    display: block;
    width:30px;height:30px;
    background-size: contain; /* 또는 background-size: 100% 100%; */
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 5px;
}

.v_quto_change .ico.up {
    background-image: url(../images/icon/ico_up.png);
}
.v_quto_change .ico.down {
    background-image: url(../images/icon/ico_down.png);
}
.v_quto_change .ico.same {
    background-image: url(../images/icon/ico_same.png);
}

.v-golf-name {
    /*display: -webkit-box;*/
    /*-webkit-line-clamp: 2;       */
    /*-webkit-box-orient: vertical;*/
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
    font-size: 14px; /* 필요시 조절 */
    line-height: 1.3;
}

/* 초기 상태: 일반 위치 */
.quote-sticky-wrap {
    position: relative;
    /*transition: all 0.2s ease;*/
}

/* 스크롤 내렸을 때 fixed 고정 */
.quote-sticky-wrap.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


@media (min-width: 992px) {
    .quote-sticky-wrap.fixed {
        position: fixed;
        top: 0;
        left: calc(50%); /* wrap의 오른쪽 기준 */
        transform: translateX(0); /* 중앙 기준 제거 */
        width: 50%;
        max-width: var(--wrap_wd);
        z-index: 9999;
    }
}



/* 지도 */
.mem_filter {position: relative;top:initial;padding: 10px 0;}
.map_wrap {
    background-color: #999;
    width: 100%;
    height: calc(var(--vh) * 100 - var(--top-offset));
    position: relative;
    overflow: hidden;
}

.map_wrap .hTrack {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
}
.map_wrap .hTrack .track-btn {
    width: 5rem;
    height: 5rem;
    background: url("../../assets/images/img/my_loca.png") no-repeat center center #fff;
    background-size: 3rem;
    z-index: 10;
    border:0 none;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
    .map-filter-modal.show {
        position: fixed;
        top: 0;
        left: calc(50%);
        transform: translateX(0);
        width: 50%;
        max-width: var(--wrap_wd);
    }
}

/* 지도-목록 */
.offcanvas-slide {
    position: absolute;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: white;
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    will-change: top;
    touch-action: auto;
    overflow: hidden;
    transition: top 0.3s ease;
}

.offcanvas-slide.is-animating {
    transition: transform .18s ease-in-out;
}


.offcanvas-slide.dragging {
    transition: none !important;
    opacity: 0.95;
}

/* 데이터 없음 메시지 */
.no-data-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--gray2);
}

.no-data-message .icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-data-message .text {
    font-size: 1.7rem;
    font-weight: 500;
}

.no-data-message .sub-text {
    font-size: 1.4rem;
    margin-top: 8px;
    opacity: 0.7;
}


.touch_bar {
    height: 30px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
}

.touch-sc-btn {
    background-color: #d9d9d9;
    width: 85px;
    height: 4px;
    display: block;
    border: 0 none;
    border-radius: 10px;
}

.scroll-area {
    overflow-y: auto;
    padding: 0 10px;
    /* JS가 인라인 max-height 넣을 거라 폴백만 남겨둠 */
    max-height: calc(100vh - 214px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain; /* 엣지 스크롤시 시트만 움직이게 */
    touch-action: pan-y;
}



.tooltip-bubble {
    position: absolute;
    min-width: 150px;
    text-align: center;
}

.user-marker {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    position: absolute;
    z-index: 999;
}

#offcanvas-drag {
    cursor: grab;
    position: relative;
    z-index: 10;
}
#offcanvas-drag:active {
    cursor: grabbing;
}
#map-list-view .touch_bar#offcanvas-drag.near-bottom {
    background-color: rgba(0, 123, 255, 0.12) !important;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.2) inset;
}
#map-list-view .touch_bar#offcanvas-drag.near-bottom .touch-sc-btn {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

/* 터치바 항상 보이게 하는 추가 스타일 */
#offcanvas-drag:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.5));
}

@media (min-width: 992px) {
    .offcanvas-slide {
        width: 100%;
        left: 0;
        right: 0;
        /*left: calc(50%);*/
        /*transform: translate(0, 0);*/
        /*width: 50%;*/
        /*max-width: var(--wrap_wd);*/
    }

    .scroll-area {
        max-height: calc(100vh - 255px);
    }

    #mapDetailModal.modal {
        left: calc(50%);
        transform: translate(0, 0);
        width: 50%;
        max-width: var(--wrap_wd);

    }



}


/* 어디 CSS에 넣어두면 됨 */
.pdf-loading-overlay{
    position:absolute; inset:0;
    background:rgba(255,255,255,.8);
    z-index:2;
}
.pdf-error-overlay{
    position:absolute; top:0; left:0; right:0;
    z-index:3; /* 로딩 위에 띄울 일은 없지만 명시 */
}


.price-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: transparent; /* 기본 회색바 제거 */
    outline: none;
}

.price-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 0%, var(--primary-light) 0%, var(--primary-light) 100%);
}
.price-range::-moz-range-track {
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 0%, var(--primary-light) 0%, var(--primary-light) 100%);
}

/* Webkit (Chrome, Safari) thumb */
.price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Firefox thumb */
.price-range::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}


.quote-header .qh-th {font-weight: bold;font-size: 1.3rem;white-space: nowrap}


.memship_list .swiper-wrapper {
    align-items: stretch;
}

.text-truncate-2 {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}