.ib-google-reviews-widget {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Header Section with Business Info */
.ib-google-reviews-header {
    padding: 24px 28px;
    text-align: center;
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 250px;
}

.ib-reviews-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.ib-review-link {
    font-weight: 600;
}

.ib-rating-large {
    font-size: 20px;
    font-weight: 700;
    color: #202124;
    letter-spacing: 0.5px;
}

.ib-stars-large {
    font-size: 22px;
    color: #fbbc04;
    line-height: 1;
}

.ib-google-logo {
    margin: 8px 0 0;
}

.ib-google-logo svg {
    max-width: 100px;
    height: auto;
}

/* Review Card Styling */
.ib-google-reviews-slider .ib-review-item {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    flex-direction: column;
}

.ib-google-reviews-slider .ib-review-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border-color: #dadce0;
}

.ib-review-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 20px;
}

/* Review Header with Author Info */
.ib-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.ib-google-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
}

.ib-google-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ib-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f3f4;
}

.ib-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ib-profile-details {
    flex: 1;
    min-width: 0;
    padding-right: 28px;
}

.ib-reviewer-name {
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

.ib-review-date {
    font-size: 12px;
    color: #5f6368;
    line-height: 1.3;
    font-weight: 400;
}

/* Star Ratings */
.ib-review-stars,
.ib-stars-large {
    display: flex;
    gap: 0;
    margin: 2px 0;
}

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

.ib-stars-large .ib-star {
    font-size: 32px;
}

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

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

.ib-star-empty {
    color: #e8eaed;
}

/* Review Text Content */
.ib-review-text {
    max-height: 90px;
    height: 90px;
    flex: 1;
    margin-top: 4px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 5px;
    box-sizing: border-box;
    line-height: 1.2;
}

.ib-review-text::-webkit-scrollbar {
    width: 4px;
}

.ib-review-text::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 4px;
}

.ib-review-text::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 4px;
}

.ib-review-text::-webkit-scrollbar-thumb:hover {
    background: #bdc1c6;
}

/* Empty State */
.ib-google-reviews-empty {
    padding: 40px 30px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8eaed;
}

.ib-google-reviews-empty p {
    margin: 0;
    color: #5f6368;
    font-size: 14px;
    font-weight: 400;
}

/* Add padding to prevent navigation arrows from overlapping content */
.ib-google-reviews-slider {
    padding: 0 50px;
    flex: 1;
}

@media (max-width: 768px) {
    .ib-google-reviews-widget {
        flex-direction: column;
    }
    
    .ib-google-reviews-header {
        margin-bottom: 0;
        width: 100%;
    }
    
    .ib-google-reviews-slider {
        padding: 0 40px;
        width: 100%;
    }
}