/* NÚT FLOATING ================================================================================================ */
/* LAZINET Floating Contact Buttons - Vertical Center Alignment */
.lazinet-contact-floating {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    font-family: var(--default-font);
}

/* Main Button Styles */
.lazinet-contact-main-btn {
    width: 60px;
    height: 60px;
    /* background: var(--accent-secondary-color); */
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
    /* box-shadow: 0 8px 30px rgba(15, 36, 83, 0.4); */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* border: 2px solid var(--primary-color); */
    position: relative;
    overflow: hidden;
}

.lazinet-contact-main-btn:hover {
    /* background: var(--primary-color); */
    transform: scale(1.1);
    /* box-shadow: 0 12px 40px rgba(255, 80, 0, 0.5); */
}

.lazinet-contact-main-btn img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Contact Buttons Container - Ẩn ban đầu */
.lazinet-contact-buttons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lazinet-contact-buttons.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Main Button Ẩn khi active */
.lazinet-contact-main-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}

/* Individual Contact Buttons */
.lazinet-contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--divider-color);
    /* background: var(--accent-secondary-color); */
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(15, 36, 83, 0.3);
}

.lazinet-contact-btn:hover {
    /* background: var(--orange-main); */
    transform: scale(1.1);
    border-color: var(--orange-main);
    box-shadow: 0 8px 25px rgba(255, 80, 0, 0.4);
}

.lazinet-contact-btn img {
    width:30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(1) invert(0); 
    /* Đảm bảo icon màu trắng */
}

/* Labels for buttons */
.lazinet-contact-label {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--divider-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.lazinet-contact-btn:hover .lazinet-contact-label {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* Pulse animation for main button */
@keyframes lazinetPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 255, 0.7);
    }
    90% {
        box-shadow: 0 0 0 15px rgba(0, 0, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 255, 0);
    }
}

.lazinet-contact-main-btn.pulse {
    animation: lazinetPulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lazinet-contact-floating {
        right: 15px;
    }
    
    .lazinet-contact-main-btn {
        width: 50px;
        height: 50px;
    }
    
    .lazinet-contact-main-btn img {
        width: 25px;
        height: 25px;
    }
    
    .lazinet-contact-btn {
        width: 45px;
        height: 45px;
    }
    
    .lazinet-contact-btn img {
        width: 20px;
        height: 20px;
    }
    
    .lazinet-contact-label {
        font-size: 11px;
        padding: 6px 12px;
        right: 55px;
    }
    
    .lazinet-contact-btn:hover .lazinet-contact-label {
        right: 60px;
    }
}

@media (max-width: 480px) {
    .lazinet-contact-floating {
        right: 10px;
    }
    
    .lazinet-contact-main-btn {
        width: 45px;
        height: 45px;
    }
    
    .lazinet-contact-main-btn img {
        width: 22px;
        height: 22px;
    }
    
    .lazinet-contact-btn {
        width: 40px;
        height: 40px;
    }
    
    .lazinet-contact-btn img {
        width: 18px;
        height: 18px;
    }
    
    .lazinet-contact-label {
        font-size: 10px;
        padding: 5px 10px;
        right: 50px;
    }
    
    .lazinet-contact-btn:hover .lazinet-contact-label {
        right: 55px;
    }
}