#write-btn {
    min-width: 64px;
    padding: 6px 18px;
    white-space: nowrap;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-btn {
    min-width: 56px;
    height: 40px;
    padding: 0 16px;
    white-space: nowrap;
    font-size: 1.08rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.board-header .d-flex>* {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 1.08rem;
    line-height: 1.4;
    box-sizing: border-box;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#write-btn,
#search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

#search-type,
#search-input {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.search-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex: 1;
}

@media (max-width: 780px) {
    .board-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .board-header .d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        gap: 8px !important;
    }

    .search-row {
        flex-direction: row !important;
        width: 100%;
        gap: 8px;
    }

    #write-btn {
        width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
    }

    #search-type,
    #search-input {
        width: 100% !important;
        min-width: 0 !important;
    }

    #search-btn {
        width: 100% !important;
        margin-top: 8px;
    }
}

/* 기본 버튼 스타일 
body .dataTables_wrapper .dataTables_paginate .paginate_button {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* 현재 페이지 버튼 
body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #ffc107;
    color: #000 !important;
    border-color: #ffc107;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #ffca2c;
    border-color: #ffc720;
}

/* 일반 버튼 
body .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current) {
    background: transparent;
    color: #6c757d !important;
    border: 1px solid #6c757d;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):hover {
    color: #fff !important;
    background: #6c757d;
    border-color: #6c757d;
}

/* 이전/다음 버튼 
body .dataTables_wrapper .dataTables_paginate .paginate_button.next,
body .dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    color: #000 !important;
    background: #f8f9fa;
    border: 1px solid #f8f9fa;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.next:hover,
body .dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover {
    color: #000 !important;
    background: #d3d4d5;
    border-color: #c6c7c8;
}

/* 이전/다음 버튼 비활성화 상태 
body .dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled,
body .dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled {
    color: #6c757d !important;
    background: #f8f9fa;
    border: 1px solid #f8f9fa!important;
}

*/
