/* Special Review Styles */
.testimonial-image-preview {
    width: 100%;
    max-width: 300px;
    height: 500px;
    margin: 0 auto 15px auto;
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-image-preview:hover {
    transform: scale(1.02);
}

.testimonial-image-preview .preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-review-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-image-preview:hover .view-review-overlay {
    opacity: 1;
}

.view-btn {
    background: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.testimonial-image-preview:hover .view-btn {
    transform: translateY(0);
}

/* Special Review Modal */
.special-review-modal .feedback-modal-content {
    background: #fff;
    max-width: 600px;
    /* Wider for documents */
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.special-review-modal .feedback-modal-body {
    overflow-y: auto;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
}

.special-review-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.special-review-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-divider {
    font-weight: bold;
    color: #555;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .testimonial-image-preview {
        height: 350px;
        /* Smaller on mobile */
        max-width: 100%;
    }

    .special-review-modal .feedback-modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .special-review-modal .feedback-modal-body {
        padding: 15px;
        padding-bottom: 80px;
        /* Space for bottom interaction if needed */
    }

    .special-review-modal .feedback-modal-close {
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.9);
        width: 40px;
        height: 40px;
        font-size: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}