/* modern.css 파일로 분리할 내용 */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.table {
    margin-bottom: 0;
}
.table th {
    border-top: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding-top: 0.8rem;      /* 헤더 패딩 축소 */
    padding-bottom: 0.8rem;   /* 헤더 패딩 축소 */
}
.table td {
    vertical-align: middle;
    padding-top: 0.7rem;      /* 셀 상단 패딩 축소 */
    padding-bottom: 0.7rem;   /* 셀 하단 패딩 축소 */
    line-height: 1.2;         /* 행 높이 축소 */
}
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.03);
}
.badge {
    font-weight: 500;
    padding: 0.2em 0.4em;     /* 뱃지 패딩 축소 */
    font-size: 85%;           /* 뱃지 크기 축소 */
}
.pagination .page-link {
    color: #666;
    border-color: #eee;
}
.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    transition: all 0.2s;
}
/* hover 효과 제거 */
.btn-outline-primary:hover {
    transform: none;
}
.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.25rem;
}
.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background-color: rgba(0, 123, 255, 0.1);
}
/* 사용자 정의 체크박스 */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* 체크박스와 제목 사이 간격 조정 */
#bo_list .mb-0.mr-2 {
    margin-right: 0.35rem !important;
}

/* 모바일 보기에서의 추가 정보 상단 마진 축소 */
#bo_list .d-block.d-md-none.mt-1 {
    margin-top: 0.2rem !important;
}

/* 반응형 조정 */
@media (max-width: 767.98px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-header > div {
        width: 100%;
        margin-top: 1rem;
        display: flex;
        justify-content: space-between;
    }
    
    /* 모바일에서 테이블 셀 패딩 추가 축소 */
    .table td {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
}