/* Ratings Widget - Modern 2025 Style */
.rating-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 350px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.rating-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.rating-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stars-container {
    display: flex;
    gap: 0.25rem;
    font-size: 1.75rem;
    color: #e2e8f0; /* neutral stars color */
    cursor: pointer;
    transition: color 0.2s;
}

.stars-container .star-active {
    color: var(--secondary); /* active star color */
    transition: color 0.2s;
}

.stars-container .star-hover {
    color: var(--primary-hover); /* hover effect color */
}

.avg-display {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.ratings-count {
    font-size: 0.875rem;
    color: var(--muted);
}

.submit-rating {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    background-color: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.submit-rating:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 480px) {
    .rating-card {
        max-width: 100%;
        padding: 1rem;
    }
    .stars-container {
        font-size: 1.5rem;
    }
    .avg-display {
        font-size: 1.1rem;
    }
}


.divider {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 4px 0;
}