.sbmalpha-footer {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.sbmalpha-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 0.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.sbmalpha-footer.sbmalpha-active .sbmalpha-footer-links {
    max-height: 10rem;
}
.sbmalpha-footer-link {
    background-color: #fff;
    color: #3c4043;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.sbmalpha-footer-link:hover {
    background-color: #f1f3f4;
}
.sbmalpha-footer-toggle {
    background-color: #3c4043;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.sbmalpha-footer.sbmalpha-active .sbmalpha-footer-toggle {
    transform: rotate(180deg);
}
.sbmalpha-footer-toggle svg {
    width: 24px;
    height: 24px;
}

/* Tooltip cho nút footer */
.sbmalpha-tooltip-balloon {
    position: absolute;
    bottom: 65px;
    right: 0;
    background-color: #3c4043;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
    animation: sbmalpha-pulse 2s infinite;
}

.sbmalpha-tooltip-balloon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #3c4043;
}

.sbmalpha-footer.sbmalpha-active .sbmalpha-tooltip-balloon {
    opacity: 0;
    visibility: hidden;
    animation: none;
}

@keyframes sbmalpha-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}