/* --- PHẦN DESKTOP --- */
.acb-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999999;
}
.acb-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    position: relative;
}
.acb-icon {
    width: var(--acb-size);
    height: var(--acb-size);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--acb-size) * 0.45);
    border-radius: var(--acb-radius);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.acb-icon img {
    width: 60%; height: 60%; object-fit: contain;
    filter: brightness(0) invert(1); /* Biến icon SVG đen thành trắng trên desktop */
}
.acb-text {
    background: #ffffff;
    color: var(--acb-label-color);
    font-size: var(--acb-font-size);
    font-weight: var(--acb-font-weight);
    padding: 8px 15px;
    border-radius: 5px; /* Bo góc label mặc định 5px */
    position: absolute;
    right: calc(var(--acb-size) + 10px); /* Cách nút 10px */
    white-space: nowrap;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    pointer-events: none;
}
.acb-item:hover .acb-text {
    opacity: 1;
    transform: translateX(0);
}
.acb-item:hover .acb-icon { transform: scale(1.08); }
.acb-mobile-label { display: none; }

/* --- PHẦN MOBILE --- */
@media (max-width: 767px) {
    .acb-container {
        bottom: 0; top: auto; left: 0; right: 0;
        transform: none;
        flex-direction: row;
        background: var(--acb-mobile-bg);
        border-radius: var(--acb-mobile-radius);
        padding: 8px 0;
        box-shadow: 0 -3px 20px rgba(0,0,0,0.1);
        gap: 0;
    }
    .acb-item {
        flex: 1;
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    .acb-icon {
        width: 32px; height: 32px;
        background: transparent !important;
        box-shadow: none;
        border-radius: 0;
        color: var(--btn-color) !important;
    }
    .acb-icon img { 
        filter: none !important; /* Mobile hiện màu gốc của SVG */
        width: 100%; height: 100%; 
    }
    .acb-text { display: none; }
    .acb-mobile-label {
        display: block;
        font-size: 11px;
        color: #333;
        font-family: sans-serif;
        font-weight: 500;
        text-align: center;
    }
}