        .message-content strong {
            font-weight: bold !important;
            color: inherit;
        }

        .message-content em {
            font-style: italic !important;
        }

        .message-content code {
            background-color: var(--code-bg);
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            color: var(--code-text-color);
        }

        .message-content pre {
            background-color: var(--code-bg);
            padding: 16px;
            border-radius: 8px;
            overflow-x: auto;
            margin: 12px 0;
            border: 1px solid var(--border-color);
        }

        .message-content pre code {
            background: none;
            padding: 0;
            border-radius: 0;
        }

        .message-content blockquote {
            border-left: 4px solid var(--accent-color);
            padding-left: 16px;
            margin: 12px 0;
            color: var(--reasoning-color);
            font-style: italic;
        }

        .message-content ul, 
        .message-content ol {
            padding-left: 24px;
            margin: 8px 0;
        }

        .message-content li {
            margin: 4px 0;
        }

        .message-content h1, 
        .message-content h2, 
        .message-content h3 {
            margin: 16px 0 8px 0;
            font-weight: 600;
        }

        .message-content h1 {
            font-size: 1.4em;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 8px;
        }

        .message-content h2 {
            font-size: 1.2em;
        }

        .message-content h3 {
            font-size: 1.1em;
        }

        .message-content table {
            border-collapse: collapse;
            width: 100%;
            margin: 12px 0;
        }

        .message-content th, 
        .message-content td {
            border: 1px solid var(--border-color);
            padding: 8px 12px;
            text-align: left;
        }

        .message-content th {
            background-color: var(--sidebar-bg);
            font-weight: 600;
        }


        :root {
            --bg-color: #ffffff;
            --text-color: #333333;
            --sidebar-bg: #f5f5f5;
            --border-color: #e0e0e0;
            --accent-color: #333333;
            --button-hover: #555555;
            --code-bg: #f8f8f8;
            --user-msg-bg: #f0f0f0;
            --ai-msg-bg: #ffffff;
            --shadow: rgba(0, 0, 0, 0.1);
            --delete-color: #d32f2f;
            --reasoning-color: #666666;
            --reasoning-bg: #f9f9f9;
            --header-height: 60px;
            --code-text-color: #333333;
            --thinking-btn-bg: #e0e0e0;
            --thinking-btn-active: #4CAF50;
        }

        [data-theme="dark"] {
            --bg-color: #1a1a1a;
            --text-color: #e0e0e0;
            --sidebar-bg: #2a2a2a;
            --border-color: #404040;
            --accent-color: #e0e0e0;
            --button-hover: #cccccc;
            --code-bg: #1e1e1e;
            --user-msg-bg: #333333;
            --ai-msg-bg: #2a2a2a;
            --shadow: rgba(0, 0, 0, 0.3);
            --delete-color: #f44336;
            --reasoning-color: #aaaaaa;
            --reasoning-bg: #2d2d2d;
            --code-text-color: #d4d4d4;
            --thinking-btn-bg: #404040;
            --thinking-btn-active: #388E3C;
            
            --code-keyword: #569cd6;
            --code-string: #ce9178;
            --code-comment: #6a9955;
            --code-function: #dcdcaa;
            --code-number: #b5cea8;
            --code-class: #4ec9b0;
            --code-tag: #569cd6;
            --code-attr: #9cdcfe;
            --code-operator: #d4d4d4;
            --code-punctuation: #d4d4d4;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            display: flex;
            height: 100vh;
            overflow: hidden;
            transition: background-color 0.3s, color 0.3s;
        }

        .sidebar {
            width: 280px;
            min-width: 280px;
            background-color: var(--sidebar-bg);
            border-right: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            padding: 16px;
            overflow-y: auto;
            transition: transform 0.3s ease;
            position: relative;
            z-index: 100;
        }

.sidebar.collapsed + .main-content {
    width: 100%;
}

        .sidebar.collapsed {
            transform: translateX(-100%);
            min-width: 0;
            width: 0;
        }

        .sidebar.settings-only .history-list,
        .sidebar.settings-only .new-chat-btn {
            display: none;
        }

        .sidebar:not(.settings-only) .settings {
            display: none;
        }

        .sidebar-toggle {
            display: none;
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border-color);
        }

        .logo-left {
            display: flex;
            align-items: center;
            flex: 1;
        }

        .logo svg {
            width: 32px;
            height: 32px;
            margin-right: 10px;
        }

        .logo h1 {
            font-size: 18px;
            font-weight: 600;
        }

        .logo-actions {
            display: flex;
            gap: 8px;
        }

        .icon-btn {
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            padding: 6px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
            width: 32px;
            height: 32px;
        }

        .icon-btn:hover {
            background-color: var(--border-color);
        }

        .max-tokens-container {
            margin-bottom: 16px;
        }
        
        .max-tokens-group {
            margin-bottom: 12px;
        }
        
        .max-tokens-group h4 {
            margin-bottom: 8px;
            font-size: 14px;
            color: var(--text-color);
        }
        
        .range-input-group {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .range-input-group input[type="range"] {
            flex: 1;
        }
        
        .range-input-group input[type="number"] {
            width: 80px;
            padding: 6px 8px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            background-color: var(--bg-color);
            color: var(--text-color);
            font-size: 14px;
        }
        
        .setting-value {
            text-align: right;
            font-size: 12px;
            margin-top: 4px;
            color: var(--text-color);
            opacity: 0.7;
        }
        
        .max-tokens-info {
            font-size: 11px;
            color: var(--text-color);
            opacity: 0.6;
            margin-top: 4px;
        }

        .theme-btn {
            position: relative;
        }

        .theme-btn .sun-icon,
        .theme-btn .moon-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: opacity 0.3s;
        }

        [data-theme="dark"] .theme-btn .sun-icon {
            opacity: 1;
        }

        [data-theme="dark"] .theme-btn .moon-icon {
            opacity: 0;
        }

        .theme-btn .sun-icon {
            opacity: 0;
        }

        .theme-btn .moon-icon {
            opacity: 1;
        }

        .menu-dots-btn {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .menu-dots-btn .dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background-color: var(--text-color);
        }

        .new-chat-btn {
            background-color: var(--accent-color);
            color: var(--bg-color);
            border: none;
            padding: 10px 16px;
            border-radius: 4px;
            cursor: pointer;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
        }

        .new-chat-btn:hover {
            background-color: var(--button-hover);
        }

        .new-chat-btn svg {
            width: 16px;
            height: 16px;
            margin-right: 8px;
        }

        .history-list {
            flex: 1;
            overflow-y: auto;
        }

        .history-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 12px;
            border-radius: 4px;
            margin-bottom: 8px;
            cursor: pointer;
            border: 1px solid transparent;
        }

        .history-item:hover {
            background-color: var(--bg-color);
        }

        .history-item.active {
            background-color: var(--bg-color);
            border-color: var(--border-color);
        }

        .history-item-content {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .delete-history-btn {
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            opacity: 0.7;
            padding: 4px;
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .delete-history-btn:hover {
            opacity: 1;
            background-color: var(--border-color);
        }

        .settings {
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid var(--border-color);
        }

        .setting-group {
            margin-bottom: 16px;
        }

        .setting-group label {
            display: block;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .setting-group input[type="range"] {
            width: 100%;
        }

        .setting-value {
            text-align: right;
            font-size: 12px;
            margin-top: 4px;
        }

        .system-prompt-group {
            margin-bottom: 16px;
        }

        .system-prompt-group label {
            display: block;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .system-prompt-group textarea {
            width: 100%;
            min-height: 80px;
            padding: 8px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            resize: vertical;
            background-color: var(--bg-color);
            color: var(--text-color);
            font-size: 14px;
        }

        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow: hidden;
        }

        .header {
            height: var(--header-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--bg-color);
            position: relative;
            z-index: 5;
        }

        .header-left, .header-right {
            display: flex;
            align-items: center;
            width: 120px;
        }

        .header-center {
            flex: 1;
            text-align: center;
            font-weight: 600;
            font-size: 16px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 10px;
        }

        .header-right {
            justify-content: flex-end;
        }

        .menu-btn {
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            padding: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chat-container {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            height: calc(100vh - var(--header-height) - var(--input-container-height, 160px));
        }

        .message {
            max-width: 85%;
            margin-bottom: 20px;
            padding: 12px 16px;
            border-radius: 8px;
            position: relative;
            line-height: 1.5;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .message-content {
            word-wrap: break-word;
            overflow-wrap: break-word;
            max-width: 100%;
            white-space: pre-wrap;
            word-break: break-word;
            overflow: hidden;
        }

        .message-content * {
            max-width: 100%;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .message-content p, 
        .message-content li, 
        .message-content div {
            white-space: pre-wrap;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        .message-content pre {
            background-color: var(--code-bg);
            padding: 12px;
            border-radius: 4px;
            overflow-x: auto;
            margin: 10px 0;
            position: relative;
            max-width: 100%;
        }

        .message-content code {
            font-family: 'Courier New', monospace;
            background-color: var(--code-bg);
            padding: 2px 4px;
            border-radius: 3px;
            max-width: 100%;
            overflow-x: auto;
            display: inline-block;
            white-space: pre-wrap;
            word-break: break-word;
            color: var(--code-text-color);
        }

        .user-message {
            align-self: flex-end;
            background-color: var(--user-msg-bg);
            border-bottom-right-radius: 0;
        }

        .ai-message {
            align-self: flex-start;
            background-color: var(--ai-msg-bg);
            border-bottom-left-radius: 0;
            box-shadow: 0 1px 3px var(--shadow);
        }

        .reasoning-container {
            background-color: var(--reasoning-bg);
            border-left: 3px solid var(--reasoning-color);
            padding: 12px 16px;
            margin-bottom: 12px;
            border-radius: 4px;
            color: var(--reasoning-color);
            font-style: italic;
            max-width: 100%;
            overflow-wrap: break-word;
        }

        .reasoning-container pre {
            background-color: rgba(0, 0, 0, 0.05);
            max-width: 100%;
        }

        [data-theme="dark"] .reasoning-container pre {
            background-color: rgba(255, 255, 255, 0.05);
        }

        .reasoning-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .reasoning-label {
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 0;
            text-transform: uppercase;
            opacity: 0.7;
        }

        .reasoning-toggle-btn {
            background: none;
            border: 1px solid var(--reasoning-color);
            color: var(--reasoning-color);
            padding: 4px 8px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s;
        }

        .reasoning-toggle-btn:hover {
            background-color: var(--reasoning-color);
            color: var(--reasoning-bg);
        }

        .code-container {
            position: relative;
            margin: 10px 0;
            border-radius: 4px;
            overflow: hidden;
        }

        .code-content {
            background-color: var(--code-bg);
            padding: 12px;
            overflow-x: auto;
        }

        .code-content pre {
            margin: 0;
            padding: 0;
            background: none;
        }

        .code-content code {
            color: var(--code-text-color);
            background: none;
            padding: 0;
        }

        .code-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background-color: var(--code-bg);
            border-top: 1px solid var(--border-color);
            font-size: 12px;
            color: var(--text-color);
        }

        .code-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .code-actions {
            display: flex;
            gap: 8px;
        }

        .code-btn {
            background-color: var(--accent-color);
            color: var(--bg-color);
            border: none;
            padding: 4px 8px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 12px;
            transition: background-color 0.2s;
        }

        .code-btn:hover {
            background-color: var(--button-hover);
        }

        .input-container {
            padding: 16px;
            border-top: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            min-height: 160px;
            max-height: 40vh;
            overflow-y: auto;
            position: relative;
            background-color: var(--bg-color);
            transition: min-height 0.2s ease;
        }

        .input-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .input-area textarea {
            width: 100%;
            min-height: 80px;
            max-height: 100px;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            resize: vertical;
            background-color: var(--bg-color);
            color: var(--text-color);
        }

        .drag-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.1);
            border: 2px dashed var(--accent-color);
            border-radius: 4px;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: var(--accent-color);
            z-index: 10;
        }

        .drag-overlay.active {
            display: flex;
        }

        .input-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            position: sticky;
            bottom: 0;
            background-color: var(--bg-color);
            padding-top: 8px;
        }

        .left-controls {
            display: flex;
            gap: 8px;
        }

        .control-btn {
            background-color: var(--thinking-btn-bg);
            color: var(--text-color);
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            font-size: 14px;
        }

        .control-btn:hover {
            background-color: var(--button-hover);
        }

        .thinking-btn.active {
            background-color: var(--thinking-btn-active);
            color: white;
        }

        .file-btn {
            background-color: var(--accent-color);
            color: var(--bg-color);
        }

        .send-btn {
            background-color: var(--accent-color);
            color: var(--bg-color);
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s;
            min-width: 80px;
        }

        .send-btn:hover {
            background-color: var(--button-hover);
        }

        .send-btn:disabled {
            background-color: var(--border-color);
            cursor: not-allowed;
        }

        .file-info {
            font-size: 12px;
            color: var(--text-color);
            margin-top: 4px;
            opacity: 0.7;
        }

        .file-tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
            max-height: 120px;
            overflow-y: auto;
            padding: 4px;
        }
        
        .file-tag {
            display: flex;
            align-items: center;
            background-color: var(--accent-color);
            color: var(--bg-color);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            max-width: 200px;
        }
        
        .file-name {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-right: 6px;
        }
        
        .file-remove-btn {
            background: none;
            border: none;
            color: var(--bg-color);
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            padding: 0;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s;
        }
        
        .file-remove-btn:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

.file-contents-container {
    width: 100%;
    margin-top: 8px;
}

.file-content {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 8px;
    background-color: var(--code-bg);
    overflow: hidden;
}

.file-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: var(--sidebar-bg);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: bold;
}

.file-content-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-content-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.file-content-close:hover {
    background-color: var(--border-color);
}

.file-content-body {
    padding: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.file-content-body pre {
    margin: 0;
    background: none;
    padding: 0;
}

.file-content-body code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.message-file-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.message-file-tag {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.api-key-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-key-container input {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
}

.api-key-container input:focus {
    outline: none;
    border-color: var(--accent-color);
}


        .typing-indicator {
            display: none;
            align-self: flex-start;
            background-color: var(--ai-msg-bg);
            padding: 12px 16px;
            border-radius: 8px;
            border-bottom-left-radius: 0;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px var(--shadow);
        }

        .typing-dots {
            display: flex;
        }

        .typing-dot {
            width: 8px;
            height: 8px;
            background-color: var(--text-color);
            border-radius: 50%;
            margin: 0 2px;
            animation: typing 1.4s infinite ease-in-out;
        }

        .typing-dot:nth-child(1) { animation-delay: -0.32s; }
        .typing-dot:nth-child(2) { animation-delay: -0.16s; }

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

        @media (max-width: 768px) {
            body {
                flex-direction: column;
            }

            .sidebar {
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                z-index: 100;
                transform: translateX(-100%);
                width: 280px;
                min-width: 280px;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .main-content {
                width: 100%;
            }

            .message {
                max-width: 90%;
            }

            .input-controls {
                flex-direction: row;
                gap: 8px;
                align-items: center;
            }

            .left-controls {
                width: auto;
                justify-content: flex-start;
                flex: 1;
            }

            .send-btn {
                width: auto;
                min-width: 80px;
                flex-shrink: 0;
            }

            .header {
                padding: 0 16px;
            }

            .header-left, .header-right {
                width: 80px;
            }

    .logo-actions {
        gap: 4px;
    }
    
    .icon-btn {
        padding: 8px;
        width: 36px;
        height: 36px;
    }
        }

        @media (max-width: 480px) {
            .message {
                max-width: 95%;
                padding: 10px 12px;
            }

            .chat-container {
                padding: 12px;
            }

            .input-container {
                padding: 12px;
                min-height: 150px;
            }

            .code-actions {
                flex-direction: row !important;
                gap: 4px;
            }

            .code-btn {
                font-size: 10px;
                padding: 3px 6px;
                white-space: nowrap;
            }

            .input-controls {
                flex-direction: row;
            }
            
            .send-btn {
                min-width: 70px;
                padding: 8px 12px;
            }
            
            .control-btn {
                padding: 8px 12px;
                font-size: 12px;
            }

            .header {
                padding: 0 12px;
            }

            .header-left, .header-right {
                width: 60px;
            }

            .send-btn {
                min-width: 60px;
                padding: 8px 12px;
            }
        }

        [data-theme="dark"] .hljs {
            color: var(--code-text-color) !important;
            background: var(--code-bg) !important;
        }

        [data-theme="dark"] .hljs-keyword,
        [data-theme="dark"] .hljs-selector-tag,
        [data-theme="dark"] .hljs-literal,
        [data-theme="dark"] .hljs-section,
        [data-theme="dark"] .hljs-link {
            color: var(--code-keyword) !important;
        }

        [data-theme="dark"] .hljs-string,
        [data-theme="dark"] .hljs-title,
        [data-theme="dark"] .hljs-name,
        [data-theme="dark"] .hljs-type,
        [data-theme="dark"] .hljs-attribute,
        [data-theme="dark"] .hljs-symbol,
        [data-theme="dark"] .hljs-bullet,
        [data-theme="dark"] .hljs-addition,
        [data-theme="dark"] .hljs-variable,
        [data-theme="dark"] .hljs-template-tag,
        [data-theme="dark"] .hljs-template-variable {
            color: var(--code-string) !important;
        }

        [data-theme="dark"] .hljs-comment,
        [data-theme="dark"] .hljs-quote,
        [data-theme="dark"] .hljs-deletion,
        [data-theme="dark"] .hljs-meta {
            color: var(--code-comment) !important;
        }

        [data-theme="dark"] .hljs-function,
        [data-theme="dark"] .hljs-built_in,
        [data-theme="dark"] .hljs-title.class_ {
            color: var(--code-function) !important;
        }

        [data-theme="dark"] .hljs-number {
            color: var(--code-number) !important;
        }

        [data-theme="dark"] .hljs-class,
        [data-theme="dark"] .hljs-title {
            color: var(--code-class) !important;
        }

        [data-theme="dark"] .hljs-tag,
        [data-theme="dark"] .hljs-name {
            color: var(--code-tag) !important;
        }

        [data-theme="dark"] .hljs-attr {
            color: var(--code-attr) !important;
        }

        [data-theme="dark"] .hljs-operator {
            color: var(--code-operator) !important;
        }

        [data-theme="dark"] .hljs-punctuation {
            color: var(--code-punctuation) !important;
        }

        [data-theme="dark"] .hljs-params {
            color: var(--code-text-color) !important;
        }

        .sandbox-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            z-index: 1000;
            display: none;
            flex-direction: column;
        }
        
        .sandbox-container.active {
            display: flex;
        }
        
        .sandbox-back-btn {
            position: absolute;
            top: 16px;
            left: 16px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #000;
            color: white;
            border: none;
            cursor: pointer;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            transition: transform 0.2s, background-color 0.2s;
        }
        
        .sandbox-back-btn:hover {
            background-color: #333;
            transform: scale(1.05);
        }
        
        .sandbox-iframe {
            flex: 1;
            width: 100%;
            border: none;
        }
        
        [data-theme="dark"] .sandbox-container {
            background-color: #1a1a1a;
        }
        
        [data-theme="dark"] .sandbox-back-btn {
            background-color: #333;
        }
        
        [data-theme="dark"] .sandbox-back-btn:hover {
            background-color: #555;
        }