
/* AI Assistant Floating Button Styles */
#ai-assistant-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.ai-assistant-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.ai-assistant-floating-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-assistant-floating-btn:hover::before {
    opacity: 1;
}

.ai-assistant-floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.ai-assistant-floating-btn i {
    font-size: 24px;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.ai-assistant-floating-btn:hover i {
    transform: scale(1.1);
}

.ai-assistant-floating-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

/* Tooltip */
.ai-assistant-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.ai-assistant-tooltip::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.ai-assistant-floating-btn:hover + .ai-assistant-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.ai-assistant-floating-btn.pulse {
    animation: pulse 2s infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    #ai-assistant-container {
        bottom: 20px;
        right: 20px;
    }
    
    .ai-assistant-floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .ai-assistant-floating-btn i {
        font-size: 20px;
    }
    
    .ai-assistant-tooltip {
        display: none;
    }
}
