/* Customer Review Shortcode Styles */
.customer-review-card {
    border: 1px solid #f5d182;
    padding: 30px;
    margin: 20px 0;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0px !important;
}

.customer-review-card.has-shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.customer-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 24px;
    color: #8B4513;
    opacity: 0.3;
}

.style-modern .quote-icon {
    top: 15px;
    right: 30px;
    left: auto;
    font-size: 30px;
    color: #A0522D;
}

.style-minimal .quote-icon {
    display: none;
}

/* Review Content */
.review-content {
    margin-bottom: 25px;
}

.review-text {
    margin: 0 0 20px 0;
}

.review-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--accent-gold);
    margin: 0;
    font-style: italic;
}

.style-modern .review-text p {
    font-size: 18px;
    font-weight: 300;
}

.style-minimal .review-text p {
    font-size: 15px;
    font-style: normal;
    color: #666666;
}

/* Rating Stars */
.review-rating {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 10px;
}

.text-left .review-rating {
    justify-content: flex-start;
}

.text-right .review-rating {
    justify-content: flex-end;
}

.review-rating i {
    font-size: 16px;
    color: #ddd;
    transition: color 0.3s ease;
}

.review-rating i.filled {
    color: #ffc107;
}

.style-modern .review-rating i {
    font-size: 18px;
}

.style-minimal .review-rating i {
    font-size: 14px;
}

/* Author Section */
.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.text-center .review-author {
    justify-content: center;
    text-align: center;
}

.text-right .review-author {
    justify-content: flex-end;
    text-align: right;
}

.style-minimal .review-author {
    border-top: none;
    padding-top: 15px;
}

/* Author Image */
.author-image {
    flex-shrink: 0;
}

.author-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    transition: transform 0.3s ease;
}

.customer-review-card:hover .author-image img {
    transform: scale(1.05);
}

.image-small .author-image img {
    width: 50px;
    height: 50px;
}

.image-large .author-image img {
    width: 80px;
    height: 80px;
}

.style-modern .author-image img {
    border: 4px solid #8B4513;
}

.style-minimal .author-image img {
    border: 1px solid #e5e5e5;
}

/* Author Info */
.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffc107;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.author-position {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.3;
}

.style-modern .author-name {
    font-size: 20px;
    color: #8B4513;
}

.style-modern .author-position {
    font-size: 15px;
    color: #A0522D;
}

.style-minimal .author-name {
    font-size: 16px;
    font-weight: 500;
}

.style-minimal .author-position {
    font-size: 13px;
    color: #999999;
}

/* Style Variations */
.style-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: none;
    border-left: 5px solid #8B4513;
}

.style-minimal {
    background: transparent;
    border: 1px solid #e5e5e5;
    padding: 20px;
}

/* Text Alignment */
.text-center {
    text-align: center;
}

.text-center .review-author {
    flex-direction: column;
    text-align: center;
}

.text-center .author-image {
    margin-bottom: 10px;
}

.text-right {
    text-align: right;
}

.text-right .review-author {
    flex-direction: row-reverse;
}

/* Animations */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .customer-review-card {
        padding: 20px;
        margin: 15px 0;
    }
    
    .quote-icon {
        font-size: 20px;
        top: 15px;
        left: 20px;
    }
    
    .style-modern .quote-icon {
        right: 20px;
        font-size: 24px;
    }
    
    .review-text p {
        font-size: 15px;
    }
    
    .style-modern .review-text p {
        font-size: 16px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .style-modern .author-name {
        font-size: 18px;
    }
    
    .author-image img {
        width: 50px;
        height: 50px;
    }
    
    .image-large .author-image img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .customer-review-card {
        padding: 15px;
    }
    
    .review-author {
        gap: 10px;
    }
    
    .text-center .review-author {
        gap: 15px;
    }
    
    .review-text p {
        font-size: 14px;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .author-position {
        font-size: 13px;
    }
}

/* Print Styles */
@media print {
    .customer-review-card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .customer-review-card:hover {
        transform: none;
    }
    
    .quote-icon {
        color: #666 !important;
    }
}