/**
 * Testimonials Module CSS
 * @package     mod_scorpion_testimonials
 * @copyright   Copyright (C) 2025 Scorpion. All rights reserved.
 * @license     GNU General Public License version 2 or later
 */

/* Common Styles */
.mod-testimonials {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.mod-testimonials .testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.mod-testimonials .testimonial-image img:hover {
    transform: scale(1.05);
}

.mod-testimonials .testimonial-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

.mod-testimonials .testimonial-text {
    margin: 15px 0;
    line-height: 1.2;
    font-size: 1rem;
    color: #555;
}

.mod-testimonials .testimonial-text p {
    margin: 0;
    font-style: italic;
    position: relative;
}

.mod-testimonials .testimonial-text p::before {
    content: '"';
    font-size: 2em;
    color: #ccc;
    position: absolute;
    left: -12px;
    top: -12px;
}

.mod-testimonials .testimonial-text p::after {
    content: '"';
    font-size: 2em;
    color: #ccc;
}

.mod-testimonials .testimonial-stars {
    margin: 10px 0;
    font-size: 1.2em;
}

.mod-testimonials .testimonial-stars .star {
    color: #ffd700;
    margin-right: 2px;
}

.mod-testimonials .testimonial-stars .star.empty {
    color: #ddd;
}

.mod-testimonials .testimonial-author {
    margin-top: 15px;
    font-weight: 600;
    color: #333;
}

.mod-testimonials .author-name {
    font-size: 1em;
}


/* Alert styling for no testimonials */
.mod-testimonials .alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.mod-testimonials .alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

