
    .filter-container {
        background-color: #f8f9fa;
        border-radius: 4px;
        padding: 10px;
        margin-bottom: 0;
        border: 1px solid #dee2e6;
    }

    .search-section {
        flex: 1;
        margin-left: 15px;
    }
    .table-header {
        background-color: #f8f9fa;
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .fixed-height-container {
        height: 800px;
        display: flex;
        flex-direction: column;
    }
    .fixed-height-container .card-header {
        flex: 0 0 auto;
        padding: 0.5rem 1rem;
    }

    /* 폰트 스타일 개선 */
    .table th {
        font-weight: 600;
        color: #495057;
        background-color: #f8f9fa;
    }
    .table td {
        color: #333;
        font-size: 0.9rem;
    }
    /* 필터 컨트롤 스타일 */
    .filter-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .filter-label {
        font-weight: 500;
        color: #495057;
        margin: 0;
    }
    /* 버튼 그룹 스타일 */
    .action-buttons {
        margin-left: 10px;
        display: flex;
        gap: 5px;
    }
    .btn-add {
        color: #fff;
        background-color: #198754;
        border-color: #198754;
    }
    .btn-add:hover {
        background-color: #157347;
        border-color: #146c43;
        color: #fff;
    }
    /* 모달 스타일 개선 */
    .modal-content {
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .modal-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
        border-radius: 8px 8px 0 0;
        padding: 15px 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        background-color: #f8f9fa;
        border-top: 1px solid #e9ecef;
        border-radius: 0 0 8px 8px;
        padding: 15px 20px;
    }

    /* UDI 카드 스타일 */
    .card.udi-card {
        margin-bottom: 1rem;
        border: 1px solid #e9ecef;
        box-shadow: none;
    }

    .card.udi-card .card-header {
        padding: 8px 15px;
        background-color: #f8f9fa;
        font-size: 0.9rem;
        font-weight: 500;
        color: #495057;
    }

    .card.udi-card .card-body {
        padding: 15px;
    }

    /* 폼 필드 스타일 */

    .form-control {
        border-radius: 4px;
        border-color: #e9ecef;
        background-color: #f8f9fa;
        transition: all 0.2s ease-in-out;
    }

    .form-control:hover {
        background-color: #fff;
        border-color: #ced4da;
    }

    .form-control:focus {
        background-color: #fff;
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
        outline: 0;
    }

    /* select 요소 스타일 */
    select.form-control {
        background-color: #f8f9fa;
    }

    select.form-control:focus {
        background-color: #fff;
    }

    /* 필수 입력 필드 스타일 */
    .form-control[required] {
        background-color: #fff3cd;
    }

    .form-control[required]:focus {
        background-color: #fff;
        border-color: #ffc107;
        box-shadow: 0 0 0 0.25rem rgba(255,193,7,.25);
    }

    /* 읽기 전용 필드 스타일 */
    .form-control[readonly] {
        background-color: #e9ecef;
    }

    /* UDI 카드 내부 입력 필드 스타일 */
    .card.udi-card .form-control {
        background-color: #f0f4f7;
    }

    .card.udi-card .form-control:focus {
        background-color: #fff;
    }

    /* 텍스트영역 스타일 */
    textarea.form-control {
        background-color: #f8f9fa;
    }

    textarea.form-control:focus {
        background-color: #fff;
    }

    /* 버튼 스타일 */
    .modal-footer .btn {
        padding: 6px 15px;
        border-radius: 4px;
    }

    /* 숫자 데이터 글꼴 */
    .table td:nth-child(3),
    .table td:nth-child(4) {
        font-family: 'Roboto Mono', monospace;
        text-align: right;
    }
    
    /* 카드 바디 높이 조정 */
    .fixed-height-container .card-body {
        height: 380px;
        overflow-y: auto;
    }

    /* 테이블 헤더 통일 스타일 */
    .table thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        background-color: #f8f9fa !important;  /* !important로 기존 스타일 덮어쓰기 */
        border-top: none;
        color: #495057;
        font-weight: 600;
        padding: 0.5rem;
        vertical-align: middle;
        text-align: center;  /* 헤더 텍스트 가운데 정렬 추가 */
    }
    
    /* table-head-fixed 클래스 제거 또는 덮어쓰기 */
    .table-head-fixed thead th {
        background-color: #f8f9fa !important;
    }
    
    /* 테이블 헤더 구분선 통일 */
    .table thead th::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        border-bottom: 2px solid #dee2e6;
    }
    
    /* 스크롤바 디자인 개선 */
    .card-body::-webkit-scrollbar {
        width: 8px;
    }
    
    .card-body::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .card-body::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }
    
    .card-body::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /* 통계 정보 스타일 */
    .stats-info {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-right: 1rem;
        padding-right: 1rem;
        border-right: 1px solid #dee2e6;
    }
    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .stat-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }
    .stat-icon.hospital {
        background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
        color: #fff;
    }
    .stat-icon.product {
        background: linear-gradient(135deg, #198754 0%, #146c43 100%);
        color: #fff;
    }
    .stat-content {
        display: flex;
        flex-direction: column;
    }
    .stat-value {
        font-size: 1rem;
        font-weight: 600;
        color: #212529;
        line-height: 1;
    }
    .stat-label {
        font-size: 0.75rem;
        color: #6c757d;
    }

/* 순서관리 모달 스타일 */
#orderTable {
    margin-bottom: 0;
}

#orderTable thead.sticky-top {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #0d6efd;
    color: white;
}

#orderTableBody tr {
    transition: all 0.2s ease;
}

#orderTableBody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#orderTableBody tr.sortable-helper {
    background-color: #e3f2fd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.fa-grip-vertical {
    transition: color 0.2s ease;
}

.fa-grip-vertical:hover {
    color: #007bff !important;
}

.order-number {
    font-size: 0.85rem;
    min-width: 2rem;
}

/* 드래그 중인 행 스타일 */
.ui-sortable-helper {
    background-color: #e3f2fd !important;
    border: 2px solid #007bff !important;
    border-radius: 4px;
}

.ui-sortable-placeholder {
    background-color: #f8f9fa !important;
    border: 2px dashed #dee2e6 !important;
    height: 50px;
}

/* 순서관리 버튼 스타일 */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-group-sm .btn:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.move-up:hover, .move-down:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.move-top:hover, .move-bottom:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}
