/* Anomaly Detection Tutorial Styles */
.toc-container { background: var(--bs-tertiary-bg, #f8f9fa); border-radius: 8px; padding: 20px 30px; border-left: 4px solid #d32f2f; }
.toc-container h5 { color: #d32f2f; }
.toc-container a { text-decoration: none; color: inherit; }
.toc-container a:hover { color: #d32f2f; }

.key-concept { background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%); border-radius: 8px; padding: 20px; margin: 20px 0; border-left: 4px solid #d32f2f; }
[data-bs-theme='dark'] .key-concept { background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%); }
.key-concept h5 { color: #c62828; }
[data-bs-theme='dark'] .key-concept h5 { color: #ef9a9a; }

.formula-box, .concept-box { background: var(--bs-tertiary-bg, #fff); border: 1px solid var(--bs-border-color); border-radius: 8px; padding: 20px; height: 100%; }
.formula-box h5, .concept-box h5 { color: #c62828; border-bottom: 2px solid #d32f2f; padding-bottom: 10px; margin-bottom: 15px; }
.concept-box.highlight-box { border: 2px solid #d32f2f; background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%); }
[data-bs-theme='dark'] .concept-box.highlight-box { background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%); }

.interview-tip { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); border-radius: 8px; padding: 20px; border-left: 4px solid #43a047; }
[data-bs-theme='dark'] .interview-tip { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); }
.interview-tip h5 { color: #2e7d32; }
[data-bs-theme='dark'] .interview-tip h5 { color: #a5d6a7; }

.visualization-container { background: var(--bs-tertiary-bg, #fff); border: 1px solid var(--bs-border-color); border-radius: 8px; padding: 25px; }
.plot-wrapper { display: flex; justify-content: center; align-items: center; min-height: 280px; }

.tip-box { border-radius: 8px; padding: 20px; height: 100%; }
.tip-do { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); border-left: 4px solid #1976d2; }
.tip-do h5 { color: #1565c0; }
.tip-dont { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); border-left: 4px solid #f57c00; }
.tip-dont h5 { color: #e65100; }

.accordion-button:not(.collapsed) { background-color: #ffebee; color: #c62828; }
[data-bs-theme='dark'] .accordion-button:not(.collapsed) { background-color: #b71c1c; color: #ef9a9a; }

pre { background: #282c34; border-radius: 8px; padding: 15px; overflow-x: auto; }
pre code, pre code.hljs { background: transparent; color: #abb2bf; font-size: 0.9em; }
