* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    color: #ff7a59;
    margin-bottom: 10px;
}

header p {
    color: #666;
}

.chat-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
}

.user-message {
    background: #007bff;
    color: white;
    margin-left: 50px;
}

.assistant-message {
    background: #f8f9fa;
    border-left: 4px solid #ff7a59;
}

.system-message {
    background: #e9ecef;
    font-style: italic;
}

.input-container {
    padding: 20px;
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

#send-btn {
    background: #007bff;
    color: white;
}

#send-btn:hover {
    background: #0056b3;
}

#reset-btn {
    background: #6c757d;
    color: white;
}

#reset-btn:hover {
    background: #545b62;
}

.status {
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
}

.status.loading {
    background: #fff3cd;
    color: #856404;
}

.status.success {
    background: #d4edda;
    color: #155724;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
}