/* Chat interface styles - Messages, input, layout */

.chat-container {
    display: flex;
    height: calc(100vh - 12rem);
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

/* Chat Panel */
.chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Messages */
.message {
    display: flex;
}

.message.user {
    justify-content: flex-end;
}

.message.otto {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 32rem;
    padding: 1rem;
    border-radius: 0.5rem;
}

.message-bubble.user {
    background-color: #ecfdf5;
    color: #374151;
}

.message-bubble.otto {
    background-color: #fffbeb;
    color: #374151;
}

.message-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Chat Input */
.chat-input-container {
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
}

.chat-input-row {
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: #f59e0b;
}

.chat-input:disabled {
    background-color: #f3f4f6;
}

.send-button {
    background: #d97706;
    color: white;
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-button:hover:not(:disabled) {
    background: #b45309;
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}