/* ==========================================================================
   FLOATING CONTACT & BACK TO TOP WIDGET STYLES
   Chỉ nằm duy nhất trong section-floating-contact.css để dùng chung cho mọi trang
   ========================================================================== */
.floating-contact-wrap {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    position: relative;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 20px;
}

.floating-btn:hover {
    transform: scale(1.12);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-btn.hotline {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    animation: pulse-ring 2s infinite;
}

.floating-btn.zalo {
    background: #0088cc;
}

.floating-btn.back-to-top {
    background: var(--primary, #0f75bd);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.floating-btn.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 65, 108, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 65, 108, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 65, 108, 0);
    }
}

@media (max-width: 768px) {
    .floating-contact-wrap {
        bottom: 18px;
        right: 18px;
        gap: 10px;
    }
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
