/**
 * Floating Social Buttons
 *
 * Styles for the fixed WhatsApp button rendered in the page footer.
 *
 * @package KlinikJames
 * @version 2.0.0
 */

.floating-social-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.floating-social-btn {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.floating-social-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn {
    background-color: #25D366;
}

/* Tooltip label */
.floating-label {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-social-btn:hover .floating-label {
    opacity: 1;
}

/* ── Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
    .floating-social-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }

    .floating-social-btn {
        width: 50px;
        height: 50px;
    }

    .floating-label {
        display: none;
    }
}