/**
 * Estilos para el módulo de Asesores WhatsApp agrupado
 * Venty Web
 */

.asesores-wsp-wrapper {
    margin: 22px 0 16px 0;
    padding: 14px 16px;
    background: #f9fbfb;
    border: 1px solid #e4ece8;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    clear: both;
    transition: border-color 0.25s ease;
}

.asesores-wsp-wrapper:hover {
    border-color: #cde2d7;
}

/* Encabezado del bloque */
.asesores-wsp-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.asesores-wsp-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eefbf3;
    border: 1px solid #c3f0d4;
    padding: 4px 10px;
    border-radius: 20px;
}

.asesores-wsp-pulse {
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: wspPulse 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes wspPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.asesores-wsp-titulo {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f6e52;
    letter-spacing: -0.1px;
    line-height: 1;
}

.asesores-wsp-subtitulo {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Contenedor de las tarjetas de asesores */
.asesores-wsp-producto {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* En pantallas medianas y grandes, 2 columnas */
@media (min-width: 576px) {
    .asesores-wsp-producto {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Botón / Tarjeta individual (Blanco puro que contrasta sobre el fondo tenue) */
.asesor-wsp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1.5px solid #25D366;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    cursor: pointer;
}

.asesor-wsp-item:hover,
.asesor-wsp-item:focus {
    background-color: #f7fdf9;
    border-color: #1ebe5d;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.18);
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Icono principal de WhatsApp */
.asesor-wsp-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.asesor-wsp-icono svg {
    width: 38px;
    height: 38px;
    display: block;
    transition: transform 0.25s ease;
}

.asesor-wsp-item:hover .asesor-wsp-icono svg {
    transform: scale(1.08);
}

/* Bloque central de textos */
.asesor-wsp-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
    line-height: 1.25;
}

.asesor-wsp-nombre {
    font-size: 13px;
    font-weight: 700;
    color: #1e1e1e !important;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.asesor-wsp-item:hover .asesor-wsp-nombre {
    color: #075e54 !important;
}

.asesor-wsp-descripcion {
    font-size: 11.5px;
    color: #64748b !important;
    margin-top: 2px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icono secundario a la derecha */
.asesor-wsp-icono-secundario {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #25D366;
    opacity: 0.75;
    transition: all 0.25s ease;
    margin-left: auto;
}

.asesor-wsp-icono-secundario svg {
    width: 20px;
    height: 20px;
    display: block;
}

.asesor-wsp-item:hover .asesor-wsp-icono-secundario {
    opacity: 1;
    transform: scale(1.1);
    color: #128C7E;
}
