/* AI聊天页面样式 */

/* 内容区域 */
.content {
    padding: 10px;
    padding-bottom: 70px;
    overflow-y: auto;
    height: calc(100vh - 130px);
    background-color: #F5F5F5;
}

/* 聊天容器样式 */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 聊天气泡样式 */
.chat-message {
    display: flex;
    margin-bottom: 8px;
    max-width: 90%;
}

/* AI消息样式 */
.chat-message.ai {
    align-self: flex-start;
    flex-direction: row;
    max-width: 85%;
}

/* 用户消息样式 */
.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
    margin-left: auto;
}

/* 头像样式 */
.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* 消息内容样式 */
.message-content {
    background-color: white;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* AI消息内容样式 */
.chat-message.ai .message-content {
    background-color: white;
    border-top-left-radius: 4px;
}

/* 用户消息内容样式 */
.chat-message.user .message-content {
    background-color: #E3F1FF;
    border-top-right-radius: 4px;
}

/* 消息文本样式 */
.message-content p {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.message-content ol {
    margin-top: 8px;
    margin-bottom: 0;
    padding-left: 20px;
}

.message-content li {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* 快速问题区域 */
.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.question-chip {
    background-color: white;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.question-chip:active {
    background-color: #f0f0f0;
}

/* 输入区域样式 */
.chat-input-container {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 12px;
    background-color: #F5F5F5;
    border-top: 1px solid #E0E0E0;
}

.chat-input-wrapper {
    display: flex;
    background-color: white;
    border-radius: 24px;
    padding: 4px 4px 4px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 0;
    background: transparent;
}

.send-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F5F5F5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.send-button:active {
    background-color: #E0E0E0;
} 