/* --- 赛博朋克霓虹主题 --- */
/* 统一聊天框样式 (输入与输出) */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(145deg, #1a0a2e, #0a0a1a) !important;
    border: 1px solid #00d9ff !important;
    border-radius: 8px !important;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.7), 0 0 16px rgba(0, 217, 255, 0.5), inset 0 0 5px rgba(0, 217, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important; /* 隐藏伪元素溢出部分 */
    transition: all 0.3s ease !important;
}
/* 聊天框内部扫描线网格效果 */
.bg-gray-100\/90.relative.inline-block::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        repeating-linear-gradient(0deg, rgba(0, 217, 255, 0.08), rgba(0, 217, 255, 0.08) 1px, transparent 1px, transparent 4px),
        repeating-linear-gradient(90deg, rgba(0, 217, 255, 0.08), rgba(0, 217, 255, 0.08) 1px, transparent 1px, transparent 4px) !important;
    pointer-events: none !important; /* 确保伪元素不影响鼠标交互 */
    z-index: 0 !important;
}
/* 聊天框内的主要文本内容 */
.markdown-body {
    color: #F0F0F0 !important;
    font-family: 'SF Mono', 'Fira Code', 'Menlo', 'Consolas', 'Monaco', monospace !important;
    position: relative !important; /* 提升层级，确保在扫描线之上 */
    z-index: 1 !important;
}
/* 确保加粗文本在深色背景下更清晰 */
.markdown-body strong, .markdown-body b {
    color: #FFFFFF !important;
    font-weight: bold !important;
}
/* --- 底部附加元素样式 --- */
/* 底部操作按钮 (复制, 编辑等) */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #a9d4ff !important; /* 按钮使用略带蓝色的亮色 */
    font-weight: bold !important;
    text-transform: none !important;
    transition: color 0.2s, background-color 0.2s !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    color: #ffffff !important;
    background-color: rgba(0, 217, 255, 0.1) !important;
}
/* 模型名称文本 */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2 {
    color: #EAEAEA !important;
}
/* Token消耗文本 */
.text-orange-500 {
    color: #ff9900 !important; /* 保留警告色，但更亮 */
    font-weight: bold !important;
}
/* 隐藏顶部的颜色装饰条 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}