/* ========== category.css ========== */
.paging li.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}
.paging li.on a {
    pointer-events: none;
    cursor: default;
}
@media screen and (min-width: 1025px) {
    .list_st01 {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 1.333%;
    }
    .list_st01 li {
        width: 24%;
        margin-bottom: 20px;
        border-bottom: none !important;
    }
    .list_st01 li a {
        display: block;
        height: 100%;
        border: 1px solid #eee;
        padding: 20px;
        box-sizing: border-box;
        transition: 0.3s;
    }
    .list_st01 li a:hover {
        border-color: #0046ff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .list_st01 li .box03 {
        margin-top: 15px;
    }
}

.sort-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-end;
}
.sort-btn {
    font-size: 15px;
    color: #666;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.sort-btn.on {
    color: #0046ff;
    font-weight: 700;
}

/* ========== custom.css ========== */
.custom_data_box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e2e2e2;
}
.form_section {
    margin-bottom: 30px;
}
.form_section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.flex_row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.select_st {
    height: 45px;
    border: 1px solid #ddd;
    padding: 0 15px;
    border-radius: 5px;
    min-width: 120px;
}

.check_list_wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.check_item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
}
.check_item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn_apply_wrap {
    margin-top: 40px;
    text-align: center;
}
.btn_apply {
    background: #000;
    color: #fff;
    padding: 15px 80px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    transition: 0.3s;
}
.btn_apply:hover {
    background: #333;
}

@media (max-width: 768px) {
    .custom_data_box {
        padding: 20px;
    }
    .check_list_wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 인라인 style 치환분 (BEM) */
.data-custom__select {
    width: 100%;
    max-width: 300px;
}

/* ========== detail.css ========== */
/* 샘플 데이터 영역: 한 줄 유지 및 스크롤 보장 */
.table-scroll-box {
    overflow-x: auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
}
.table-scroll-box:active {
    cursor: grabbing;
}
.table-list {
    display: inline-block;
    min-width: 100%;
}
.table-list li {
    display: flex;
    border-bottom: 1px solid #ececec;
}
.table-list li.header {
    background: #f9f9f9;
    font-weight: bold;
}
.box {
    padding: 12px 15px;
    border-right: 1px solid #ececec;
    text-align: center;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 글자 크기 절대 고정 및 한 줄 강제 */
    font-size: 14px !important;
    white-space: nowrap !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.box1 {
    width: 120px;
    min-width: 120px;
}
.box2 {
    width: 180px;
    min-width: 180px;
}
.box3 {
    width: 300px;
    min-width: 300px;
}

.table-scroll-box::-webkit-scrollbar {
    height: 6px;
}
.table-scroll-box::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

/* 분석 미리보기 영역: 테이블 레이아웃 고정 */
.right_box table {
    width: 100%;
    border-top: 1px solid #333;
    border-collapse: collapse;
    table-layout: auto;
    /* 내용에 따라 유연하게 늘어나되 겹치지 않게 함 */
}
.right_box table th, .right_box table td {
    padding: 12px 10px;
    border: 1px solid #ececec;
    text-align: center;
    /* 한 줄 고정 및 폰트 크기 절대값 */
    white-space: nowrap !important;
    font-size: 14px !important;
    word-break: keep-all;
}
.right_box table th {
    background: #f9f9f9;
    font-weight: bold;
}

/* 미리보기 타이틀 및 안내문구 정렬 */
.preview-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}
.preview-header strong {
    font-size: 18px !important;
    color: #333;
}
.preview-notice {
    color: #ff4646 !important;
    font-size: 13px !important;
    margin-left: 10px;
}

/* 로그인 필요 팝업 */
#LoginServicePopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
}
#LoginServicePopup .popup_inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px 36px 32px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    min-width: 320px;
    max-width: 90vw;
}
#LoginServicePopup .popup_close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s;
}
#LoginServicePopup .popup_close:hover {
    color: #333;
}
#LoginServicePopup .popup_msg {
    margin: 4px 0 28px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}
#LoginServicePopup .popup_btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}
#LoginServicePopup .btn_login, #LoginServicePopup .btn_signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 120px;
    height: 46px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
}
#LoginServicePopup .btn_login {
    background: #0046ff;
    color: #fff;
    border: 1px solid #0046ff;
}
#LoginServicePopup .btn_login:hover {
    background: #0038cc;
    border-color: #0038cc;
}
#LoginServicePopup .btn_signup {
    background: #fff;
    color: #0046ff;
    border: 1px solid #0046ff;
}
#LoginServicePopup .btn_signup:hover {
    background: #eef2ff;
}
/* 인라인 style 치환분 (BEM) */
.data-preview__placeholder {
    height: 200px;
}

