/* ===== FLOATING COFFEE BUTTON ===== */
.lotai-floating-coffee {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #FFDD00 0%, #FDB827 100%);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(255, 221, 0, 0.35), 0 0 0 0 rgba(255, 221, 0, 0.5);
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    animation: float-pulse 3s ease-in-out infinite;
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(255, 221, 0, 0.35), 0 0 0 0 rgba(255, 221, 0, 0.5);
    }
    50% {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(255, 221, 0, 0.45), 0 0 0 8px rgba(255, 221, 0, 0);
    }
}

.lotai-floating-coffee:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 36px rgba(255, 221, 0, 0.5);
    animation: none;
}

.lotai-floating-coffee-icon {
    font-size: 1.5rem;
    line-height: 1;
    animation: coffee-bounce 2s ease-in-out infinite;
}

@keyframes coffee-bounce {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

.lotai-floating-coffee:hover .lotai-floating-coffee-icon {
    animation: coffee-shake 0.5s ease-in-out;
}

@keyframes coffee-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px) rotate(-5deg); }
    75% { transform: translateX(4px) rotate(5deg); }
}

.lotai-floating-coffee-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lotai-floating-coffee {
        bottom: 16px;
        right: 16px;
        padding: 0.75rem;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .lotai-floating-coffee-text {
        display: none;
    }

    .lotai-floating-coffee-icon {
        font-size: 1.75rem;
    }
}

/* Adjust when sidebar is open on mobile */
.lotai-layout.sidebar-open .lotai-floating-coffee {
    right: calc(100vw - 40px);
    transition: right 0.3s ease;
}
