/* Features Table Styles */

.features-table-section {
    background-color: var(--bg-white);
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.features-table thead {
    background-color: var(--primary-color);
    color: white;
}

.features-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.features-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.features-table tbody tr:hover {
    background-color: var(--bg-light);
}

.features-table td {
    padding: 14px 16px;
    font-size: 0.95rem;
}

.features-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.features-table td:nth-child(2) {
    color: var(--text-medium);
}

.features-table td:last-child {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

/* Icon in table */
.feature-icon-cell {
    width: 40px;
    text-align: center;
}

.feature-icon-cell svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

/* Responsive Table */

@media (max-width: 768px) {
    .features-table {
        font-size: 0.9rem;
    }

    .features-table th,
    .features-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .features-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .features-table thead {
        display: none;
    }

    .features-table tbody {
        display: block;
    }

    .features-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        background-color: var(--bg-white);
    }

    .features-table td {
        display: block;
        text-align: left !important;
        padding: 10px 12px;
        border-bottom: 1px solid var(--bg-light);
    }

    .features-table td:last-child {
        border-bottom: none;
    }

    .features-table td::before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        margin-right: 0.5rem;
        color: var(--text-dark);
    }
}
