/* ======================================================= */
/* ESTILOS DEL BOTÓN Y VENTANA DE WHATSAPP                 */
/* ======================================================= */

/* Contenedor principal - Subido a 95px para evitar encimado */
#igdp-wa-widget {
    position: fixed;
    bottom: 95px; 
    right: 30px;
    z-index: 9999999 !important;
    font-family: Arial, sans-serif;
}

/* Botón flotante de WhatsApp */
#igdp-wa-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}
#igdp-wa-btn:hover {
    transform: scale(1.08);
}

/* Caja de la ventana emergente */
#igdp-wa-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    border-radius: 12px;
    background: white;
}

/* Encabezado verde de la ventana */
.igdp-wa-header {
    background-color: #208253; 
    padding: 25px 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-align: center;
    color: white;
    position: relative;
}

/* Botón de cerrar (X) */
#igdp-wa-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}
#igdp-wa-close:hover {
    color: white;
}

.igdp-wa-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.igdp-wa-desc {
    font-size: 12px;
    color: #e0f2f1;
    line-height: 1.4;
}

/* Contenedor del input blanco */
.igdp-wa-body {
    background: #ffffff;
    padding: 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: relative;
}

/* Avatar lateral izquierdo */
.igdp-wa-avatar {
    position: absolute;
    left: -65px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #208253;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    background: white;
}
.igdp-wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Caja de texto */
.igdp-wa-input-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 6px 10px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.igdp-wa-input-container input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #333;
}

/* Icono de enviar */
#igdp-wa-send {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 5px;
}
#igdp-wa-send:hover svg {
    fill: #208253;
}