/* Ratings & Provider Pages Styles (Dark Theme Compatible) */
:root {
    --primary-color: #667eea;
    --secondary-color: #a0a0a0;
    --background-color: #0f0f1e;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #e0e0e0;
    --border-color: rgba(255, 255, 255, 0.1);
}

body.ratings-page {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ratings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ratings-header {
    text-align: center;
    margin-bottom: 40px;
}

.ratings-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-filter {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover, .btn-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.ratings-table {
    width: 100%;
    background: var(--card-bg);
    border-radius: 16px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ratings-table th, .ratings-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.ratings-table th {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

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

.provider-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    vertical-align: middle;
    background: #fff;
    border-radius: 8px;
    padding: 2px;
}

.rating-stars {
    color: #ffd700;
    letter-spacing: 2px;
}

/* Provider Page */
.provider-header {
    background: var(--card-bg);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.provider-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reviews-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-date {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.review-text {
    line-height: 1.6;
    color: #ddd;
}
