/**
 * Estilos para el frontend del plugin Testimonial Manager
 */

/* Estilos generales para los testimonios */
.testimonial-manager-list, 
.testimonial-manager-slider {
    max-width: 100%;
    margin: 2rem 0;
}

/* Estilos para cada testimonio en la lista */
.testimonial-item {
    border: 1px solid #eee;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Estilos para el contenido del testimonio */
.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
}


/* Estilos para la metadata del testimonio */
.testimonial-meta {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.testimonial-image {
    margin-right: 1rem;
}

.testimonial-image img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #222;
}

.testimonial-position {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

/* Estilos específicos para el slider */
.testimonial-manager-slider .testimonial-slide {
    padding: 1rem;
    outline: none;
}

/* Personalización de flechas y puntos del slider */
.testimonial-manager-slider .slick-arrow {
    background-color: #fff;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.testimonial-manager-slider .slick-arrow:hover {
    background-color: #f8f8f8;
}

.testimonial-manager-slider .slick-dots li button:before {
    font-size: 0.75rem;
    color: #ddd;
}

.testimonial-manager-slider .slick-dots li.slick-active button:before {
    color: #666;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .testimonial-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
