/* ── Contenedor flotante ── */
.asagiSabit {
    position: fixed;
    bottom: 80px;
    z-index: 99999;
}

/* Posición izquierda (por defecto) */
.asagiSabit.pos-left  { left: 12px; }

/* Posición derecha */
.asagiSabit.pos-right { right: 50px; }

.whatsappBlock a {
    outline: none;
    position: relative;
    display: inline-block;
    height: 100px;
    width: 100px;
    background: none;
    padding: 25px;
    text-align: center;
}

/* Etiqueta fija debajo del icono */
.whatsappBlock a .wa-fixed-label {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    background: #25D366;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 12px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
}

/* Icono SVG inline */
.whatsappBlock a .wa-icon {
    position: relative;
    z-index: 10;
    display: block;
    height: 60px;
    width: 60px;
    margin: 0 auto;
    background: transparent;
    border: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

/* punto de estado — oculto */
.whatsappBlock a:after { display: none; }

/* ── Tooltip — oculto siempre ── */
.whatsappBlock .message,
.whatsappBlock .message:after { display: none !important; }

/* ── Estados ── */
.whatsappBlock a.online .kutucuk         { background: rgba(26,183,68,0.25); }
.whatsappBlock a.online:after            { background: green; }

.whatsappBlock a.offline .kutucuk        { background: rgba(153,153,153,0.25); }
.whatsappBlock a.offline:after           { background: #999; }

.whatsappBlock a.busy .kutucuk           { background: rgba(255,165,0,0.25); }
.whatsappBlock a.busy:after              { background: orange; }

/* ── Animación de pulso ── */
.kutucuklar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.kutucuk {
    background: rgba(37,211,102,0.20);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 2;
}

.animated { animation-fill-mode: both; }
.animated .k1 { animation: 2000ms kutucukBir cubic-bezier(0.25,0.46,0.45,0.94) infinite; }
.animated .k2 { animation: 2500ms kutucukIki cubic-bezier(0.25,0.46,0.45,0.94) infinite; }
.animated .k3 { animation: 3000ms kutucukUc  cubic-bezier(0.25,0.46,0.45,0.94) infinite; }

@keyframes kutucukBir {
    0%   { transform: translate(-50%,-50%) scale(1);   opacity:.6; }
    50%  { transform: translate(-50%,-50%) scale(2.2); opacity:0; }
    100% { transform: translate(-50%,-50%) scale(1);   opacity:.6; }
}
@keyframes kutucukIki {
    0%   { transform: translate(-50%,-50%) scale(1);   opacity:.5; }
    25%  { transform: translate(-50%,-50%) scale(1);   opacity:.5; }
    75%  { transform: translate(-50%,-50%) scale(2.4); opacity:0; }
    100% { transform: translate(-50%,-50%) scale(1);   opacity:.5; }
}
@keyframes kutucukUc {
    0%   { transform: translate(-50%,-50%) scale(1);   opacity:.4; }
    33%  { transform: translate(-50%,-50%) scale(1);   opacity:.4; }
    66%  { transform: translate(-50%,-50%) scale(2.6); opacity:0; }
    100% { transform: translate(-50%,-50%) scale(1);   opacity:.4; }
}

/* ── Móviles ── */
@media (max-width: 767px) {
    .asagiSabit        { bottom: 180px !important; }
    .asagiSabit.pos-left  { left: 10px !important; }
    .asagiSabit.pos-right { right: 50px !important; }

    .whatsappBlock a {
        height: 82px !important;
        width:  82px !important;
        padding: 18px !important;
    }
    .whatsappBlock a .wa-icon {
        height: 48px !important;
        width:  48px !important;
    }
}

@media (max-width: 767px) {
    .whatsappBlock a .wa-fixed-label {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }
}
