/* board css */

.board{width : 100%;}

.flex_row{display : flex;}
.flex_column{display: flex; flex-direction: column;}

.flex_center{justify-content: center; align-items: center;}
.flex_row_sb{justify-content: space-between;}


.marginb10{margin-bottom : 10px;}
.marginb20{margin-bottom : 20px;}
.marginb30{margin-bottom : 30px;}
.marginb40{margin-bottom : 40px;}
.marginb50{margin-bottom : 50px;}


.gap10{gap : 10px;}
.gap20{gap : 20px;}



.color_white{color : #fff;}
.bgcolor_lightseagreen{background-color: #13afbe;}
.bgcolor_lightseagreen:hover{background-color: rgba(19,175,190,0.6);}


body{margin : 0; padding : 0; margin-bottom : 100px;}

.board_body_box{
    /*width : 70%; margin : 0 auto; min-width : 1100px;*/
    width : 1100px !important; min-width : auto !important; max-width : 100%; margin : 100px auto;
}
.board_bg_img{margin : 0; padding : 0; height : 50vh; width : 100%; overflow : hidden; object-fit: contain;}
.board_bg_img img{width : 100%;}
.board_body{margin-top : 100px; margin-bottom : 100px;}

.board_subtitle{margin : 80px auto; transition: all .3s ease; font-weight : 500; font-size : 36px; text-align : center;}


.board_top{margin-bottom : 10px;}
.board_sort select{border: none;}

.board_contents table{border-collapse : collapse;}
.board_contents table th, .board_contents table td {text-align : center;}

.board_contents table{width : 100%;}
.board_contents table thead{border-top : 1px solid #cccccc; border-bottom : 1px solid #cccccc;}
.board_contents table tr:nth-child(1) th, .board_contents table tr td{padding : 10px;}
.board_contents table tr{border-bottom : 1px solid #cccccc;}

.table_title{text-align : left; white-space : nowrap; overflow: hidden; text-overflow : ellipsis; max-width : 500px;}

.board_write_button{color : #fff; padding : 8px 10px; float : right;}


.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th,
.board-table td {
    padding: 10px;
    text-align: center;
}

.title-cell {
    text-align: left;
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-width {width: 80px;}
.fixed-width-date{width : 120px;}


@media screen and (max-width: 1100px) {
    .board_body_box{ width : 90%; margin : 0 auto; min-width : 0;}
}

@media screen and (max-width: 700px) {

    .board_body{padding-left: 10px; padding-right : 10px;}
    .board_bg_img img{height : 100%;}
    .board_contents table th, .board_contents table td {text-align : left;}
    .board-table,
    .board-table tbody,
    .board-table tr {
        display: block;
    }

    .board-table thead {
        display: none;
    }

    .board-table td {
        display: none;
        border: none;
        padding: 5px 10px;
    }

    .board-table tr {
        border: 1px solid #ddd;
        margin-bottom: 10px;
        padding: 5px;
    }

    /* 첫째 줄: 상태 */
    td.status-cell {
        display: block;
        text-align: left;
        font-weight: bold;
        color: #2196F3;
    }

    /* 둘째 줄: 제목 */
    td.title-cell {
        display: block;
        text-align: left;
        max-width: none;
        white-space: normal;
    }

    /* 셋째 줄: 작성자, 작성일 */
    td.author-cell,
    td.date-cell {
        display: inline-block;
        width: auto;
        font-size: 0.9em;
        color: #666;
    }

    td.author-cell::after {
        content: "•";
        margin: 0 5px;
    }

    .board_write_button {margin-top : 30px; text-align : center;}

}




* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.qa-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
}

.form-label {
    width: 120px;
    padding: 8px 15px 8px 0;
    font-weight: bold;
    line-height: 1.5;
}

.form-input {
    flex: 1;
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

textarea {
    height: 200px;
    resize: vertical;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.search_form button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.submit-btn {
    background-color: #13afbe;
    color: white;
}

.cancel-btn {
    background-color: #ff4444;
    border-radius: 4px;
    color: white;
}

.file-input {
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-container {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
}

.captcha-image {
    background: #e9ecef;
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-family: monospace;
    font-size: 20px;
    letter-spacing: 5px;
    color: #495057;
}

.search-checkbox {
    margin-top: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

@media screen and (max-width: 600px) {
    .form-group {
        flex-direction: column;
    }

    .form-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .form-input {
        width: 100%;
    }
}

.search-select {
    margin-top: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.search-select select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}

.search-select select:focus {
    outline: none;
    border-color: #007bff;
}


.board_search_button{min-width : 70px;}