/* AI 코드에서 별도 추가함*/



/* news.php 전용 - 제목 1단 게시판 */
.professional-board.board-single .board-head,
.professional-board.board-single > a {
    grid-template-columns: 1fr;
}
.professional-board.board-single > a > div {
    padding: 0;
}

/* 게시판에서 LAY POPUP 열기--*/
.layer-dim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 100;
}
.board-view-layer {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(800px, 90%);
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    padding: 40px;
    z-index: 101;
}
.layer-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: 0;
    font-size: 24px; cursor: pointer;
}


/* AI 코드에서 별도 추가함....\OmsHtml->checkBoxDb()와 충돌때문에 추가*/
.form-grid input[type="checkbox"],
.form-grid input[type="radio"] {
    width: auto;
    margin-right: 6px;   /* ← 이 줄 추가 */
    vertical-align: middle;
}
.form-grid td {
    padding: 8px 12px !important;  /* PHP에서 이미 padding:0px 인라인 스타일을 줬으므로 !important 필요 */
}

/* 메세지 박스 */
.apply-complete-box {

    text-align: center;
    background: #f4f7fa;
    border: 1px solid #dbe3ea;
    border-left: 4px solid #0870dc;
    padding: 100px 40px;
    margin: 50px auto 50px;
    width: 80%;

}
.apply-complete-box p {
    color: #17334f;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

/* 인증기업 검색결과 팝업 */
.cert-result-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0870dc;
}
.cert-result-table {
    width: 100%;
    border-collapse: collapse;
}
.cert-result-table tr {
    border-bottom: 1px solid #eef1f4;
}
.cert-result-table tr:last-child {
    border-bottom: none;
}
.cert-result-table th {
    width: 140px;
    text-align: left;
    padding: 14px 16px;
    background: #f7f9fb;
    color: #667;
    font-weight: 500;
    font-size: 14px;
}
.cert-result-table td {
    padding: 14px 16px;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 600;
}
.cert-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}
.cert-badge.active {
    background: #e7f1fd;
    color: #0870dc;
}
.cert-badge.inactive {
    background: #fdeceb;
    color: #d64545;
}
.cert-result-actions {
    margin-top: 24px;
    text-align: center;
}
.cert-result-actions button {
    background: #0870dc;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.cert-result-actions button:hover {
    background: #0660bd;
}

/* 일반적인 글 줄바꿈하기 */
.policy-content p,
.policy-content div {
    margin-bottom: 20px;
    line-height: 1.8;
}


