/* RRC Reviews Plugin - Minimal Styles */

.rrc-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Video Slider */
.rrc-video-slider {
    margin-bottom: 40px;
}

.rrc-video-slider h3 {
    margin-bottom: 20px;
}

.rrc-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.rrc-slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.rrc-slide {
    min-width: 100%;
    display: none;
}

.rrc-slide.active {
    display: block;
}

.rrc-slide-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.rrc-slide-content wistia-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rrc-wistia-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.rrc-slider-prev,
.rrc-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s;
}

.rrc-slider-prev:hover,
.rrc-slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

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

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

/* Reviews Listing */
.rrc-reviews-listing h3 {
    margin-bottom: 20px;
}

.rrc-reviews-list {
    display: grid;
    gap: 20px;
}

.rrc-review-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.rrc-review-content {
    flex: 1;
}

.rrc-review-author {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.rrc-review-date {
    color: #666;
    font-size: 0.9em;
}

.rrc-review-text {
    line-height: 1.6;
}

.rrc-review-media {
    flex-shrink: 0;
}

.rrc-review-thumb {
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.rrc-review-thumb:hover {
    opacity: 0.8;
}

.rrc-review-video-thumb {
    width: 150px;
    height: 150px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
}

.rrc-play-icon {
    color: #fff;
    font-size: 40px;
    z-index: 1;
}

.rrc-load-more {
    margin-top: 20px;
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.rrc-load-more:hover {
    background: #005a87;
}

.rrc-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal */
.rrc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.rrc-modal.active {
    display: block;
}

.rrc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.rrc-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    max-height: 90vh;
    margin: 5vh auto;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.rrc-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.rrc-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.rrc-modal-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.rrc-modal-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.rrc-modal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.rrc-modal-slide.active {
    display: flex;
}

.rrc-modal-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rrc-modal-slide-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rrc-modal-slide-content wistia-player {
    width: 100%;
    height: 100%;
}

.rrc-modal-prev,
.rrc-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10001;
    transition: background 0.3s;
}

.rrc-modal-prev:hover,
.rrc-modal-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.rrc-modal-prev {
    left: 10px;
}

.rrc-modal-next {
    right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .rrc-review-item {
        flex-direction: column;
    }
    
    .rrc-review-media {
        width: 100%;
    }
    
    .rrc-review-thumb,
    .rrc-review-video-thumb {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .rrc-modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }
}
