/* 게시판 테이블 스타일 */

.board_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.board_header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.board_header .searchBox {
    position: relative;
}

.board_header .searchBox i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.dx-texteditor.dx-editor-underlined .dx-texteditor-input {
    padding: 7px 0;
}

/* 테이블 배경 투명 */
#boardList {
    border-top: 2px solid #f4f3f1;
}

#boardList .dx-datagrid {
    background-color: transparent;
}

#boardList .dx-datagrid-rowsview {
    background-color: transparent;
}

#boardList .dx-datagrid-content {
    background-color: transparent;
}

/* 데이터 행 배경 투명 */
#boardList .dx-datagrid-rowsview .dx-row {
    background-color: transparent;
}

#boardList .dx-datagrid-rowsview .dx-row:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* 헤더 배경색 #f4f3f1 */
#boardList .dx-datagrid-headers {
    background-color: #f4f3f1;
}

#boardList .dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    background-color: #f4f3f1;
    font-size: 12px;
    padding: 12px 0;
    text-align: center;
}

#boardList .dx-datagrid-headers .dx-datagrid-table .dx-row > td div {
    font-size: 12px;
}

/* 데이터 행 폰트 14px, padding 8px 4px */
#boardList .dx-datagrid-rowsview .dx-datagrid-table .dx-row > td {
    font-size: 14px;
    padding: 8px 4px;
}

/* 공지사항 행 스타일 */
#boardList .dx-row.notice-row {
    font-weight: 500;
    background-color: #eef1f6 !important;
}

#boardList .dx-row.notice-row .notice-badge {
    font-weight: 600;
}

/* 제목 컬럼 데이터 왼쪽 정렬 (2번째 컬럼) */
#boardList .dx-datagrid-rowsview .dx-datagrid-table .dx-row > td:nth-child(2) {
    text-align: left;
}

/* new 아이콘 스타일 */
#boardList .new-icon {
    width: 15px;
    margin-left: 5px;
    vertical-align: middle;
}

#boardList .dx-pager .dx-pages .dx-selection {
    border-radius: 0;
}

/* board_view */
#board_view .board_top {
    flex-direction: column;
    align-items: flex-start;
}

.board_view_info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #f6f6f6;
    padding: 20px 10px;
    border-top: 1px solid #bbb;
    border-bottom: 1px dashed #bbb;
}

.board_view_info .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.board_view_info .left .title {
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

.board_view_info .left .info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.board_view_info .left .info span {
    font-size: 12px;
    padding-right: 10px;
    border-right: 1px solid #bbb;
    color: #555;
}

.board_view_info .right {
    align-self: flex-end;
}

.board_view_info .right .date {
    font-size: 12px;
    color: #555;
}

.board_content {
    padding: 50px 0;
}

.board_content p {
    color: #555;
}

.board_button {
    margin-top: 50px;
    width: 100%;
    text-align: center;
}

.board_button.line_btn {
    text-align: right;
}

.talk_write .board_button.line_btn {
    text-align: center;
}

.board_button button {
    background: #83878a;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
    color: white;
    font-size: 14px;
    padding: 8px 14px;
    cursor: pointer;
}

.board_button.line_btn button {
    background-color: #fff;
    border-radius: 32px;
    border: 2px solid #333;
    color: #333;
}

.back_btn {
    background: #83878a;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
    color: white;
    font-size: 14px;
    padding: 8px 14px;
    cursor: pointer;
}

/* 모바일 스타일 */

@media (max-width:1440px) {
    .board_section {
        padding: 0 20px;
    }

    .board_top .total {
        display: none;
    }

    /* 모바일 게시판 리스트 */
    #boardList .dx-datagrid-headers {
        display: none;
    }

    #boardList .dx-datagrid-rowsview .dx-datagrid-table .dx-row > td {
        padding: 12px 8px;
    }

    .mobile-board-item {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .mobile-title-row {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .mobile-title-row .notice-badge {
        color: #e74c3c;
        font-weight: 600;
        margin-right: 5px;
    }

    .mobile-title {
        font-size: 14px;
        color: #333;
        font-weight: 500;
    }

    .mobile-info-row {
        font-size: 12px;
        color: #888;
    }
}