/**
 * Kheloyaar WhatsApp Switcher - Public Styles
 * Optional floating bubble & button helper styles
 */

/* Optional Floating WhatsApp Bubble */
.kws-floating-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kws-floating-bubble:hover {
    transform: scale(1.06);
}

.kws-floating-label {
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kws-floating-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    position: relative;
}

.kws-floating-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Pulsing Wave Effect */
.kws-floating-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: kwsPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes kwsPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 768px) {
    .kws-floating-bubble {
        bottom: 74px; /* Sits cleanly above sticky bottom bar */
        right: 16px;
    }
    .kws-floating-label {
        display: none;
    }
    .kws-floating-icon {
        width: 48px;
        height: 48px;
    }
    .kws-floating-icon svg {
        width: 24px;
        height: 24px;
    }
}
