/* Google Reviews Elementor Widget Styles */

.gre-reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gre-review-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

/* Slider Styles */
.gre-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gre-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.gre-slider-container .gre-review-item {
    flex-shrink: 0;
    padding: 0 10px;
}

.gre-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #ffffff;
    border: 2px solid #333333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gre-slider-arrow:hover {
    background: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.gre-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.gre-slider-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.gre-slider-prev {
    left: 10px;
}

.gre-slider-next {
    right: 10px;
}

.gre-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.gre-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gre-slider-dot:hover {
    transform: scale(1.2);
}

.gre-slider-dot.active {
    background-color: #FFA500;
    transform: scale(1.3);
}

.gre-layout-row {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.gre-layout-column {
    flex-direction: column;
}

.gre-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.gre-rating .star {
    display: inline-block;
    line-height: 1;
    color: #FFA500;
    font-size: 1em;
    position: relative;
}

.gre-rating .star.star-full {
    color: inherit;
}

.gre-rating .star.star-half {
    position: relative;
    display: inline-block;
}

.gre-rating .star.star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    color: currentColor;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    overflow: hidden;
}

.gre-rating .star.star-half::after {
    content: '☆';
    color: #ddd;
}

.gre-rating .star.star-empty {
    color: #ddd;
}

.gre-review-text {
    line-height: 1.6;
    word-wrap: break-word;
}

.gre-author {
    font-weight: 500;
}

.gre-error {
    padding: 15px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

/* Responsive */
@media (max-width: 768px) {
    .gre-layout-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gre-slider-arrow {
        width: 35px !important;
        height: 35px !important;
        font-size: 20px !important;
    }
    
    .gre-slider-prev {
        left: 5px;
    }
    
    .gre-slider-next {
        right: 5px;
    }
}

