/* Обертка для таблицы */
.table-container {
    position: relative;
    max-height: 600px;
}

.table-responsive {
    height: 100%;
    max-height: 600px;
    overflow: scroll; /* Принудительно показываем оба скролла */
    position: relative;
}

/* Фиксированная шапка */
.table-responsive table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-responsive table thead th {
    background-color: #f8f9fa;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

/* Принудительно показываем горизонтальный скролл */
.table-responsive table {
    width: max-content;
    min-width: 100%;
}
