/* 基础样式，温馨简洁，响应式设计 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ffeef8, #f0f8ff);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-container {
    width: 90%;
    max-width: 600px;
    height: 80vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(45deg, #ff9ec7, #b886d6);
    color: white;
    padding: 20px;
    text-align: center;
}

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

.chat-input-area {
    display: flex;
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    gap: 10px;
    align-items: center;
}

.chat-input-area input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input-area button {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background: #ff9ec7;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.chat-input-area button:hover {
    background: #e685b8;
}

@media (max-width: 600px) {
    .chat-container {
        width: 95%;
        height: 90vh;
    }
}