/**
 * VBA入门教程 - 速查面板样式
 * 浮动按钮 | 速查面板 | 代码片段 | 演练场 | 错误诊断 | 学习路径
 * @version 1.1.0 - 颜色风格统一为Excel绿色主题
 */

/* ==================== 浮动按钮 ==================== */
.quick-ref-float-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #217346 0%, #1a5c38 100%);
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(33, 115, 70, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.quick-ref-float-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 115, 70, 0.5);
}

.quick-ref-float-btn:active {
    transform: scale(0.95);
}

.quick-ref-float-btn .btn-icon {
    font-size: 20px;
}

.quick-ref-float-btn .btn-text {
    font-size: 10px;
    font-weight: 500;
}

/* 按钮动画 */
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(33, 115, 70, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(33, 115, 70, 0.6); }
}

.quick-ref-float-btn.pulse {
    animation: pulse 2s infinite;
}

/* ==================== 速查面板 ==================== */
.quick-ref-panel {
    position: fixed;
    right: -50%;
    top: 0;
    width: 50%;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.quick-ref-panel.active {
    right: 0;
}

/* 遮罩层 */
.quick-ref-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-ref-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 面板头部 */
.quick-ref-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(135deg, #217346 0%, #1a5c38 100%);
    color: white;
    flex-shrink: 0;
}

.quick-ref-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.quick-ref-tab {
    padding: 6px 12px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-ref-tab:hover {
    background: rgba(255, 255, 255, 0.3);
}

.quick-ref-tab.active {
    background: white;
    color: #217346;
}

.quick-ref-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-ref-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 面板内容区 */
.quick-ref-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    overscroll-behavior: contain;
}

.quick-ref-page {
    display: none;
}

.quick-ref-page.active {
    display: block;
}

/* ==================== 代码片段标签页 ==================== */
.snippet-search {
    margin-bottom: 15px;
}

.snippet-search input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.snippet-search input:focus {
    border-color: #217346;
}

.snippet-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.snippet-cat {
    padding: 6px 14px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.snippet-cat:hover {
    border-color: #217346;
    color: #217346;
}

.snippet-cat.active {
    background: #217346;
    border-color: #217346;
    color: white;
}

.snippet-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snippet-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.snippet-item:hover {
    background: #fff;
    border-color: #217346;
    box-shadow: 0 2px 10px rgba(33, 115, 70, 0.1);
    transform: translateX(5px);
}

.snippet-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.snippet-item-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.snippet-item-cat {
    padding: 2px 8px;
    background: #217346;
    color: white;
    border-radius: 10px;
    font-size: 10px;
}

.snippet-item-preview {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 11px;
    color: #666;
    background: #fff;
    padding: 8px;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==================== 代码片段弹窗 ==================== */
.snippet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.snippet-modal.active {
    opacity: 1;
    visibility: visible;
}

.snippet-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.snippet-modal.active .snippet-modal-content {
    transform: scale(1);
}

.snippet-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(135deg, #217346 0%, #1a5c38 100%);
    color: white;
}

.snippet-modal-title {
    font-weight: 600;
    font-size: 16px;
}

.snippet-modal-close {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.snippet-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.snippet-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.snippet-code {
    background: #2d2d2d;
    color: #ccc;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    overflow-x: auto;
    margin-bottom: 15px;
}

.snippet-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.snippet-modal-footer {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.btn-copy, .btn-use {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy {
    background: #e0e0e0;
    color: #333;
}

.btn-copy:hover {
    background: #d0d0d0;
}

.btn-use {
    background: linear-gradient(135deg, #217346 0%, #1a5c38 100%);
    color: white;
}

.btn-use:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 115, 70, 0.3);
}

/* ==================== 代码片段悬停预览 ==================== */
.snippet-hover-preview {
    position: fixed;
    width: 400px;
    max-height: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
    animation: previewFadeIn 0.2s ease;
}

@keyframes previewFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.snippet-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, #217346 0%, #1a5c38 100%);
    color: white;
}

.snippet-preview-title {
    font-weight: 600;
    font-size: 14px;
}

.snippet-preview-hint {
    font-size: 12px;
    opacity: 0.8;
}

.snippet-preview-code {
    padding: 15px;
    background: #2d2d2d;
    max-height: 180px;
    overflow-y: auto;
}

.snippet-preview-code pre {
    margin: 0;
    background: transparent;
}

.snippet-preview-code code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    line-height: 1.5;
    color: #ccc;
}

.snippet-preview-desc {
    padding: 12px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ==================== 演练场标签页 ==================== */
.playground-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.playground-editor, .playground-output {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.editor-header, .output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #e9ecef;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
}

.editor-btn {
    padding: 5px 12px;
    border: none;
    background: #217346;
    color: white;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.editor-btn:hover {
    background: #1a5c38;
}

.editor-btn.secondary {
    background: #6c757d;
}

.editor-btn.secondary:hover {
    background: #5a6268;
}

.code-editor {
    width: 100%;
    height: 66.67vh;  /* 总高度的2/3 */
    min-height: 300px;
    padding: 15px;
    border: none;
    background: #2d2d2d;
    color: #ccc;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
}

.output-content {
    padding: 15px;
    min-height: 100px;
    background: #fff;
}

.output-placeholder {
    color: #999;
    text-align: center;
    padding: 30px;
}

.output-success {
    color: #217346;
    background: #d4edda;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.output-error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.output-info {
    color: #17a2b8;
    background: #d1ecf1;
    padding: 10px;
    border-radius: 5px;
}

.playground-examples {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.examples-header {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.examples-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.example-item {
    padding: 6px 12px;
    border: 1px solid #217346;
    background: white;
    color: #217346;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-item:hover {
    background: #217346;
    color: white;
}

/* ==================== 语法表标签页 ==================== */
.cheatsheet-search {
    margin-bottom: 15px;
}

.cheatsheet-search input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.cheatsheet-search input:focus {
    border-color: #217346;
}

.cheatsheet-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cheatsheet-section {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.cheatsheet-section-header {
    padding: 12px 15px;
    background: linear-gradient(135deg, #217346 0%, #1a5c38 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cheatsheet-section-content {
    padding: 15px;
}

.cheatsheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cheatsheet-table th,
.cheatsheet-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cheatsheet-table th {
    background: #e9ecef;
    font-weight: 600;
    color: #495057;
}

.cheatsheet-table tr:hover {
    background: #f1f3f4;
}

.cheatsheet-table code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
}

/* ==================== 错误诊断标签页 ==================== */
.error-diagnosis {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.error-search-box {
    display: flex;
    gap: 10px;
}

.error-search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.error-search-box input:focus {
    border-color: #dc3545;
}

.error-search-box button {
    padding: 12px 20px;
    border: none;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.common-errors-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.error-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.error-tag {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-tag:hover {
    background: #dc3545;
    color: white;
}

.error-result {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.error-result-item {
    margin-bottom: 20px;
}

.error-result-item:last-child {
    margin-bottom: 0;
}

.error-result-title {
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 10px;
    font-size: 16px;
}

.error-result-content {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.error-result-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.error-result-content li {
    margin-bottom: 5px;
}

.error-solution {
    background: #d4edda;
    border-left: 4px solid #217346;
    padding: 12px;
    border-radius: 5px;
    margin-top: 10px;
}

.error-solution-title {
    font-weight: 600;
    color: #155724;
    margin-bottom: 5px;
}

/* ==================== 学习路径标签页 ==================== */
.learning-path-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.path-header {
    background: linear-gradient(135deg, #217346 0%, #1a5c38 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.path-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.path-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.path-visualization {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.path-node {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
}

.path-node:last-child {
    margin-bottom: 0;
}

.path-node.completed {
    border-color: #217346;
    background: #d4edda;
}

.path-node.current {
    border-color: #217346;
    background: #e8f5e9;
    box-shadow: 0 2px 10px rgba(33, 115, 70, 0.2);
}

.path-node-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.path-node.completed .path-node-number {
    background: #217346;
    color: white;
}

.path-node.current .path-node-number {
    background: #217346;
    color: white;
}

.path-node-info {
    flex: 1;
}

.path-node-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.path-node-status {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.path-node-icon {
    font-size: 20px;
}

.path-recommendation {
    background: #fff3cd;
    border-left: 4px solid #ff6b35;
    padding: 15px;
    border-radius: 5px;
}

.path-recommendation-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 8px;
}

.path-recommendation-content {
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .quick-ref-panel {
        width: 100%;
        right: -100%;
    }

    .quick-ref-float-btn {
        right: 15px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }

    .quick-ref-float-btn .btn-text {
        display: none;
    }

    .quick-ref-tabs {
        gap: 3px;
    }

    .quick-ref-tab {
        padding: 5px 8px;
        font-size: 11px;
    }

    .snippet-modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* 滚动条样式 */
.quick-ref-content::-webkit-scrollbar {
    width: 6px;
}

.quick-ref-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.quick-ref-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.quick-ref-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ==================== 夜间模式适配 ==================== */
[data-theme="dark"] .quick-ref-panel {
    background: #1a1a2e;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .quick-ref-content {
    background: #1a1a2e;
}

[data-theme="dark"] .quick-ref-tab {
    background: rgba(78, 204, 163, 0.2);
    color: #eaeaea;
}

[data-theme="dark"] .quick-ref-tab.active {
    background: #4ecca3;
    color: #1a1a2e;
}

[data-theme="dark"] .snippet-search input,
[data-theme="dark"] .cheatsheet-search input,
[data-theme="dark"] .error-search-box input {
    background: #16213e;
    border-color: #2d2d44;
    color: #eaeaea;
}

[data-theme="dark"] .snippet-search input::placeholder,
[data-theme="dark"] .cheatsheet-search input::placeholder,
[data-theme="dark"] .error-search-box input::placeholder {
    color: #888;
}

[data-theme="dark"] .snippet-cat {
    background: #16213e;
    border-color: #2d2d44;
    color: #b8b8b8;
}

[data-theme="dark"] .snippet-cat:hover {
    border-color: #4ecca3;
    color: #4ecca3;
}

[data-theme="dark"] .snippet-cat.active {
    background: #4ecca3;
    border-color: #4ecca3;
    color: #1a1a2e;
}

[data-theme="dark"] .snippet-item {
    background: #16213e;
    border-color: transparent;
}

[data-theme="dark"] .snippet-item:hover {
    background: #0f3460;
    border-color: #4ecca3;
}

[data-theme="dark"] .snippet-item-title {
    color: #eaeaea;
}

[data-theme="dark"] .snippet-item-preview {
    background: #1a1a2e;
    color: #888;
}

[data-theme="dark"] .snippet-modal-content {
    background: #1a1a2e;
}

[data-theme="dark"] .snippet-modal-body {
    background: #1a1a2e;
}

[data-theme="dark"] .snippet-description {
    color: #b8b8b8;
}

[data-theme="dark"] .snippet-modal-footer {
    background: #16213e;
    border-top-color: #2d2d44;
}

[data-theme="dark"] .btn-copy {
    background: #2d2d44;
    color: #eaeaea;
}

[data-theme="dark"] .btn-copy:hover {
    background: #3d3d5c;
}

[data-theme="dark"] .snippet-hover-preview {
    background: #1a1a2e;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .snippet-preview-desc {
    background: #16213e;
    border-top-color: #2d2d44;
    color: #b8b8b8;
}

[data-theme="dark"] .playground-container .playground-editor,
[data-theme="dark"] .playground-container .playground-output,
[data-theme="dark"] .playground-examples {
    background: #16213e;
}

[data-theme="dark"] .editor-header,
[data-theme="dark"] .output-header {
    background: #0f3460;
    color: #eaeaea;
}

[data-theme="dark"] .output-content {
    background: #1a1a2e;
}

[data-theme="dark"] .output-placeholder {
    color: #888;
}

[data-theme="dark"] .examples-header {
    color: #eaeaea;
}

[data-theme="dark"] .example-item {
    background: #1a1a2e;
    border-color: #4ecca3;
    color: #4ecca3;
}

[data-theme="dark"] .example-item:hover {
    background: #4ecca3;
    color: #1a1a2e;
}

[data-theme="dark"] .cheatsheet-section {
    background: #16213e;
}

[data-theme="dark"] .cheatsheet-table th {
    background: #0f3460;
    color: #eaeaea;
}

[data-theme="dark"] .cheatsheet-table td {
    border-bottom-color: #2d2d44;
    color: #b8b8b8;
}

[data-theme="dark"] .cheatsheet-table tr:hover {
    background: rgba(78, 204, 163, 0.1);
}

[data-theme="dark"] .cheatsheet-table code {
    background: #0f3460;
    color: #4ecca3;
}

[data-theme="dark"] .common-errors-title {
    color: #eaeaea;
}

[data-theme="dark"] .error-tag {
    background: #16213e;
    border-color: #dc3545;
    color: #ff6b6b;
}

[data-theme="dark"] .error-tag:hover {
    background: #dc3545;
    color: white;
}

[data-theme="dark"] .error-result {
    background: #16213e;
}

[data-theme="dark"] .error-result-title {
    color: #ff6b6b;
}

[data-theme="dark"] .error-result-content {
    color: #b8b8b8;
}

[data-theme="dark"] .error-solution {
    background: rgba(78, 204, 163, 0.2);
    border-left-color: #4ecca3;
}

[data-theme="dark"] .error-solution-title {
    color: #4ecca3;
}

[data-theme="dark"] .path-visualization {
    background: #16213e;
}

[data-theme="dark"] .path-node {
    background: #1a1a2e;
    border-color: #2d2d44;
}

[data-theme="dark"] .path-node.completed {
    border-color: #4ecca3;
    background: rgba(78, 204, 163, 0.2);
}

[data-theme="dark"] .path-node.current {
    border-color: #4ecca3;
    background: rgba(78, 204, 163, 0.1);
    box-shadow: 0 2px 10px rgba(78, 204, 163, 0.2);
}

[data-theme="dark"] .path-node-number {
    background: #2d2d44;
    color: #b8b8b8;
}

[data-theme="dark"] .path-node.completed .path-node-number,
[data-theme="dark"] .path-node.current .path-node-number {
    background: #4ecca3;
    color: #1a1a2e;
}

[data-theme="dark"] .path-node-title {
    color: #eaeaea;
}

[data-theme="dark"] .path-node-status {
    color: #888;
}

[data-theme="dark"] .path-recommendation {
    background: rgba(255, 107, 53, 0.2);
    border-left-color: #ff6b35;
}

[data-theme="dark"] .path-recommendation-title,
[data-theme="dark"] .path-recommendation-content {
    color: #ffaa80;
}

[data-theme="dark"] .quick-ref-content::-webkit-scrollbar-track {
    background: #16213e;
}

[data-theme="dark"] .quick-ref-content::-webkit-scrollbar-thumb {
    background: #2d2d44;
}

[data-theme="dark"] .quick-ref-content::-webkit-scrollbar-thumb:hover {
    background: #3d3d5c;
}
