.comparison-center {
  margin-left: auto;
  margin-right: auto;
}

/* Container */
.comparison-container {
    width: 100%;
    max-width: 80rem;
}

/* Table wrapper for horizontal scroll on very small screens */
.comparison-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

/* Table structure */
.comparison-table {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: fit-content;
    width: 100%;
}

/* Table rows */
.comparison-table-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: 320px;
}

/* Base table cell styles */
.comparison-table-cell {
    position: relative;
    border: 1px solid #000000;
    margin: -0.5px;
}

/* Header cell - empty first column */
.comparison-header-cell-empty {
    height: 48px;
    opacity: 0;
    width: 100%;
    min-width: 200px;
    flex-shrink: 0;
}

/* Header cells */
.comparison-header-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 10px;
    width: 100%;
    min-width: 100px;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 24px;
    color: #2f3242;
    white-space: pre;
}

/* Feature cells (left column) */
.comparison-feature-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 48px;
    padding: 10px;
    padding-left: 16px;
    width: 100%;
    min-width: 200px;
    flex-shrink: 0;
    gap: 8px;
}

.comparison-feature-cell > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-shrink: 0;
}

.comparison-feature-text {
    font-size: 16px;
    line-height: 24px;
    color: #2f3242;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

/* Data cells (LTK and Other Platforms columns) */
.comparison-data-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 10px;
    width: 100%;
    min-width: 100px;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 26px;
    color: #2f3242;
    white-space: pre;
}

/* FREE badge */
.comparison-free-badge {
    background-color: #deefe8;
    border: 1px solid #c7e4d9;
    border-radius: 2px;
    padding: 2px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comparison-free-badge::before {
    content: 'FREE';
    font-size: 16px;
    line-height: 24px;
    color: #3b735f;
}

/* Question icon */
.comparison-question-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.comparison-icon-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Tooltip styles */
.comparison-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.comparison-tooltip-content {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #030213;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 6px;
    max-width: 300px;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Tooltip arrow */
.comparison-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #030213;
}

/* Show tooltip on hover */
.comparison-tooltip-wrapper:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

<!--/*/* Responsive styles for tablet and desktop */
@media (min-width: 768px) { #comparison-table
    body {
        padding: 2rem;
    }

    .comparison-header-cell-empty { 
        min-width: 320px;
    }

    .comparison-feature-cell {
        min-width: 320px;
    }

    .comparison-header-cell {
        min-width: 200px;
    }

    .comparison-data-cell {
        min-width: 200px;
    }
}

/* Ensure tooltips don't overflow on very small screens */
@media (max-width: 480px) { #comparison-table
    .comparison-tooltip-content {
        left: auto;
        right: 0;
        transform: none;
        max-width: 250px;
    }*/-->

    .tooltip-content::after {
        left: auto;
        right: 20px;
        transform: none;
    }
}