/* Star Reviews Page Styles - Extracted from templates/pages/star_reviews.html */

    .ldr-star-reviews-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .ldr-metrics-header {
        background: var(--gradient-bg);
        color: var(--text-primary);
        padding: 2rem;
        border-radius: 0.75rem;
        margin-bottom: 2rem;
        text-align: center;
        border: 1px solid var(--border-color);
        box-shadow: var(--card-shadow);
    }

    .ldr-metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .ldr-metric-card {
        background: var(--bg-secondary);
        border-radius: 0.75rem;
        padding: 1.5rem;
        box-shadow: var(--card-shadow);
        border: 1px solid var(--border-color);
        transition: transform 0.2s ease;
    }

    .ldr-metric-card:hover {
        transform: translateY(-2px);
    }

    .ldr-metric-card h3 {
        margin-top: 0;
        color: var(--text-primary);
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
        font-size: 1.125rem;
    }

    .ldr-chart-container {
        position: relative;
        height: 400px;
        margin-bottom: 1rem;
    }

    .ldr-overall-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .ldr-stat-item {
        text-align: center;
        padding: 1rem;
        background: var(--bg-tertiary);
        border-radius: 0.5rem;
        border: 1px solid var(--border-color);
    }

    .ldr-stat-value {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--accent-primary);
        display: block;
    }

    .ldr-stat-label {
        font-size: 0.75rem;
        color: var(--text-secondary);
        margin-top: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .ldr-star-rating {
        color: var(--warning-color);
        font-size: 1.2em;
    }

    .ldr-rating-distribution {
        margin: 1rem 0;
    }

    .ldr-rating-distribution h4 {
        color: var(--text-primary);
        margin-bottom: 1rem;
        text-align: center;
    }

    .ldr-rating-bar {
        display: flex;
        align-items: center;
        margin: 0.5rem 0;
        gap: 0.75rem;
    }

    .ldr-rating-label {
        min-width: 60px;
        font-weight: 500;
        color: var(--text-secondary);
        font-size: 0.875rem;
    }

    .ldr-rating-progress {
        flex: 1;
        height: 16px;
        background: var(--bg-tertiary);
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .ldr-rating-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
        transition: width 0.3s ease;
        border-radius: 0.5rem;
    }

    .ldr-rating-count {
        font-weight: 500;
        min-width: 30px;
        text-align: right;
        color: var(--text-secondary);
        font-size: 0.875rem;
    }

    .ldr-period-selector {
        margin-bottom: 1.5rem;
    }

    .ldr-period-selector label {
        color: var(--text-secondary);
        margin-right: 0.5rem;
        font-weight: 500;
    }

    .ldr-period-selector select {
        padding: 0.5rem 1rem;
        border: 1px solid var(--border-color);
        border-radius: 0.375rem;
        background: var(--bg-secondary);
        color: var(--text-primary);
        cursor: pointer;
        transition: border-color 0.2s ease;
    }

    .ldr-period-selector select:focus {
        outline: none;
        border-color: var(--accent-primary);
        box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.1);
    }

    .ldr-recent-ratings {
        max-height: 500px;
        overflow-y: auto;
    }

    .ldr-rating-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
        border-bottom: 1px solid var(--border-color);
        transition: background-color 0.2s ease;
    }

    .ldr-rating-item:hover {
        background-color: var(--bg-tertiary);
    }

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

    .ldr-rating-details {
        flex: 1;
    }

    .ldr-rating-query {
        font-weight: 500;
        color: var(--text-primary);
        margin-bottom: 0.25rem;
    }

    .ldr-rating-meta {
        font-size: 0.8125rem;
        color: var(--text-muted);
    }

    .ldr-rating-score {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        color: var(--text-primary);
    }

    .ldr-rating-link {
        color: var(--accent-tertiary);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .ldr-rating-link:hover {
        color: var(--accent-secondary);
        text-decoration: underline;
    }

    .ldr-info-section {
        margin-bottom: 2rem;
    }

    .ldr-info-card {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 0.75rem;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        box-shadow: var(--card-shadow);
    }

    .ldr-info-icon {
        font-size: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background: var(--bg-tertiary);
        border-radius: 50%;
        flex-shrink: 0;
    }

    .ldr-info-content h3 {
        margin: 0 0 0.75rem 0;
        color: var(--accent-primary);
        font-size: 1.25rem;
    }

    .ldr-info-content p {
        margin: 0;
        color: var(--text-secondary);
        line-height: 1.6;
    }

    .ldr-info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
    }

    .ldr-info-item {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 0.5rem;
        padding: 1.25rem;
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .ldr-info-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--card-shadow);
    }

    .ldr-info-item-icon {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .ldr-info-item h4 {
        margin: 0 0 0.5rem 0;
        color: var(--text-primary);
        font-size: 1rem;
    }

    .ldr-info-item p {
        margin: 0;
        color: var(--text-secondary);
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .ldr-loading {
        text-align: center;
        padding: 2.5rem;
        color: var(--text-secondary);
        background: var(--bg-secondary);
        border-radius: 0.5rem;
        border: 1px solid var(--border-color);
    }

    .ldr-error {
        background: rgba(var(--error-color-rgb), 0.1);
        color: var(--error-color);
        padding: 1rem;
        border-radius: 0.5rem;
        margin: 1.25rem 0;
        border: 1px solid rgba(var(--error-color-rgb), 0.2);
    }

    @media (max-width: 768px) {
        .ldr-metrics-grid {
            grid-template-columns: 1fr;
        }

        .ldr-overall-stats {
            grid-template-columns: repeat(2, 1fr);
        }

        .ldr-info-card {
            flex-direction: column;
            text-align: center;
        }

        .ldr-info-grid {
            grid-template-columns: 1fr;
        }

        .ldr-star-reviews-container {
            padding: 1rem;
        }
    }
