/* Google Reviews Component Styles (Dark Mode Ready) */
:root {
    --gr-bg-color: #ffffff;
    --gr-text-color: #333333;
    --gr-border-color: #e0e0e0;
    --gr-star-color: #fbbc04;
    --gr-muted-color: #777777;
    --gr-card-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --gr-bg-color: #1e1e1e;
        --gr-text-color: #f1f1f1;
        --gr-border-color: #333333;
        --gr-star-color: #fbbc04;
        --gr-muted-color: #aaaaaa;
        --gr-card-shadow: 0 4px 6px rgba(0,0,0,0.5);
    }
}

.gr-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gr-text-color);
}

.gr-badge-header {
    text-align: center;
    margin-bottom: 30px;
}

.gr-badge-header img.gr-logo {
    width: 100px;
    margin-bottom: 10px;
}

.gr-stars {
    color: var(--gr-star-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.gr-card {
    background-color: var(--gr-bg-color);
    border: 1px solid var(--gr-border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--gr-card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.gr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.gr-author-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.gr-author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    background-color: var(--gr-border-color);
}

.gr-author-info h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.gr-time {
    font-size: 0.8rem;
    color: var(--gr-muted-color);
}

.gr-text {
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 15px;
}

.gr-read-more {
    color: #1a73e8;
    cursor: pointer;
    font-weight: 500;
    border: none;
    background: none;
    padding: 0;
    text-decoration: underline;
}

.gr-google-link {
    display: inline-block;
    color: var(--gr-muted-color);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
}
.gr-google-link:hover {
    color: #1a73e8;
}

.gr-owner-reply {
    background-color: rgba(0,0,0,0.03);
    border-left: 3px solid #1a73e8;
    padding: 10px;
    margin-top: 15px;
    border-radius: 0 4px 4px 0;
}
@media (prefers-color-scheme: dark) {
    .gr-owner-reply {
        background-color: rgba(255,255,255,0.05);
    }
}
.gr-owner-reply h6 {
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-weight: 600;
}
.gr-owner-reply p {
    font-size: 0.85rem;
    margin: 0;
}

/* Swiper custom overrides */
.swiper-button-next, .swiper-button-prev {
    color: var(--gr-text-color) !important;
    transform: scale(0.6);
}
.swiper-pagination-bullet {
    background: var(--gr-muted-color) !important;
}
