/* Main container */
#claude-chat-container {
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Messages container */
#chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: #ffffff;
}

/* Input container */
.chat-input-container {
    padding: 15px 20px;
    border-top: 1px solid #e2e4e7;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
}

/* Message styling */
.message {
    margin-bottom: 15px;
}

.message.user {
    text-align: right;
}

.message-content {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 70%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* User message */
.message.user .message-content {
    background: #fff8db;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Assistant message */
.message.assistant .message-content {
    background: #f8f9fa;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Loading indicator */
.typing-indicator {
    padding: 15px 0;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #90949c;
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
}

/* Input elements */
#chat-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 60px;
}

#send-button {
    padding: 12px 24px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#send-button:hover {
    background: #135e96;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #claude-chat-container {
        margin: 10px;
    }
    
    #chat-messages {
        height: calc(100vh - 200px);
    }
    
    .chat-input-container {
        flex-direction: column;
    }
    
    #chat-input, #send-button {
        width: 100%;
    }
}
