/* Comparison Tool Page Styles */

.compare-hero {
    background: var(--medical-blue-dark);
    padding: 64px 0 56px;
    text-align: center;
}

.compare-hero h1 {
    color: white;
    margin-bottom: 12px;
}

.compare-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.selector-panel {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.selector-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
    color: var(--medical-blue);
}

.compare-selector {
    height: 52px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.compare-selector:focus {
    border-color: var(--medical-blue);
    box-shadow: 0 0 0 3px var(--sky-blue);
}

.selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .selector-grid {
        grid-template-columns: 1fr;
    }
}

.selector-btns {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* .comparison-table / .comparison-wrapper / .fee-cell / .merit-cell are
   already fully defined once in components/data-tables.css. This file
   used to re-declare the whole table with drifted font-weights (700
   here vs 600 there) at higher selector specificity, so it silently
   always won on this page — the same "fee" or "merit" figure would be
   bold here but not wherever else data-tables.css's version applied.
   margin-top is the one genuinely page-specific addition. */
.comparison-wrapper {
    margin-top: 40px;
}

.comparison-info-box {
    margin-top: 32px;
    padding: 20px;
    background: var(--sky-blue);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.comparison-info-box a {
    margin-left: 12px;
    color: var(--medical-blue);
    text-decoration: none;
    font-weight: 600;
}

.compare-empty-state {
    text-align: center;
    padding: 64px;
    color: var(--text-muted);
}

.compare-empty-state .icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.compare-empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Fix for sector badge in table */
.comparison-table .uni-sector-badge {
    position: static;
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
}