/* Service Rating Card Styles */

.service-rating-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.service-rating-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Logo Styling */
.service-rating-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.service-rating-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Content Area */
.service-rating-content {
    flex: 1;
}

/* Service Name */
.service-rating-name {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
}

/* Stars Container */
.service-rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
}

/* Individual Stars */
.star {
    font-size: 18px;
    line-height: 1;
}

.star-full {
    color: #F97316;
}

.star-half {
    color: #F97316;
    position: relative;
}

.star-empty {
    color: #cccccc;
}

/* Rating Count */
.service-rating-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
}

.rating-number {
    font-weight: 600;
    color: #333333;
    font-size: 16px;
}

.review-count {
    font-size: 13px;
    color: #999999;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-rating-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }

    .service-rating-logo {
        width: 70px;
        height: 70px;
    }

    .service-rating-name {
        font-size: 16px;
    }

    .service-rating-stars {
        justify-content: center;
    }

    .service-rating-count {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-rating-card {
        padding: 12px;
        gap: 12px;
    }

    .service-rating-logo {
        width: 60px;
        height: 60px;
    }

    .service-rating-name {
        font-size: 14px;
    }

    .star {
        font-size: 16px;
    }

    .rating-number {
        font-size: 14px;
    }

    .review-count {
        font-size: 12px;
    }
}
