/* Floating Contact Widget CSS */
.floating-contact-group {
    position: fixed;
    bottom: 30px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}
.floating-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.floating-btn:hover {
    transform: scale(1.08);
}
.floating-btn i {
    font-size: 22px;
}
.floating-label {
    position: absolute;
    right: 62px;
    background: #0a041a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    pointer-events: none;
    border: 1px solid rgba(236, 72, 153, 0.3);
}
.floating-label::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0a041a;
}
.floating-btn:hover .floating-label {
    opacity: 1;
    visibility: visible;
    right: 68px;
}

/* Specific buttons */
.floating-alert {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}
.floating-zalo {
    background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
}
.zalo-icon-badge {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: -0.5px;
    background: #ffffff;
    color: #0068ff;
    padding: 2px 5px;
    border-radius: 4px;
}
.floating-phone {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.floating-phone.pulse {
    animation: phonePulse 2s infinite;
}
@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
.back-to-top {
    background: #160d33;
    display: none;
}
.back-to-top.show {
    display: flex;
}
@media (max-width: 768px) {
    .floating-contact-group {
        bottom: 20px;
        right: 15px;
        gap: 10px;
    }
    .floating-btn {
        width: 46px;
        height: 46px;
    }
    .floating-btn i { font-size: 18px; }
}
