.compound-compare-wrapper {
    overflow-x: auto;
    width: 100%;
}

.compound-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compound-comparison-table th,
.compound-comparison-table td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.compound-comparison-table th.sticky-col {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #f8f9fa;
}

.compound-comparison-table thead th.sticky-col {
    z-index: 3;
}

.compound-comparison-table .highlight-diff {
    background-color: #fff3cd; /* light yellow */
}

@media (max-width: 768px) {
    .compound-comparison-table th,
    .compound-comparison-table td {
        font-size: 14px;
        padding: 8px;
    }
}
