/**
 * BJ Theme - Floating Contact Styles
 * 
 * @package BJ_Theme
 */

.floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 9999;
}

.contact-item {
    position: relative;
    margin: 0;
}

.contact-btn {
    width: 60px;
    height: 60px;
    background-color: #222;
    border: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    position: relative;
}

.contact-btn:hover {
    background-color: #dd2222;
    color: #fff;
}

.tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #dd2222;
    color: #fff;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    white-space: nowrap;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
}

.contact-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .tooltip {
        height: 50px;
        font-size: 16px;
        padding: 0 15px;
        right: 50px;
    }
    
    .floating-contact {
        right: 0;
        gap: 3px;
    }
}
