/* Basic styling for comparison table */
.fitclass-compare-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.fitclass-compare-table {
    width: 100%;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.fitclass-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures columns are fixed and wrap content */
}

thead th {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    white-space: pre-wrap; /* Allows the text to wrap to multiple lines */
}

tbody td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

tbody td.fitclass-tick {
    color: #28a745;
    font-size: 1.5rem;
}

tbody td.fitclass-cross {
    color: #dc3545;
    font-size: 1.5rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .fitclass-table thead th, .fitclass-table tbody td {
        font-size: 0.9rem;
        padding: 10px;
    }

    .fitclass-table tbody td.fitclass-tick, 
    .fitclass-table tbody td.fitclass-cross {
        font-size: 1.2rem;
    }

    thead th {
        white-space: normal; /* Forces wrapping for smaller screens */
    }
}
