/* Mycarehub Comparison Table Styles */

:root {
	--itg-font-family: 'Outfit', sans-serif;
	--itg-primary: #143A4D;
	--itg-accent: #98D7DC;
	--itg-success: #27ae60;
	--itg-light-bg: #f6fafd;
	--itg-border: #e1f5fe;
	--itg-text-muted: #B0B0B0;
}

.mycarehub-comparison-wrapper {
    max-width: 1600px;
    margin: 0px auto;
    font-family: var(--itg-font-family);
}

/* Table Styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    border: 1px solid #e8e8e8;
}

.comparison-table thead {
    background: #f6fafd;
    border-bottom: 2px solid var(--itg-border);
}

.comparison-table th {
    padding: 18px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--itg-primary);
    font-family: var(--itg-font-family);
}

.category-column {
    width: 35%;
}

.mycarehub-column,
.competitor-column {
    width: 32.5%;
    text-align: center;
}

/* Provider Badge */
.provider-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    font-family: var(--itg-font-family);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-badge.mycarehub {
    background-color: var(--itg-primary);
    border: 1px solid var(--itg-accent);
    color: #FFF;
}

.provider-badge.competitor {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #666;
}

/* Table Body Rows */
.comparison-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #fafbfc;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr.strong-advantage {
	background-color: #f6fafd;
}

.comparison-table tbody tr.strong-advantage:hover {
	background-color: #eef7f9;
}

.comparison-table td {
    padding: 18px 20px;
    font-size: 14px;
    font-family: var(--itg-font-family);
}

/* Category Column */
.category-name {
    font-weight: 600;
    color: var(--itg-primary);
}

.category-name strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-family: var(--itg-font-family);
}

.category-desc {
    display: block;
    font-size: 12px;
    color: var(--itg-text-muted);
    margin-top: 4px;
    font-weight: 400;
    font-style: italic;
    font-family: var(--itg-font-family);
}

/* Mycarehub Column */
.mycarehub-cell {
    color: #2c5f2d;
    font-weight: 500;
    font-family: var(--itg-font-family);
    gap: 10px;
}

.mycarehub-cell .checkmark {
    display: inline-block;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--itg-success);
    font-weight: bold;
    margin-top: 2px;
    margin-right: 4px;
}

.advantage-text {
    font-size: 13px;
    line-height: 1.5;
    font-family: var(--itg-font-family);
    flex: 1;
}

/* Competitor Column */
.competitor-cell {
    color: #888;
    font-family: var(--itg-font-family);
    gap: 10px;
}

.competitor-cell .cross {
    display: inline-block;
    font-size: 18px;
    flex-shrink: 0;
    color: #ddd;
    font-weight: bold;
    margin-top: 2px;
}

.competitor-cell .bullet {
    display: inline-block;
    font-size: 16px;
    flex-shrink: 0;
    color: #d4a574;
    margin-top: 2px;
}

.limitation-text,
.neutral-text {
    font-size: 13px;
    line-height: 1.5;
    font-family: var(--itg-font-family);
    flex: 1;
}

.limitation-text {
    color: #888;
}

.neutral-text {
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px 12px;
    }
    
    .category-column {
        width: 40%;
    }
    
    .mycarehub-column,
    .competitor-column {
        width: 30%;
    }
    
    .category-desc {
        display: none;
    }
    
    .provider-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .mycarehub-cell .checkmark {
        font-size: 16px;
    }
    
    .competitor-cell .cross {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .mycarehub-comparison-wrapper {
        margin: 20px auto;
    }
    
    .comparison-table {
        display: block;
        border-radius: 8px;
    }
    
    .comparison-table thead {
        display: none;
    }
    
    .comparison-table tbody,
    .comparison-table tr {
        display: block;
        width: 100%;
    }
    
    .comparison-table tr {
        margin-bottom: 20px;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .comparison-table tr.strong-advantage {
        background-color: #e8f5f7;
        border-color: var(--itg-border);
    }
    
    .comparison-table td {
        display: block;
        padding: 12px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .comparison-table td:last-child {
        border-bottom: none;
    }
    
    .category-name {
        font-weight: 700;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 2px solid #e8e8e8;
        color: var(--itg-primary);
    }
    
    .category-name strong {
        font-size: 14px;
    }
    
    .category-desc {
        display: block;
    }
    
    .comparison-header h2 {
        font-size: 20px;
    }
    
    .comparison-footer {
        padding: 20px;
    }
    
    .comparison-footer p {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 10px 24px;
        font-size: 13px;
    }
}
