/* Контейнер занимает 95% ширины экрана */
.fluid-container {
    width: 100%;
    margin: 2% auto;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.1);
    overflow: hidden;
}

td {
    word-break: break-all;
}
.percent-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 0.9rem; /* Размер шрифта от базового */
}

.percent-table thead {
    background-color: #34495e;
    color: #ffffff;
}

.percent-table th {
    padding: 1.2% 1%; /* Внутренние отступы в % */
    text-align: left;
    border-right: 0.1rem solid rgba(255,255,255,0.1);
}

.percent-table td {
    padding: 1% 1%;
    border-bottom: 0.05rem solid #eeeeee;
    border-right: 0.05rem solid #f5f5f5;
}

/* Разделение: каждая вторая строка подкрашена */
.percent-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Визуальное выделение строки при наведении */
.percent-table tbody tr:hover {
    background-color: #f0f7ff;
    transition: background 0.3s ease;
}

/* Ячейка с названием (выделение) */
.primary-cell {
    font-weight: bold;
    color: #2c3e50;
}

/* Последний столбец без правой границы */
.percent-table th:last-child,
.percent-table td:last-child {
    border-right: none;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5% 0;
    background: #ffffff;
    gap: 1%;
}

.nav-btn, .page-num {
    border: 0.1rem solid #34495e;
    background-color: transparent;
    color: #34495e;
    padding: 0.6% 1.5%;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.nav-btn:hover, .page-num:hover {
    background-color: #f0f4f8;
}

/* Стиль для активной страницы */
.page-num.active {
    background-color: #34495e;
    color: #ffffff;
}

/* Стили для заблокированных кнопок */
.nav-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}
#page-numbers {
    display: flex;
    gap: 30%;
}
/* Наведение курсора на ссылку*/
.clickable-row{
    cursor: pointer;
}