/* Ép layout desktop */
body, #container {
    min-width: 1024px;
}

/* Cho phép cuộn ngang nếu nội dung rộng hơn */
html, body {
    overflow-x: auto;
}

/* Ngăn responsive tự ẩn sidebar khi màn hình hẹp */
@media (max-width: 1024px) {
    #nav-sidebar {
        transform: none !important;
    }
}

/* Màu nền cho từng trạng thái */
tr.row-success {
    background-color: #d4edda !important; /* xanh nhạt */
}
tr.row-danger {
    background-color: #f8d7da !important; /* đỏ nhạt */
}
tr.row-warning {
    background-color: #fff3cd !important; /* vàng nhạt */
}

/* Làm mờ và disable input trong list view khi is_found = False */
tr.not-found td.field-condition_actual input,
tr.not-found td.field-status_actual input,
tr.not-found td.field-condition_actual select,
tr.not-found td.field-status_actual select {
    color: #999;
    background-color: #f5f5f5;
    pointer-events: none; /* không cho click/chỉnh sửa */
}


