/* Comparison Table Styles */
/* We will append this to the main stylesheet or link it separately, but for now let's just create a new file and link it */
/* This file is dedicated to adhesion page specific styles */

.comparison-container {
    margin-bottom: 60px;
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: white;
    /* Container looks like a card */
    padding: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
    /* Ensure scroll on mobile */
}

/* Header Cells styling to look like cards */
.comparison-table th {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid var(--primary-color);
    background-color: #fff;
    position: relative;
    /* Sticky header? */
}

.table-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(223, 133, 49, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
}

.comparison-table th h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.comparison-table th p {
    font-size: 0.9rem;
    font-weight: 400;
    color: #777;
    margin: 0;
}

/* Zebra Striping */
.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.comparison-table tr:hover {
    background-color: #f0f4f8;
    /* Slight hover effect */
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #555;
    text-align: center;
    /* Center checkmarks */
    font-size: 1rem;
}

/* First Column Alignment */
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

.comparison-table th:first-child {
    border-right: 1px solid #eee;
}

.comparison-table td i.fa-check {
    color: #27ae60;
    font-size: 1.2rem;
}

.comparison-table td i.fa-times {
    color: #bdc3c7;
    font-size: 1rem;
    opacity: 0.5;
}

/* Highlight Column for Entreprise? Or just subtle difference */
.col-entreprise {
    background-color: rgba(223, 133, 49, 0.02);
}

/* Responsive Table handling */
@media (max-width: 768px) {
    .comparison-container {
        padding: 15px;
    }

    .comparison-table th {
        padding: 15px 10px;
    }

    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    .comparison-container {
        background: var(--bg-white);
    }

    .comparison-table th {
        background-color: var(--bg-white);
    }

    .comparison-table tr:nth-child(even) {
        background-color: rgba(255, 255, 255, 0.03);
    }

    .comparison-table tr:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .comparison-table td {
        color: var(--text-light);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .comparison-table th:first-child {
        border-right-color: rgba(255, 255, 255, 0.1);
    }

    .comparison-table th p {
        color: var(--text-light);
    }

    .col-entreprise {
        background-color: rgba(223, 133, 49, 0.05);
    }
}