/* ========================================
   FLOATING BUTTONS - Simple & Working
   ======================================== */

/* Floating Robot - Blue - Bottom Left */
.floating-robot {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #005EB8, #0077CC);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 94, 184, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9000;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    font-size: 2.5rem;
}

.floating-robot:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 94, 184, 0.4);
}

/* Floating Accessibility Button - HIDDEN */
.floating-accessibility-btn {
    display: none !important;
}

/* Accessibility Panel - HIDDEN */
.accessibility-panel {
    display: none !important;
}

/* Floating Chat Button - Green - Above Robot */
.floating-chat-btn {
    position: fixed;
    bottom: 120px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #28A745, #48BB78);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9001;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    text-decoration: none;
    font-size: 2.5rem;
}

.floating-chat-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(40, 167, 69, 0.5);
}

/* Pulsing red dot on chat button */
.floating-chat-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Tooltips */
.robot-tooltip,
.chat-tooltip {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #374151;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.floating-robot:hover .robot-tooltip,
.floating-chat-btn:hover .chat-tooltip {
    opacity: 1;
}


@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-robot,
    .floating-chat-btn {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .floating-robot {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-chat-btn {
        bottom: 95px;
        left: 20px;
    }
    
    .robot-tooltip,
    .chat-tooltip {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}
