.apex-wa-widget,
.apex-wa-widget * {
    box-sizing: border-box;
}

.apex-wa-widget {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 999999;
    font-family: 'Montserrat', sans-serif;
}

.apex-wa-button {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #20CE70;
    border: 5px solid #B9F2D0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,.20);
    transition: .3s;
    margin-left: auto;
    padding: 0;
}

.apex-wa-button:hover {
    transform: scale(1.08);
    background: #18B95F;
}

.apex-wa-button svg {
    width: 42px;
    height: 42px;
    fill: white;
}

.apex-wa-panel {
    position: absolute;
    right: 5px;
    bottom: 90px;
    width: 315px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(0,0,0,.20);
    display: none;
    animation: apexWaShow .25s ease;
}

.apex-wa-panel.active {
    display: block;
}

@keyframes apexWaShow {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.apex-wa-header {
    background: #075B3D;
    color: white;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.apex-wa-list {
    display: flex;
    flex-direction: column;
}

.apex-wa-item {
    display: flex;
    align-items: center;
    padding: 17px 18px;
    gap: 13px;
    text-decoration: none !important;
    border-bottom: 1px solid #eeeeee;
    background: white;
    transition: background .2s;
}

.apex-wa-item:last-child {
    border-bottom: none;
}

.apex-wa-item:hover {
    background: #f5f9f7;
}

.apex-wa-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #20CE70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apex-wa-icon svg {
    width: 21px;
    height: 21px;
    fill: white;
}

.apex-wa-name {
    flex: 1;
    color: #203C80;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.apex-wa-arrow {
    color: #9CA3AF;
    font-size: 23px;
    line-height: 1;
}

@media(max-width:480px) {
    .apex-wa-widget {
        right: 15px;
        bottom: 18px;
    }

    .apex-wa-panel {
        width: 300px;
        bottom: 85px;
    }

    .apex-wa-button {
        width: 68px;
        height: 68px;
    }

    .apex-wa-button svg {
        width: 38px;
        height: 38px;
    }
}


/* =================================
   APEX - FIJAR COLOR VERDE WHATSAPP
================================= */

.apex-wa-button,
.apex-wa-button:hover,
.apex-wa-button:focus,
.apex-wa-button:active,
.apex-wa-button:focus-visible {
    background: #20CE70 !important;
    border: 5px solid #B9F2D0 !important;
    color: #FFFFFF !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.20) !important;
    -webkit-tap-highlight-color: transparent !important;
}

.apex-wa-button svg,
.apex-wa-button:hover svg,
.apex-wa-button:active svg,
.apex-wa-button:focus svg {
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* EVITAR COLOR ROSADO EN LOS ENLACES */
.apex-wa-item,
.apex-wa-item:hover,
.apex-wa-item:focus,
.apex-wa-item:active,
.apex-wa-item:visited {
    background: #FFFFFF !important;
    color: #203C80 !important;
    text-decoration: none !important;
}

/* MANTENER ICONOS VERDES */
.apex-wa-icon,
.apex-wa-item:hover .apex-wa-icon {
    background: #20CE70 !important;
}

.apex-wa-icon svg {
    fill: #FFFFFF !important;
}
