/* nexus_widget.css */
#nexus-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Inter', sans-serif;
}

#nexus-chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#nexus-chat-bubble:hover {
    transform: scale(1.05);
}

#nexus-chat-bubble svg {
    width: 32px;
    height: 32px;
    color: white;
}

#nexus-chat-frame {
    width: 380px;
    height: 600px;
    max-height: calc(100vh - 100px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    border: 1px solid rgba(0,0,0,0.1);
}

#nexus-chat-frame.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

#nexus-chat-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 480px) {
    #nexus-chat-frame {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
}
