* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #f5f5f5;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-container {
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    background-color: #f8f9fa;
}

.chat-header h1 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.chat-header .description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.chat-header .x-link {
    display: inline-block;
    color: #1DA1F2;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 12px;
    border: 1px solid #1DA1F2;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.chat-header .x-link:hover {
    background-color: #1DA1F2;
    color: white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
}

.user-message {
    background-color: #007AFF;
    color: white;
    margin-left: auto;
    border-radius: 15px 15px 0 15px;
}

.bot-message {
    background-color: #E9ECEF;
    color: #333;
    margin-right: auto;
    border-radius: 15px 15px 15px 0;
}

.chat-input-container {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#messageInput {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
}

#messageInput:focus {
    border-color: #007AFF;
}

#sendButton {
    padding: 12px 24px;
    background-color: #007AFF;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

#sendButton:hover {
    background-color: #0056b3;
}

#sendButton:disabled {
    background-color: #ccc;
    cursor: not-allowed;
} 