.comparison-table-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}

.comparison-table-section table thead {
    /* Sticky header for the table */
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Эффект выделения строки при наведении */
.comparison-table-section table tbody tr {
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.comparison-table-section table tbody tr:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.01);
    box-shadow: none; /* Убираем тень */
}

.comparison-table-section table tbody tr:hover td {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Темная тема */
[data-theme='dark'] .comparison-table-section,
[data-theme='dark'] .comparison-table-block-section {
    background-color: #23272f !important;
    color: #fff !important;
}

[data-theme='dark'] .comparison-table-section table,
[data-theme='dark'] .comparison-table-section table thead,
[data-theme='dark'] .comparison-table-section table tbody,
[data-theme='dark'] .comparison-table-section table tr,
[data-theme='dark'] .comparison-table-section table th,
[data-theme='dark'] .comparison-table-section table td {
    background-color: #23272f !important;
    color: #fff !important;
    border-color: #444 !important;
}

[data-theme='dark'] .comparison-table-section table thead {
    background-color: #23272f !important;
}

[data-theme='dark'] .comparison-table-section table th {
    color: #bfc7d5 !important;
}

[data-theme='dark'] .comparison-table-section table tr {
    border-bottom: 1px solid #444 !important;
}

/* Эффект выделения для темной темы */
[data-theme='dark'] .comparison-table-section table tbody tr:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.01);
    box-shadow: none; /* Убираем тень */
}

[data-theme='dark'] .comparison-table-section table tbody tr:hover td {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
