/* widget.css */
.ai-widget {
    font-family: system-ui, sans-serif;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: .75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    max-width: 420px;
    min-height: 120px;
    padding: 1rem;
    position: relative;
}

/* Chat bubble (floating) */
.ai-widget.is-floating {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}

/* Messages area */
.ai-widget__messages {
    overflow-y: auto;
    max-height: 300px;
    margin-bottom: .5rem;
}

/* Input form */
.ai-widget__form {
    display: flex;
    gap: .5rem;
}

.ai-widget__input {
    flex: 1;
    padding: .5rem .75rem;
    border: 1px solid #dadce0;
    border-radius: .5rem;
}

.ai-widget__btn {
    border: none;
    background: #3b82f6;
    color: #fff;
    padding: .5rem .75rem;
    border-radius: .5rem;
    cursor: pointer;
}

.ai-widget__btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}
