/* 隐藏顶部颜色装饰条 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* 统一聊天框赛博朋克风格 */
.bg-gray-100\/90.relative.inline-block {
    background: #0a0f1c !important;
    border: 2px solid #00ffff !important;
    border-radius: 8px !important;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 100, 150, 0.1) !important;
    position: relative !important;
    overflow: hidden !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: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* 确保主要文本内容清晰可读 */
.markdown-body {
    color: #ffffff !important;
    background: transparent !important;
    position: relative !important;
    z-index: 1 !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    text-shadow: none !important;
    line-height: 1.6 !important;
}

/* 强化标题和重要文本 */
.markdown-body h1, .markdown-body h2, .markdown-body h3,
.markdown-body h4, .markdown-body h5, .markdown-body h6 {
    color: #00ffff !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5) !important;
}

/* 代码块和细节标签赛博朋克样式 */
.markdown-body code, .markdown-body pre {
    background: rgba(0, 50, 100, 0.3) !important;
    color: #00ff88 !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
}

.markdown-body details {
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    background: rgba(0, 30, 60, 0.2) !important;
    border-radius: 4px !important;
}

.markdown-body summary {
    color: #00ffff !important;
    font-weight: bold !important;
    cursor: pointer !important;
    padding: 8px !important;
    background: rgba(0, 100, 150, 0.1) !important;
}

/* 表格赛博朋克样式 */
.markdown-body table {
    border-collapse: collapse !important;
    border: 2px solid rgba(0, 255, 255, 0.4) !important;
}

.markdown-body th, .markdown-body td {
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    color: #ffffff !important;
    background: rgba(0, 30, 60, 0.1) !important;
}

.markdown-body th {
    background: rgba(0, 100, 150, 0.2) !important;
    color: #00ffff !important;
    font-weight: bold !important;
}

/* 底部操作按钮赛博朋克样式 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #00ffff !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    background: rgba(0, 30, 60, 0.2) !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    background: rgba(0, 255, 255, 0.1) !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3) !important;
}

/* 模型名称文本样式 */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2 {
    color: #00ff88 !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-weight: bold !important;
}

/* Token消耗文本样式 */
.text-orange-500 {
    color: #ff6600 !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-weight: bold !important;
    text-shadow: 0 0 3px rgba(255, 102, 0, 0.5) !important;
}

/* 列表项目符号样式 */
.markdown-body ul li::marker,
.markdown-body ol li::marker {
    color: #00ffff !important;
}

/* 链接样式 */
.markdown-body a {
    color: #00ff88 !important;
    text-decoration: underline !important;
}

.markdown-body a:hover {
    color: #00ffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5) !important;
}