/*
 * Floating Action Button Styles
 */

.floating-action-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(128, 0, 128, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab-main:hover {
    transform: scale(1.1);
    background: #9932CC;
}

.fab-main i {
    transition: transform 0.3s ease;
}

.fab-main.active i {
    transform: rotate(45deg);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.fab-options.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.fab-option {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.fab-option:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    background: var(--secondary-color);
    color: var(--dark-color);
}

.fab-option::before {
    content: attr(title);
    position: absolute;
    right: 60px;
    background: var(--dark-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.fab-option:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Make floating button responsive */
@media screen and (max-width: 768px) {
    .floating-action-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .fab-option {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .fab-options {
        bottom: 60px;
        gap: 10px;
    }
    
    .fab-option::before {
        display: none;
    }
}
