/**
 * Google Customer Reviews - Inline Rating Badge
 *
 * Compact rating display for the header top bar.
 * Shows: [G logo] [★★★★☆] [4.2/5.0] [(42)]
 */

/* Wrapper: right-aligned in header panel */
.gcr-badge-wrapper {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    float: right;
    line-height: 1;
    padding: 2px 0;
}

/* Link styling */
.gcr-badge-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    color: inherit !important;
    transition: opacity 0.2s ease;
}

.gcr-badge-link:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

/* Inner container */
.gcr-badge-inner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

/* Google G icon */
.gcr-google-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Star rating */
.gcr-stars {
    display: inline-block;
    position: relative;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.gcr-stars-empty {
    color: #ddd;
    letter-spacing: 1px;
}

.gcr-stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #fbbc05;
    letter-spacing: 1px;
}

/* Rating text */
.gcr-rating-text {
    color: inherit;
    font-size: 12px;
}

.gcr-rating-text strong {
    font-weight: 700;
}

/* Review count */
.gcr-review-count {
    color: inherit;
    opacity: 0.7;
    font-size: 11px;
}

/* Mobile: keep compact, center */
@media (max-width: 767px) {
    .gcr-badge-wrapper {
        float: none;
        display: flex;
        justify-content: center;
        margin: 4px 0;
    }
}
