/* Hayahay Google Reviews Styles */

.hgr-reviews-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Section */
.hgr-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.hgr-business-name {
    font-family: 'Playfair Display', serif;
    color: var(--hayahay-primary, #01B6C1);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hgr-overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.hgr-rating-number {
    font-weight: bold;
    font-size: 2rem;
    color: var(--hayahay-primary, #01B6C1);
}

.hgr-stars {
    color: #ffc107;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.hgr-total {
    color: #666;
    font-size: 1rem;
}

/* Reviews List */
.hgr-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hgr-review {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hgr-review:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--hayahay-primary, #01B6C1);
}

.hgr-review-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.hgr-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hgr-avatar-placeholder {
    background: var(--hayahay-secondary, #BFF2EE);
    color: var(--hayahay-primary, #01B6C1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.hgr-review-meta {
    flex: 1;
    min-width: 0;
}

.hgr-author {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hayahay-dark, #16171D);
}

.hgr-review-rating {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.9rem;
}

.hgr-review-rating .hgr-stars {
    font-size: 1rem;
    letter-spacing: 1px;
}

.hgr-date {
    color: #666;
    font-size: 0.875rem;
}

.hgr-review-text {
    margin: 0;
    line-height: 1.7;
    color: #333;
    font-size: 1rem;
}

/* Footer */
.hgr-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.hgr-powered {
    color: #999;
    font-size: 0.875rem;
    margin: 0;
}

/* Refresh Notice */
.hgr-refresh-notice {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--hayahay-accent, #FFF9F0);
    border-radius: 8px;
    border: 1px solid var(--hayahay-secondary, #BFF2EE);
}

.hgr-refresh-notice p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.hgr-refresh-notice a {
    color: var(--hayahay-primary, #01B6C1);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--hayahay-primary, #01B6C1);
}

.hgr-refresh-notice a:hover {
    color: var(--hayahay-dark, #16171D);
    border-bottom-color: var(--hayahay-dark, #16171D);
}

/* Load More */
.hgr-load-more-wrapper {
    text-align: center;
    margin: 2rem 0;
}

.hgr-load-more-btn {
    background: var(--hayahay-primary, #01B6C1);
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.hgr-load-more-btn:hover:not(:disabled) {
    background: var(--hayahay-dark, #16171D);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hgr-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hgr-loading {
    color: var(--hayahay-primary, #01B6C1);
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
}

.hgr-loading:after {
    content: '...';
    animation: hgr-dots 1.5s steps(4, end) infinite;
}

@keyframes hgr-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Error and No Reviews */
.hgr-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 1rem 0;
}

.hgr-error p {
    margin: 0;
}

.hgr-no-reviews {
    text-align: center;
    color: #666;
    padding: 2rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hgr-reviews-container {
        padding: 0.5rem;
    }
    
    .hgr-business-name {
        font-size: 1.5rem;
    }
    
    .hgr-rating-number {
        font-size: 1.5rem;
    }
    
    .hgr-review {
        padding: 1rem;
    }
    
    .hgr-review-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hgr-review-meta {
        text-align: center;
    }
    
    .hgr-review-rating {
        justify-content: center;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hgr-review {
        background: #2a2a2a;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .hgr-review-text {
        color: #e0e0e0;
    }
    
    .hgr-author {
        color: #fff;
    }
    
    .hgr-header {
        border-bottom-color: #444;
    }
}

