/* 팝업 오버레이 스타일 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* 팝업 컨테이너 스타일 */
.popup-container {
    border-radius: 4px;
    background: white;
    min-width: 300px;
    max-width: 90vw;
    width: fit-content;
    border: 1px solid #ccc;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: fixed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 팝업 헤더 스타일 */
.popup-header {
    cursor: move;
    padding: 10px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    user-select: none;
    word-break: break-all;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 팝업 콘텐츠 스타일 */
.popup-content {
    padding: 15px;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
    word-break: break-all;
    overflow-y: auto;
    flex: 1;
    min-height: 50px;
}

    /* 이미지 스타일 */
    .popup-content img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 10px 0;
    }

    /* 테이블 스타일 */
    .popup-content table {
        max-width: 100%;
        width: auto;
        border-collapse: collapse;
        margin: 10px 0;
    }

        .popup-content table td,
        .popup-content table th {
            border: 1px solid #ddd;
            padding: 8px;
        }

/* 팝업 푸터 스타일 */
.popup-footer {
    padding: 10px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-all;
    flex-shrink: 0;
    background: white;
}

/* 체크박스 래퍼 스타일 */
.popup-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 체크박스 스타일 */
.popup-checkbox {
    margin: 0;
    cursor: pointer;
}

/* 체크박스 레이블 스타일 */
.popup-checkbox-label {
    cursor: pointer;
    user-select: none;
}

/* 닫기 버튼 스타일 */
.popup-close-btn {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.popup-close-btn:hover {
    background-color: #0056b3;
}

.popup-footeritem{
    margin: 0 !important;
}
