/* Google Reviews Slider Styles */

.google-reviews-slider-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Business Header */
.business-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.business-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.business-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #202124;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.business-rating .star {
    font-size: 24px;
    color: #fbbc04;
}

.business-rating .star.filled {
    color: #fbbc04;
}

.review-count {
    font-size: 16px;
    color: #5f6368;
}

.write-review-btn {
    padding: 10px 24px;
    background-color: #fff;
    color: #1a73e8;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 200px;
}

.write-review-btn:hover {
    background-color: #f8f9fa;
    border-color: #1a73e8;
}

/* Slider Container */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Review Cards */
.review-card {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 280px;
}

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

/* Review Header */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.author-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #202124;
}

.review-time {
    font-size: 13px;
    color: #5f6368;
}

.google-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.google-logo svg {
    width: 20px;
    height: 20px;
}

/* Review Rating */
.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating .star {
    font-size: 20px;
    color: #dadce0;
}

.review-rating .star.filled {
    color: #fbbc04;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #1a73e8;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-left: 4px;
}

/* Review Text */
.review-text {
    flex: 1;
}

.review-content {
    font-size: 14px;
    line-height: 1.6;
    color: #3c4043;
    margin: 0;
}

.review-content-full {
    font-size: 14px;
    line-height: 1.6;
    color: #3c4043;
    margin: 0;
}

.read-more-btn {
    background: none;
    border: none;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.read-more-btn:hover {
    color: #174ea6;
    text-decoration: underline;
}

/* Navigation Buttons */
.slider-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}

.slider-nav:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
    color: #5f6368;
}

.slider-nav:hover:not(.disabled) svg {
    color: #1a73e8;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #5f6368;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.google-reviews-error {
    padding: 20px;
    background: #fef7e0;
    border: 1px solid #f9ab00;
    border-radius: 8px;
    color: #5f6368;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .business-name {
        font-size: 20px;
    }
    
    .review-card {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .google-reviews-slider-wrapper {
        padding: 20px 10px;
    }
    
    .business-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .business-name {
        font-size: 18px;
    }
    
    .business-rating .star {
        font-size: 20px;
    }
    
    .slider-container {
        gap: 10px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .review-card {
        padding: 20px;
        min-height: 320px;
    }
    
    .slider-track {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .slider-nav.prev {
        position: absolute;
        left: -10px;
        z-index: 20;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .slider-nav.next {
        position: absolute;
        right: -10px;
        z-index: 20;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .slider-track-wrapper {
        padding: 0 10px;
    }
}

/* Print Styles */
@media print {
    .slider-nav,
    .write-review-btn,
    .loading-indicator {
        display: none;
    }
    
    .review-card {
        page-break-inside: avoid;
    }
}
