/* Floating Button Fix Styles */
.floating-button-fix {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-button-fix:hover {
    transform: scale(1.05);
}

/* Ensure proper positioning for mobile */
@media (max-width: 768px) {
    .floating-button-fix {
        bottom: 15px;
        right: 15px;
    }
}

/* Fix for any floating elements */
.floating-element {
    position: fixed;
    z-index: 999;
}

/* Chatbot button specific fixes */
.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.chatbot-button:hover {
    background: #3730a3;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.5);
}

/* Login button fixes */
.login-float-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-float-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
    color: white;
    text-decoration: none;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .chatbot-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .login-float-btn {
        bottom: 15px;
        left: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Ensure buttons don't overlap */
.chatbot-button + .login-float-btn {
    bottom: 90px;
}

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

.floating-animation {
    animation: float 3s ease-in-out infinite;
}

/* Fix for any z-index conflicts */
.floating-button-fix,
.chatbot-button,
.login-float-btn {
    z-index: 1000 !important;
}

/* Ensure proper stacking context */
.floating-container {
    position: relative;
    z-index: 1000;
}
