body {
    background-color: #f3f4f6;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 模拟移动端容器 */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #f9fafb;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* 聊天气泡样式 */
.chat-bubble-left {
    border-radius: 16px 16px 16px 2px;
}
.chat-bubble-right {
    border-radius: 16px 16px 2px 16px;
}

/* 简单的加载动画 */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 隐藏部分步骤（向导式表单使用） */
.step-hidden {
    display: none;
}
