/* Google Header */
.sunshine-reviews-header {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
}

.header-content {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rating-score {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.header-stars {
    color: #F4B400;
    font-size: 24px;
    letter-spacing: 2px;
}

.rating-text {
    color: #777;
    font-size: 14px;
}

/* Carousel Wrapper */
.sunshine-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px;
    /* Space for arrows */
}

/* Container as Carousel */
.sunshine-reviews-container.carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    /* Space for shadow */
    margin: 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.sunshine-reviews-container.carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Carousel Items */
.sunshine-review-card.carousel-item {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Card Header Redesign */
.sunshine-review-card .review-header {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 0;
    align-items: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.review-time {
    font-size: 12px;
    color: #888;
}

/* Stars Row */
.star-rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.star-rating-row .stars {
    color: #F4B400;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Navigation Buttons */
.sunshine-nav-prev,
.sunshine-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.sunshine-nav-prev:hover,
.sunshine-nav-next:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.sunshine-nav-prev {
    left: 0;
}

.sunshine-nav-next {
    right: 0;
}

.sunshine-nav-prev svg,
.sunshine-nav-next svg {
    fill: #5f6368;
}

/* Read more override */
.read-more-toggle {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}