/* ════════════════════════════════════════════════════════════════
   팝업 스타일 (wgtb0020p)
   ════════════════════════════════════════════════════════════════ */

/* 팝업 공통 스타일 */
.custom-layer-popup {
    display: none;
    position: fixed;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    width: 85vw;
    min-width: 150px;
    min-height: 100px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 9000;
    /* 모바일: 중앙에 배치 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-layer-popup > div:first-child {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-layer-popup p {
    margin: 0;
}

/* 팝업 이미지 */
.popup-image {
    display: block;
    width: 100%;
    height: auto;
}

/* 팝업 하단 버튼바 */
.popup-footer {
    background: #2b2b2b;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.popup-footer label {
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.popup-footer input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.popup-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
}

.popup-footer a:hover {
    text-decoration: underline;
}

/* PC 웹 화면 (992px 이상): 지정된 좌표에 배치 */
@media (min-width: 992px) {
    .custom-layer-popup {
        transform: none;
    }
}
