.floating-contact-buttons {
    position: fixed;
    bottom: 30%;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Nút chỉ nhỏ vừa icon */
.floating-contact-buttons a {
    position: relative;
    overflow: visible; /* để khung chữ trượt ra ngoài */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;       
    height: 50px;
    background-color: #e8ae31;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: width 0.4s ease;
}

/* Icon luôn ở trong nút, bên phải */
.floating-contact-buttons a img {
    width: 35px;
    height: 35px;
    margin-left: 0;
    z-index: 2;
}

/* Khung chữ ẩn ngoài nút, bên trái icon */
.floating-contact-buttons a span {
    position: absolute;
    right: 50px;  /* nằm sát bên trái icon */
    top: 50%;
    transform: translateX(100%) translateY(-50%); /* ẩn ngoài nút về bên phải */
    background-color: #e8ae31;
    padding: 15px 15px;
    border-radius: 15px;
    white-space: nowrap;
    color: var(--Dark-Sage-Green);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* tránh ảnh hưởng hover */
    z-index: 1;
}

/* Khi hover: khung chữ trượt vào trong nút, hiện lên */
.floating-contact-buttons a:hover span {
    transform: translateX(0) translateY(-50%);
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
	.floating-contact-buttons a {
		border-radius: 25px;
	}
	
	.floating-contact-buttons {
		bottom: 20%;
	}
	
    .floating-contact-buttons a {
        width: 40px;
        height: 40px;
    }

    .floating-contact-buttons a img {
        width: 24px;
        height: 24px;
    }

    .floating-contact-buttons a span {
        font-size: 14px;
        padding: 8px 12px;
        right: 50px;
    }
}
