/**
 * Shark Testimonios - Estilos Premium
 * Plugin para mostrar testimonios con diseño moderno
 */

/* Reset y contenedor base */
.shark-testimonios-card {
    all: initial;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 28px;
    margin: 20px 0;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.shark-testimonios-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 16px 16px 0 0;
}

.shark-testimonios-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Icono de comillas */
.shark-testimonios-quote-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #e2e8f0;
    opacity: 0.6;
}

/* Contenido del testimonio */
.shark-testimonios-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.shark-testimonios-texto {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #374151 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    font-style: italic;
    text-align: left !important;
}

/* Footer con avatar e info */
.shark-testimonios-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* Avatar */
.shark-testimonios-avatar {
    flex-shrink: 0;
}

.shark-testimonios-avatar-img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.shark-testimonios-avatar-iniciales {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Info del autor */
.shark-testimonios-info {
    flex-grow: 1;
}

.shark-testimonios-autor {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

/* Estrellas */
.shark-testimonios-estrellas {
    display: flex;
    gap: 2px;
}

.shark-star {
    font-size: 14px;
    line-height: 1;
}

.shark-star-filled {
    color: #fbbf24;
}

.shark-star-empty {
    color: #d1d5db;
}

/* Badge verificado */
.shark-testimonios-verificado {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 20px;
    flex-shrink: 0;
}

.shark-testimonios-verificado span {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #16a34a !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grupo de testimonios */
.shark-testimonios-grupo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.shark-testimonios-grupo .shark-testimonios-card {
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .shark-testimonios-card {
        padding: 20px;
        margin: 16px 0;
    }

    .shark-testimonios-texto {
        font-size: 15px !important;
    }

    .shark-testimonios-footer {
        flex-wrap: wrap;
        gap: 12px;
    }

    .shark-testimonios-verificado {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .shark-testimonios-grupo {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .shark-testimonios-card {
        background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
        box-shadow: 
            0 4px 6px -1px rgba(0, 0, 0, 0.3),
            0 2px 4px -2px rgba(0, 0, 0, 0.3);
    }

    .shark-testimonios-texto {
        color: #e5e7eb !important;
    }

    .shark-testimonios-autor {
        color: #f9fafb !important;
    }

    .shark-testimonios-quote-icon {
        color: #374151;
    }

    .shark-testimonios-footer {
        border-top-color: #374151;
    }

    .shark-testimonios-verificado {
        background: #064e3b;
    }

    .shark-testimonios-verificado span {
        color: #6ee7b7 !important;
    }
}
