/* Rockatee Trustpilot Reviews Carousel Styles */

.rtr-reviews-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

.rtr-trustpilot-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rtr-trustpilot-logo svg {
    width: 24px;
    height: 24px;
}

/* Star styling for review cards */
.rtr-review-stars .rtr-star {
    width: 18px;
    height: 18px;
    fill: #00b67a;
}

/* Carousel */
.rtr-carousel {
    margin: 0 -10px;
}

.rtr-review-card {
    background: #191919;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 24px;
    margin: 0 10px;
    min-height: 280px;
    display: flex !important;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.rtr-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

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

.rtr-review-stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.rtr-review-stars .rtr-star {
    width: 18px;
    height: 18px;
}

.rtr-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #2a2a2a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #b8b8b8;
}

.rtr-verified-badge svg {
    width: 14px;
    height: 14px;
    fill: #00b67a;
}

.rtr-review-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.rtr-review-text {
    font-size: 14px;
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.rtr-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
}

.rtr-reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.rtr-review-date {
    font-size: 12px;
    color: #888888;
}

/* Slick Carousel Custom Styles */
.rtr-carousel .slick-dots {
    bottom: -40px;
}

.rtr-carousel .slick-dots li button:before {
    font-size: 10px;
    color: #00b67a;
    opacity: 0.3;
}

.rtr-carousel .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #00b67a;
}

.rtr-carousel .slick-prev,
.rtr-carousel .slick-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #00b67a;
    border-radius: 50%;
    z-index: 10;
}

.rtr-carousel .slick-prev:hover,
.rtr-carousel .slick-next:hover {
    background: #00b67a;
}

.rtr-carousel .slick-prev:before,
.rtr-carousel .slick-next:before {
    color: #00b67a;
    font-size: 20px;
}

.rtr-carousel .slick-prev:hover:before,
.rtr-carousel .slick-next:hover:before {
    color: #fff;
}

.rtr-carousel .slick-prev {
    left: -50px;
}

.rtr-carousel .slick-next {
    right: -50px;
}

/* Loading State */
.rtr-loading {
    text-align: center;
    padding: 60px 20px;
}

.rtr-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00b67a;
    border-radius: 50%;
    animation: rtr-spin 1s linear infinite;
}

@keyframes rtr-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .rtr-carousel .slick-prev {
        left: -30px;
    }
    
    .rtr-carousel .slick-next {
        right: -30px;
    }
}

@media (max-width: 768px) {
    .rtr-reviews-wrapper {
        padding: 15px;
    }
    
    .rtr-review-card {
        padding: 20px;
        min-height: 260px;
    }
    
    .rtr-carousel .slick-prev,
    .rtr-carousel .slick-next {
        display: none !important;
    }
    
    .rtr-rating-summary {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .rtr-review-card {
        padding: 16px;
        min-height: 240px;
    }
    
    .rtr-review-title {
        font-size: 15px;
    }
    
    .rtr-review-text {
        font-size: 13px;
    }
}

/* Optional Light Mode Support */
.rtr-reviews-wrapper.light-mode .rtr-review-card {
    background: #fff;
    border-color: #e5e5e5;
}

.rtr-reviews-wrapper.light-mode .rtr-review-title {
    color: #191919;
}

.rtr-reviews-wrapper.light-mode .rtr-review-text {
    color: #4a4a4a;
}

.rtr-reviews-wrapper.light-mode .rtr-review-footer {
    border-top-color: #f0f0f0;
}

.rtr-reviews-wrapper.light-mode .rtr-reviewer-name {
    color: #333;
}

.rtr-reviews-wrapper.light-mode .rtr-verified-badge {
    background: #f0f0f0;
    color: #666;
}

.rtr-reviews-wrapper.light-mode .rtr-review-date {
    color: #999;
}
