/* Google Reviews Styling */
.google-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    color: #4285F4;
    border: 1px solid #e8eaed;
    font-weight: 500;
}

.google-review-badge svg {
    flex-shrink: 0;
}

.reviews-slider__item-review-props {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews-slider__item-review-props-item {
    font-size: 12px;
    color: #666;
}

/* Default avatar styling */
.reviews-slider__item-author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
}

/* Review text container with fixed height and scroll */
.reviews-slider__item-text {
    height: 120px; /* Fixed height for consistency */
    overflow-y: auto; /* Enable vertical scrolling */
    padding-right: 8px; /* Space for scrollbar */
    margin-bottom: 16px;
}

.reviews-slider__item-text p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    color: #333;
}

/* Custom scrollbar styling */
.reviews-slider__item-text::-webkit-scrollbar {
    width: 4px;
}

.reviews-slider__item-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.reviews-slider__item-text::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.reviews-slider__item-text::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* For Firefox */
.reviews-slider__item-text {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Review slider item consistent height */
.reviews-slider__item-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px; /* Consistent card height */
}

.reviews-slider__item-info {
    margin-top: auto; /* Push info to bottom */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .google-review-badge {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .google-review-badge svg {
        width: 12px;
        height: 12px;
    }
    
    .reviews-slider__item-text {
        height: 100px; /* Smaller height on mobile */
    }
    
    .reviews-slider__item-content {
        min-height: 240px; /* Smaller card height on mobile */
    }
    
    .reviews-slider__item-text p {
        font-size: 13px; /* Smaller text on mobile */
    }
}
