/* Google Reviews Widget Styling */
.google-reviews-container {
    font-family: 'Arial', sans-serif;
    max-width: 100%;
    margin: 20px auto;
}

.business-info {
    text-align: center;
    margin-bottom: 25px;
}

.overall-rating {
    margin: 15px 0;
}

.rating-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.stars {
    color: #FFC107;
    font-size: 24px;
    letter-spacing: 3px;
    margin: 0;
}

.rating-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.total-reviews {
    color: #666;
    font-size: 14px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.review-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.review-date {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.review-rating .stars {
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0;
}

.review-text {
    line-height: 1.6;
    color: #444;
}

.review-text p {
    margin: 0;
}

.write-review-section {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.write-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.write-review-btn:hover {
    background: #3367d6;
    color: white;
    text-decoration: none;
}

.reviews-error {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.error-content i {
    font-size: 48px;
    color: #ffc107;
    margin-bottom: 20px;
}

.error-content h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.error-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-fallback {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color, #e63946);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.error-cta-button:hover {
    background: #d32f2f;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .reviewer-info {
        width: 100%;
    }
    
    .review-rating {
        align-self: flex-start;
    }
    
    .stars {
        font-size: 20px;
    }
    
    .review-rating .stars {
        font-size: 14px;
    }
}
