/* Bootstrap 반응형 완전 비활성화 */
/* 모든 화면 크기에서 데스크톱 레이아웃 유지 */

/* 최소 너비 강제 설정 */
html, body {
    min-width: 1200px !important;
    width: 100% !important;
    overflow-x: auto;
}

/* 컨테이너 고정 너비 */
.container {
    min-width: 1200px !important;
    max-width: 1200px !important;
}

.container-fluid {
    min-width: 1200px !important;
}

/* Bootstrap navbar 항상 확장 상태 */
.navbar-toggler {
    display: none !important;
}

.navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row !important;
}

.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
}

/* 작은 화면에서도 데스크톱 스타일 강제 */
@media (max-width: 991.98px) {
    /* col-md-* 클래스 강제 적용 */
    .col-md-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
    .col-md-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
    .col-md-3 { flex: 0 0 25% !important; max-width: 25% !important; }
    .col-md-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
    .col-md-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; }
    .col-md-6 { flex: 0 0 50% !important; max-width: 50% !important; }
    .col-md-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; }
    .col-md-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; }
    .col-md-9 { flex: 0 0 75% !important; max-width: 75% !important; }
    .col-md-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; }
    .col-md-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
    .col-md-12 { flex: 0 0 100% !important; max-width: 100% !important; }
    
    /* 반응형 유틸리티 클래스 */
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-grid { display: grid !important; }
    .d-md-inline { display: inline !important; }
    .d-md-inline-block { display: inline-block !important; }
    .d-md-table { display: table !important; }
    .d-md-table-row { display: table-row !important; }
    .d-md-table-cell { display: table-cell !important; }
    
    .text-md-start { text-align: left !important; }
    .text-md-end { text-align: right !important; }
    .text-md-center { text-align: center !important; }
    
    .justify-content-md-start { justify-content: flex-start !important; }
    .justify-content-md-end { justify-content: flex-end !important; }
    .justify-content-md-center { justify-content: center !important; }
    .justify-content-md-between { justify-content: space-between !important; }
    
    .me-md-2 { margin-right: 0.5rem !important; }
    .mb-md-0 { margin-bottom: 0 !important; }
}

/* 대시보드 카드 레이아웃 강제 적용 */
.col-md-2-4 {
    flex: 0 0 calc(20% - 0.5rem) !important;
    max-width: calc(20% - 0.5rem) !important;
    margin-right: 0.5rem !important;
}

.col-md-2-4:last-child {
    margin-right: 0 !important;
}

.col-md-2-4-6 {
    flex: 0 0 calc(16.666% - 0.42rem) !important;
    max-width: calc(16.666% - 0.42rem) !important;
    margin-right: 0.42rem !important;
}

.col-md-2-4-6:last-child {
    margin-right: 0 !important;
}

/* 대시보드 카드 제목 텍스트 한 줄 표시 */
.stat-card .card-title,
.stat-card h6.card-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
}

