.fab-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Direct URL FAB */
.fab-direct {
    width: 55px;
    height: 55px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Menu FAB wrapper */
.fab-menu-container {
    position: relative;
}

/* Main FAB (menu toggle) */
.fab-main {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* Hidden menu */
.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

/* Menu items */
.fab-item {
    background: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
}

/* On active */
.fab-menu-container.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-menu-container.active .fab-main {
    transform: rotate(45deg);
}

.fab-menu-container.active .fab-item {
    opacity: 1;
    transform: translateY(0);
}

.fab-main:hover {
    background-color: #0056b3;
}

.fab-direct:hover {
    background-color: #1e7e34;
}

.fab-item:hover {
    background-color: #f0f0f0;
}

.fab-main, .fab-direct, .fab-item {
    position: relative;
    overflow: hidden;
}

.fab-main:active::after,
.fab-direct:active::after,
.fab-item:active::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.4s linear;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.fab-item.active,
.fab-direct.active,
.fab-main.active {
    background-color: #f8d775 !important;   /* light yellow highlight */
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
}

