/**
 * 合并的悬浮操作按钮样式
 */

.floating-actions-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.floating-actions-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1001;
}

.floating-actions-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
}

.floating-actions-main.expanded {
    transform: rotate(45deg);
}

.floating-actions-sub {
    display: none;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.floating-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: fadeInUp 0.3s ease forwards;
}

.floating-actions-container.expanded .floating-action-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.floating-action-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.floating-action-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.floating-action-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.floating-action-feedback {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.floating-action-feedback:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.floating-action-ai {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.floating-action-ai:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}

.floating-action-settings {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.floating-action-settings:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .floating-actions-container {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-actions-main {
        width: 55px;
        height: 55px;
        font-size: 18px;
    }
    
    .floating-action-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* 点击外部区域关闭菜单 */
.floating-actions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: transparent;
}

