/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
}

.status-indicator.online {
    background-color: #4caf50;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.875rem;
    color: #666;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* 主体内容样式 */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* 聊天区域样式 */
.chat-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 消息样式 */
.message {
    display: flex;
    gap: 0.75rem;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message {
    align-self: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-message .message-avatar {
    background-color: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-message .message-avatar::before {
    content: "您";
    color: #1976d2;
    font-weight: 600;
}

.ai-message .message-avatar {
    background-color: #f3e5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-message .message-avatar::before {
    content: "AI";
    color: #7b1fa2;
    font-weight: 600;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.message-text {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.5;
}

.user-message .message-text {
    background-color: #e3f2fd;
    color: #1976d2;
    border-top-right-radius: 4px;
}

.ai-message .message-text {
    background-color: #f5f5f5;
    color: #333;
    border-top-left-radius: 4px;
}

.message-time {
    font-size: 0.75rem;
    color: #999;
    padding: 0 0.5rem;
}

.user-message .message-time {
    text-align: right;
}

/* 预制问题样式 */
.preset-questions {
    margin-top: 1rem;
    align-self: flex-start;
    max-width: 80%;
}

.preset-title {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.preset-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.preset-option {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-option:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

.preset-option:active {
    transform: scale(0.98);
}

/* 快速问题样式 */
.quick-questions {
    margin-top: 1rem;
    align-self: flex-start;
    max-width: 90%;
    background-color: #f9f7ff;
    border-radius: 12px;
    padding: 1rem;
    border-left: 4px solid #7b1fa2;
}

.quick-questions h3 {
    font-size: 0.8rem;
    color: #5e35b1;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.question-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.question-chip {
    background-color: #fff;
    border: 1px solid #e1bee7;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    color: #4a148c;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.question-chip:hover {
    background-color: #f3e5f5;
    border-color: #ce93d8;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.question-chip:active {
    transform: scale(0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 输入区域样式 */
.chat-input-container {
    padding: 0.5rem 0.5rem;
    border-top: 1px solid #eee;
    background-color: #fff;
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    background-color: #f9f9f9;
    border-radius: 24px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    transition: border-color 0.2s ease;
}

.input-wrapper:focus-within {
    border-color: #7b1fa2;
}

#messageInput {
    flex: 1;
    border: none;
    background: none;
    resize: none;
    outline: none;
    font-size: 1rem;
    line-height: 1.5;
    max-height: 120px;
    padding: 0.5rem 0;
    font-family: inherit;
}

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

.send-button:hover {
    background-color: #6a1b9a;
}

.send-button:active {
    transform: scale(0.95);
}

.send-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.input-info {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #999;
}

/* 侧边栏样式 */
.sidebar {
    width: 300px;
    background-color: #fff;
    margin: 1rem 1rem 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.test-categories, .test-list {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.test-list {
    flex: 1;
    overflow-y: auto;
    border-bottom: none;
}

.test-categories h3, .test-list h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #2c3e50;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.category-item:hover {
    background-color: #eeeeee;
}

.category-item.active {
    background-color: #f3e5f5;
    border-left-color: #7b1fa2;
    color: #7b1fa2;
    font-weight: 500;
}

.test-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.test-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.test-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.test-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.test-description {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.test-link {
    display: inline-block;
    background-color: #7b1fa2;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.test-link:hover {
    background-color: #6a1b9a;
}

/* 热门心理测试样式 */
.popular-tests {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f9f4fb;
    border-radius: 12px;
    border-left: 3px solid #7b1fa2;
}

.popular-tests h3 {
    margin: 0 0 0.75rem 0;
    font-size: 0.8rem;
    color: #7b1fa2;
    font-weight: 600;
}

.test-categories-tabs {
    display: flex;
    overflow-x: auto;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
}

.test-categories-tabs::-webkit-scrollbar {
    height: 3px;
}

.test-categories-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.test-categories-tabs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.test-category-tab {
    flex-shrink: 0;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    background-color: #f0e6f3;
    color: #7b1fa2;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.test-category-tab:hover {
    background-color: #e6d4ec;
}

.test-category-tab.active {
    background-color: #7b1fa2;
    color: white;
}

.test-list-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.test-item-inline {
    padding: 0.4rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    cursor: pointer;
}

.test-item-inline:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.test-item-inline-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.test-item-inline-desc {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.test-item-inline-link {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.65rem;
    color: #7b1fa2;
    text-decoration: none;
    font-weight: 500;
}

.test-item-inline-link:hover {
    text-decoration: underline;
}

/* 打字指示器样式 */
.typing-indicator .message-text {
    background-color: #f5f5f5;
    color: #333;
    border-top-left-radius: 4px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #999;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

/* 打字指示器样式 */
.typing-indicator .message-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.typing-dots {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.typing-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #7b1fa2;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-text {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 页脚样式 */
.footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

/* 提示消息样式 */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #333;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    max-width: 80%;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 测试推荐消息样式 */
.test-recommendations {
    margin-top: 0.5rem;
    padding: 1rem;
    background-color: #f9f4fb;
    border-radius: 8px;
    border-left: 3px solid #7b1fa2;
}

.test-recommendations-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #7b1fa2;
}

.test-recommendation-item {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.test-recommendation-item:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.test-recommendation-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #7b1fa2;
}

.test-recommendation-link {
    color: #7b1fa2;
    text-decoration: none;
    font-weight: 500;
}

.test-recommendation-link:hover {
    text-decoration: underline;
}

.test-recommendation-desc {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.test-action-hint {
    font-size: 0.75rem;
    color: #7b1fa2;
    font-weight: 500;
    text-align: right;
}

.test-guide-text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}
    border-radius: 8px;
    border-left: 3px solid #7b1fa2;
}

.test-recommendations-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #7b1fa2;
}

.test-recommendation-item {
    margin-bottom: 0.75rem;
}

.test-recommendation-link {
    color: #7b1fa2;
    text-decoration: none;
    font-weight: 500;
}

.test-recommendation-link:hover {
    text-decoration: underline;
}

.test-recommendation-desc {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.test-guide-text {
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
    border-top: 1px dashed #ddd;
}

/* 内联测试推荐样式 */
.test-recommendations-inline {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: rgba(249, 244, 251, 0.8);
    border-radius: 8px;
    border-left: 3px solid #7b1fa2;
}

.test-recommendations-inline .test-recommendations-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #7b1fa2;
    font-size: 0.9rem;
}

.test-recommendations-inline .test-recommendation-item {
    margin-bottom: 0.3rem;
    padding: 0.4rem;
}

.test-recommendations-inline .test-recommendation-link {
    color: #7b1fa2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.test-recommendations-inline .test-recommendation-link:hover {
    text-decoration: underline;
}

.test-recommendations-inline .test-recommendation-desc {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.1rem;
    line-height: 1.3;
}

.test-recommendations-inline .test-guide-text {
    margin-top: 0.3rem;
    padding: 0.2rem 0;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px dashed #ddd;
}

.test-action-hint {
    margin-top: 0.1rem;
    font-size: 0.7rem;
    color: #7b1fa2;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin: 0 1rem 1rem 1rem;
        max-height: 300px;
    }
    
    .test-categories, .test-list {
        padding: 1rem;
    }
    
    .category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .test-items {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .test-item {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .chat-section {
        margin: 0.5rem;
    }
    
    .chat-messages {
        padding: 1rem;
    }
    
    .message {
        max-width: 90%;
    }
    
    .preset-questions {
        max-width: 90%;
    }
    
    .sidebar {
        margin: 0 0.5rem 0.5rem 0.5rem;
    }
    
    .test-items {
        flex-direction: column;
    }
    
    .test-item {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    /* 全局字体调整 */
    body {
        font-size: 14px;
    }
    
    /* 头部样式调整 */
    .header-content {
        padding: 0.5rem 0.75rem;
    }
    
    .logo img {
        height: 28px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .status-text {
        display: none;
    }
    
    /* 聊天区域占满屏幕 */
    .chat-section {
        margin: 0;
        border-radius: 0;
        height: calc(100vh - 60px); /* 减去头部高度 */
        display: flex;
        flex-direction: column;
    }
    
    .chat-messages {
        padding: 0.5rem;
        flex: 1;
        overflow-y: auto;
        font-size: 14px; /* 减小字体 */
    }
    
    /* 消息样式调整 */
    .message {
        max-width: 95%;
        margin-bottom: 0.75rem;
    }
    
    .message-text {
        font-size: 14px; /* 减小字体 */
    }
    
    .message-time {
        font-size: 11px;
    }
    
    /* 预制问题样式调整 */
    .preset-questions {
        max-width: 95%;
        margin-bottom: 0.75rem;
    }
    
    .preset-questions-title {
        font-size: 14px;
    }
    
    .preset-options {
        flex-direction: column;
    }
    
    .preset-option {
        text-align: center;
    }
    
    .question-chip {
        font-size: 13px;
        padding: 0.4rem 0.8rem;
    }
    
    /* 输入区域调整 */
    .chat-input {
        padding: 0.75rem 0.5rem;
    }
    
    .input-container {
        max-width: 100%;
    }
    
    .message-input {
        font-size: 14px;
        padding: 0.75rem;
    }
    
    .send-button {
        padding: 0.75rem;
    }
    
    /* 侧边栏隐藏 */
    .sidebar {
        display: none;
    }
    
    /* 移动端热门心理测试样式调整 */
    .popular-tests {
        margin-top: 0.5rem;
        padding: 0.5rem;
    }
    
    .popular-tests h3 {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .test-categories-tabs {
        gap: 0.3rem;
        margin-bottom: 0.4rem;
    }
    
    .test-category-tab {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .test-list-content {
        gap: 0.3rem;
    }
    
    .test-item-inline {
        padding: 0.3rem;
    }
    
    .test-item-inline-title {
        font-size: 0.7rem;
    }
    
    .test-item-inline-desc {
        font-size: 0.6rem;
    }
    
    .test-item-inline-link {
        font-size: 0.6rem;
    }
    
    /* 移动端测试推荐样式调整 */
    .test-recommendations-inline {
        margin-top: 0.5rem;
        padding: 0.4rem;
        background-color: rgba(249, 244, 251, 0.8);
        border-radius: 8px;
        border-left: 3px solid #7b1fa2;
    }
    
    .test-recommendations-inline .test-recommendations-title {
        font-weight: 600;
        margin-bottom: 0.3rem;
        color: #7b1fa2;
        font-size: 13px;
    }
    
    .test-recommendations-inline .test-recommendation-item {
        margin-bottom: 0.3rem;
        height: 6rem;
        padding: 0.4rem;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 6px;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    
    .test-recommendations-inline .test-recommendation-item:hover {
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .test-recommendations-inline .test-recommendation-title {
        font-weight: 600;
        margin-bottom: -1.2rem;
        color: #7b1fa2;
        font-size: 13px;
    }
    
    .test-recommendations-inline .test-recommendation-link {
        color: #7b1fa2;
        text-decoration: none;
        font-weight: 500;
        font-size: 13px;
    }
    
    .test-recommendations-inline .test-recommendation-link:hover {
        text-decoration: underline;
    }
    
    .test-recommendations-inline .test-recommendation-desc {
        font-size: 12px;
        color: #666;
        margin-top: 0.1rem;
        line-height: 1.3;
    }
    
    .test-recommendations-inline .test-action-hint {
        font-size: 11px;
        color: #7b1fa2;
        font-weight: 500;
        text-align: right;
        margin-top: -2.1rem;
    }
    
    .test-recommendations-inline .test-guide-text {
        margin-top: 0.3rem;
        padding: 0.2rem 0;
        font-size: 12px;
        color: #555;
        border-top: 1px dashed #ddd;
    }
    
    /* 移动端测试列表样式 */
    .mobile-test-list {
        margin-top: 15px;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-test-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #fff;
    }
    
    .mobile-test-intro {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .mobile-test-items {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-test-item {
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 12px;
        transition: background-color 0.2s;
    }
    
    .mobile-test-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-test-link {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        margin-bottom: 5px;
    }
    
    .mobile-test-desc {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 5px;
    }
    
    .mobile-test-hint {
        font-size: 11px;
        color: #b39ddb;
        font-weight: 500;
    }
}
    
    .test-action-hint {
        margin-top: 0.25rem;
        font-size: 11px;
        color: #7b1fa2;
        font-weight: 500;
    }
    
    /* 打字指示器样式调整 */
    .typing-indicator .message-text {
        font-size: 14px;
    }
    
    .typing-text {
        font-size: 12px;
    }
}