.board-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.board-container h2 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.search-form {
    margin-bottom: 20px;
    text-align: right;
}

.search-form form {
    display: inline-flex;
    gap: 10px;
}

.search-form select,
.search-form input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form select {
    width: 120px;
}

.search-form input[type="text"] {
    width: 250px;
}

.btn-search {
    padding: 8px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-search:hover {
    background: #0056b3;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.board-table th,
.board-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.board-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.board-table td.title {
    text-align: left;
}

.board-table td.title a {
    color: #333;
    text-decoration: none;
}

.board-table td.title a:hover {
    text-decoration: underline;
}

.board-table td.no-data {
    padding: 40px;
    color: #999;
}

.comment-count {
    color: #007bff;
    font-size: 0.9em;
    margin-left: 5px;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
}

.pagination li.active span {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination li a:hover {
    background: #f8f9fa;
}

.board-actions {
    text-align: right;
    margin-top: 20px;
}

.btn-write {
    display: inline-block;
    padding: 10px 24px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.btn-write:hover {
    background: #218838;
}
