
/* Service provider pricing table styles */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.pricing-table {
    width: 100%;
    min-width: 700px;
    table-layout: fixed;
    border-collapse: collapse;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pricing-table th,
.pricing-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 0.9rem;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95rem;
}

.pricing-table th:nth-child(1),
.pricing-table td:nth-child(1) {
    width: 40%;
}

.pricing-table th:nth-child(n+2),
.pricing-table td:nth-child(n+2) {
    width: 20%;
    white-space: nowrap;
}

.pricing-table th {
    background: linear-gradient(180deg, rgba(66,101,163,0.1), rgba(134,161,201,0.05));
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-table th:nth-child(n+2) {
    font-size: 1.2rem;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-table th:nth-child(2) { color: #4265A3; }
.pricing-table th:nth-child(3) { color: #86A1C9; }
.pricing-table th:nth-child(4) { color: rgb(222, 174, 0); }

.pricing-table tbody tr:nth-child(odd) {
    background: #fbfdff;
}

.pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
}

.pricing-table-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pricing-table-toggle .toggle-icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s ease;
    background: rgba(0, 0, 0, 0.06);
}

.pricing-table-toggle .toggle-icon::before {
    content: "\25BC";
    font-size: 0.7rem;
    line-height: 1;
}

.pricing-table-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.feature-description {
    display: none;
    margin-top: 0.7rem;
    padding: 0 0.15rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.feature-description.open {
    display: block;
}

@media (max-width: 768px) {
    .pricing-table {
        table-layout: auto;
        min-width: 100%;
        font-size: 0.88rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.6rem 0.7rem;
    }

    .pricing-table th:nth-child(1),
    .pricing-table td:nth-child(1) {
        min-width: 180px;
        word-break: break-word;
    }

    .pricing-table th:nth-child(n+2),
    .pricing-table td:nth-child(n+2) {
        width: auto;
    }
}
