/* 게시글 목록 테이블 */
.board-list {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
}

.board-list thead {
    background-color: #f8f9fa;
}

.board-list th {
    padding: 15px 10px;
    font-size: 0.95em;
    font-weight: 600;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.board-list th.col-title {
    text-align: left;
}

.board-list td {
    padding: 18px 10px;
    /* font-size: 0.95em; */
    color: #666;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.board-list tbody tr {
    transition: background-color 0.2s;
}

.board-list tbody tr:hover {
    background-color: #fafbfc;
}

.board-list td.col-title {
    text-align: left;
}

.post-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.post-title:hover {
    color: #006cb0;
}

.post-new {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 600;
}

.post-file {
    color: #999;
    font-size: 0.9em;
}

.post-comment {
    color: #006cb0;
    font-weight: 600;
    margin-left: 5px;
}

.post-number {
    color: #999;
    font-weight: 500;
}

.post-notice {
    background-color: #f8f9fa;
}

.post-notice .post-title {
    color: #006cb0;
    font-weight: 600;
}

.post-author {
    color: #666;
}

.post-date {
    color: #999;
    font-size: 0.9em;
}

.post-views {
    color: #999;
}

/* 컬럼 너비 설정 */
.col-number {
    width: 80px;
}

.col-title {
    width: auto;
}

.col-author {
    width: 120px;
}

.col-date {
    width: 120px;
}

.col-views {
    width: 80px;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .col-views {
        display: none;
    }
}

@media (max-width: 768px) {
    .board-list th,
    .board-list td {
        padding: 12px 8px;
        font-size: 0.9em;
    }

    .col-number,
    .col-author,
    .col-date {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .board-list th,
    .board-list td {
        padding: 10px 5px;
        font-size: 0.85em;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 40px 0 30px;
    padding: 20px 0;
}

.pagination a,
.pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination a:hover {
    border-color: #006cb0;
    color: #006cb0;
    background: #f8f9fa;
}

.pagination strong.current {
    background: #333;
    color: white;
    border-color: #333;
    font-weight: 600;
}

.pagination .btn-first,
.pagination .btn-last,
.pagination .btn-prev,
.pagination .btn-next {
    font-weight: 600;
    padding: 0 15px;
}

/* 액션 버튼 영역 */
.board-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
}

.left-actions,
.right-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 24px;
    border: none;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border-radius: 0;
}

.btn .icon {
    font-size: 1em;
}

.btn-primary {
    background: #006cb0;
    color: white;
    border: 1px solid #006cb0;
}

.btn-primary:hover {
    background: #004a7c;
    border-color: #004a7c;
}

.btn-secondary {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    border-color: #333;
    background: #f8f9fa;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .pagination a,
    .pagination strong {
        min-width: 32px;
        height: 32px;
        font-size: 0.85em;
    }

    .pagination .btn-first,
    .pagination .btn-last {
        display: none;
    }

    .board-actions {
        flex-direction: column;
        gap: 15px;
    }

    .left-actions,
    .right-actions {
        width: 100%;
        justify-content: center;
    }

    .btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 3px;
        margin: 30px 0 20px;
    }

    .pagination a,
    .pagination strong {
        min-width: 28px;
        height: 28px;
        font-size: 0.8em;
        padding: 0 5px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9em;
    }

    .btn .icon {
        display: none;
    }
}