.rnins-floating-social {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.rnins-floating-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.rnins-floating-social a svg {
    fill: #ffffff;
}

.rnins-floating-social a.rnins-fb {
    background-color: #3b5998;
    border-top-right-radius: 4px;
}

.rnins-floating-social a.rnins-wa {
    background-color: #25D366;
    border-bottom-right-radius: 4px;
}

.rnins-floating-social a:hover {
    width: 55px;
    background-color: #444; 
}

.rnins-floating-social a.rnins-fb:hover {
    background-color: #2d4373;
}

.rnins-floating-social a.rnins-wa:hover {
    background-color: #128c7e;
}

/* Tablet */
@media (max-width: 768px) {
    .rnins-floating-social a {
        width: 38px;
        height: 38px;
    }

    .rnins-floating-social a svg {
        width: 18px;
        height: 18px;
    }

    .rnins-floating-social a:hover {
        width: 44px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .rnins-floating-social a {
        width: 32px;
        height: 32px;
    }

    .rnins-floating-social a svg {
        width: 15px;
        height: 15px;
    }

    /* Disable expand-on-hover so it doesn't overflow small screens / cause tap issues */
    .rnins-floating-social a:hover {
        width: 32px;
    }
}
