/* Ratings Table - Modern Dark Design */
.ratings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.ratings-table thead th {
    background: #1a1a1e;
    color: #8a8a8e;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #2c2c2e;
}

.ratings-table thead th:first-child {
    border-radius: 8px 0 0 8px;
    text-align: center;
    width: 60px;
}

.ratings-table thead th:last-child {
    border-radius: 0 8px 8px 0;
}

.ratings-table tbody tr {
    transition: background-color 0.2s;
}

.ratings-table tbody tr:hover td {
    background-color: #1c1c1e;
}

.ratings-table td {
    padding: 20px;
    border-bottom: 1px solid #2c2c2e;
    vertical-align: middle;
    color: #fff;
    font-size: 14px;
}

/* Rank Badge */
.rank-badge {
    width: 32px;
    height: 32px;
    background: #2c2c2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    margin: 0 auto;
    font-size: 12px;
}

/* Provider Info */
.provider-info-cell h3 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.provider-meta {
    font-size: 11px;
    color: #3b82f6; /* Blue accent */
    display: flex;
    gap: 10px;
}

.provider-meta span {
    display: inline-flex;
    align-items: center;
}

/* Metrics */
.metric-value {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.metric-unit {
    font-size: 11px;
    color: #8a8a8e;
    font-weight: 400;
    margin-left: 2px;
}

/* Rating Badge */
.rating-badge {
    background: #252540; /* Dark blue/purple bg */
    color: #60a5fa; /* Blue text */
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    min-width: 40px;
}

/* Reliability Badge (Green %) */
.reliability-badge {
    color: #4ade80; /* Green */
    font-weight: 700;
    font-size: 14px;
}

/* Activity Badge */
.activity-badge {
    background: #2c2c2e;
    color: #9ca3af;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Comments count */
.comments-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #2c2c2e;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #fbbf24; /* Amber */
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .ratings-table thead {
        display: none;
    }
    .ratings-table td {
        display: block;
        text-align: right;
        padding: 10px 20px;
        border: none;
    }
    .ratings-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #8a8a8e;
        text-transform: uppercase;
        font-size: 11px;
    }
    .ratings-table td:first-child {
        text-align: left;
        padding-top: 20px;
    }
    .provider-info-cell {
        text-align: left;
    }
    .ratings-table tbody tr {
        border-bottom: 1px solid #2c2c2e;
        display: block;
        margin-bottom: 20px;
    }
}
