/**
 * Google Reviews Badge Styles
 * Version: 1.0.0
 */

.grb-container {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    gap: 12px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    vertical-align: middle;
}

.grb-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    text-decoration: none;
}

.grb-container:active {
    transform: translateY(0);
}

.grb-google-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.grb-stars-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.grb-star {
    color: #fbbc04;
    font-size: 19px;
    line-height: 1;
}

.grb-star-full {
    color: #fbbc04;
}

.grb-star-half {
    color: #fbbc04;
    opacity: 0.5;
}

.grb-star-empty {
    color: #e0e0e0;
}

.grb-review-text {
    color: #202124;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.grb-review-count {
    font-weight: 700;
    color: #202124;
}

.grb-rating-label {
    /* Styles controlled via plugin settings */
    font-size: 12px;
    font-weight: 400;
    color: #5f6368;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .grb-container {
        padding: 6px 12px;
        gap: 6px;
    }
    
    .grb-google-icon {
        width: 20px;
        height: 20px;
    }
    
    .grb-star {
        font-size: 16px;
    }
    
    .grb-review-text {
        font-size: 13px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .grb-container {
        background: #ffffff;
        /* Keep background white even in dark mode for brand consistency */
    }
}
