/* ========================================
   NATURE OF CODE - KUVVETLER
   Türkçe İnteraktif Eğitim Sitesi
   ======================================== */

/* CSS Variables - Tema Renkleri */
:root {
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f6f8fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #888888;
    --accent-primary: #4f46e5;
    --accent-secondary: #6366f1;
    --accent-light: #e0e7ff;
    --border-color: #d1d5db;
    --code-bg: #f6f8fa;
    --code-text: #333333;
    --editor-bg: #ffffff;
    --editor-line-bg: #f1f3f5;
    --success-color: #22c55e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);

    /* Syntax Highlighting - Light */
    --hl-keyword: #d73a49;
    --hl-string: #22863a;
    --hl-number: #005cc5;
    --hl-comment: #6a737d;
    --hl-function: #6f42c1;
    --hl-method: #005cc5;
}

[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --accent-primary: #6366f1;
    --accent-secondary: #818cf8;
    --accent-light: #312e81;
    --border-color: #374151;
    --code-bg: #0d1117;
    --code-text: #e0e0e0;
    --editor-bg: #0d1117;
    --editor-line-bg: #161b22;
    --success-color: #4ade80;
    --error-color: #f87171;
    --warning-color: #fbbf24;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.4);

    /* Syntax Highlighting - Dark */
    --hl-keyword: #ff7b72;
    --hl-string: #a5d6ff;
    --hl-number: #79c0ff;
    --hl-comment: #8b949e;
    --hl-function: #d2a8ff;
    --hl-method: #79c0ff;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================
   HEADER
   ======================================== */
.main-header {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.header-content .subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ========================================
   HERO SECTION - KAPAK GÖRSELİ
   ======================================== */
.hero-section {
    margin-bottom: 2rem;
}

.hero-section .image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-section .content-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.hero-section figcaption {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    line-height: 1.7;
}

.hero-section figcaption strong {
    color: var(--accent-primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-section figcaption em {
    color: var(--accent-secondary);
}

/* ========================================
   INTRO SECTION
   ======================================== */
.intro-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.intro-section h2 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.concept-box {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--accent-primary);
}

.concept-box h3 {
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

.concept-box ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.concept-box li {
    margin-bottom: 0.5rem;
}

.concept-box pre {
    margin-top: 1rem;
}

/* ========================================
   TOPICS GRID
   ======================================== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.topic-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: block;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.topic-card h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.topic-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.topic-en {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.topic-level {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========================================
   RESOURCES SECTION
   ======================================== */
.resources-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.resources-section h2 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.resources-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.resource-link:hover {
    border-color: var(--accent-primary);
    background: var(--accent-light);
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: var(--bg-secondary);
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.contribution-notice {
    margin-top: 0.75rem;
}

/* ========================================
   PAGE HEADER (Konu Sayfaları)
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.page-header .back-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.page-header .back-link:hover {
    opacity: 1;
}

.page-header h1 {
    font-size: 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.content-section h2 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-light);
}

.content-section h3 {
    color: var(--accent-secondary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
}

.content-section ul, .content-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* ========================================
   CODE BLOCKS (Static)
   ======================================== */
pre {
    background: var(--code-bg);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

/* Genel code stili - sadece statik bloklar için */
pre > code,
:not(.code-highlight) > code {
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
}

:not(pre):not(.code-highlight) > code {
    background: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ========================================
   LIVE CODE EDITOR
   ======================================== */
.live-editor {
    background: var(--editor-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.editor-header {
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.editor-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
}

.editor-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}

.editor-tab:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.editor-tab.active {
    background: var(--editor-bg);
    color: var(--accent-primary);
    font-weight: 500;
}

.editor-actions {
    display: flex;
    gap: 0.5rem;
}

.editor-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-btn:active {
    transform: scale(0.98);
}

.btn-run {
    background: var(--success-color);
    color: white;
}

.btn-run:hover {
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.btn-reset {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-reset:hover {
    background: var(--bg-tertiary);
}

.editor-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

@media (max-width: 900px) {
    .editor-body {
        grid-template-columns: 1fr;
    }
}

.code-panel {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    overflow: hidden;
}

@media (max-width: 900px) {
    .code-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

.code-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 300px;
    max-height: 450px;
}

.line-numbers {
    background: var(--editor-line-bg);
    color: var(--text-muted);
    padding: 1rem 0.75rem;
    text-align: right;
    user-select: none;
    min-width: 50px;
    border-right: 1px solid var(--border-color);
    overflow: hidden;
    flex-shrink: 0;

    /* Font özellikleri - code editor ile eşleşmeli */
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.line-numbers span {
    display: block;
    height: calc(14px * 1.6); /* font-size * line-height */
    line-height: 1.6;
}

.code-editor {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: var(--editor-bg);
}

/* Syntax highlighted code overlay */
.code-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1rem;
    background: transparent;
    border: none;
    overflow: hidden; /* Scroll yapmaz, sadece textarea scroll eder */
    pointer-events: none;
    box-sizing: border-box;

    /* Font özellikleri - textarea ile AYNI olmalı */
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
    letter-spacing: normal;
    word-spacing: normal;
    tab-size: 2;
    -moz-tab-size: 2;
}

.code-highlight code {
    display: block;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;

    /* Font özellikleri - inherit değil, AÇIK belirt */
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
    letter-spacing: normal;
    word-spacing: normal;
    color: var(--code-text);
}

.code-editor textarea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1rem;
    background: transparent;
    color: transparent;
    -webkit-text-fill-color: transparent; /* Chrome/Safari için */
    caret-color: var(--code-text);
    border: none;
    outline: none;
    resize: none;
    overflow: auto;
    z-index: 1;
    box-sizing: border-box;

    /* Font özellikleri - highlight ile AYNI olmalı */
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
    letter-spacing: normal;
    word-spacing: normal;
    tab-size: 2;
    -moz-tab-size: 2;
}

.code-editor textarea::placeholder {
    color: var(--text-muted);
}

/* Scrollbar stilleri */
.code-editor textarea::-webkit-scrollbar,
.code-highlight::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.code-editor textarea::-webkit-scrollbar-track,
.code-highlight::-webkit-scrollbar-track {
    background: var(--editor-bg);
}

.code-editor textarea::-webkit-scrollbar-thumb,
.code-highlight::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.code-editor textarea::-webkit-scrollbar-thumb:hover,
.code-highlight::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Firefox scrollbar */
.code-editor textarea,
.code-highlight {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--editor-bg);
}

.preview-panel {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

.preview-header {
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.preview-canvas {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f0f0f0;
}

[data-theme="dark"] .preview-canvas {
    background: #1a1a1a;
}

.preview-canvas iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* ========================================
   SYNTAX HIGHLIGHTING
   ======================================== */
.hl-keyword {
    color: var(--hl-keyword);
    font-weight: 500;
}

.hl-string {
    color: var(--hl-string);
}

.hl-number {
    color: var(--hl-number);
}

.hl-comment {
    color: var(--hl-comment);
    font-style: italic;
}

.hl-function {
    color: var(--hl-function);
}

.hl-method {
    color: var(--hl-method);
}

/* ========================================
   TRY IT BOX
   ======================================== */
.try-box {
    background: linear-gradient(135deg, var(--accent-light), var(--bg-secondary));
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-primary);
}

.try-box h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.try-box ol, .try-box ul {
    margin-left: 1.5rem;
}

.try-box li {
    margin-bottom: 0.75rem;
}

.try-box strong {
    color: var(--accent-secondary);
}

.try-box .expectation {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   INFO BOXES
   ======================================== */
.info-box {
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.info-box.note {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--accent-primary);
}

.info-box.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning-color);
}

.info-box.tip {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success-color);
}

.info-box h4 {
    margin-bottom: 0.5rem;
}

/* ========================================
   FORMULA BOX
   ======================================== */
.formula-box {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
    border: 2px dashed var(--border-color);
}

.formula-box .formula {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-primary);
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
}

.formula-box .formula-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ========================================
   DATA TABLE
   ======================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--accent-primary);
}

.data-table tr:hover {
    background: var(--bg-tertiary);
}

.data-table td {
    color: var(--text-primary);
}

/* ========================================
   ENGLISH TERM LABELS
   ======================================== */
.term-en {
    font-size: 0.85em;
    color: var(--text-muted);
    font-weight: normal;
    font-style: italic;
}

h2 .term-en, h3 .term-en {
    margin-left: 0.5rem;
}

/* ========================================
   VECTOR DIAGRAM (SVG)
   ======================================== */
.vector-diagram {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.vector-svg {
    max-width: 100%;
    height: auto;
    min-height: 200px;
}

/* ========================================
   IMAGES
   ======================================== */
.content-image {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.image-container {
    text-align: center;
    margin: 1.5rem 0;
}

.image-container figcaption {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    font-style: italic;
}

/* ========================================
   NAVIGATION
   ======================================== */
.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.nav-link.prev:hover {
    transform: translateX(-4px);
}

.nav-link-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-link-title {
    font-weight: 500;
    color: var(--accent-primary);
}

/* ========================================
   EXPLANATION LIST
   ======================================== */
.explanation-list {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.explanation-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.explanation-item:last-child {
    border-bottom: none;
}

.explanation-item .line-ref {
    background: var(--accent-light);
    color: var(--accent-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.explanation-item .explanation-text {
    flex: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }

    .header-content h1 {
        font-size: 1.5rem;
    }

    .container, .page-container {
        padding: 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .page-navigation {
        flex-direction: column;
    }

    .nav-link {
        justify-content: center;
    }

    .editor-header {
        flex-direction: column;
        align-items: stretch;
    }

    .editor-tabs {
        justify-content: flex-start;
    }

    .editor-actions {
        justify-content: center;
    }
}

/* ========================================
   PRISM THEME OVERRIDES
   ======================================== */
[data-theme="light"] .token.comment {
    color: #6a737d;
}

[data-theme="light"] .token.keyword {
    color: #d73a49;
}

[data-theme="light"] .token.string {
    color: #22863a;
}

[data-theme="light"] .token.number {
    color: #e36209;
}

[data-theme="light"] .token.function {
    color: #6f42c1;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section {
    animation: fadeIn 0.4s ease;
}

.topic-card {
    animation: fadeIn 0.4s ease;
    animation-fill-mode: both;
}

.topic-card:nth-child(1) { animation-delay: 0.1s; }
.topic-card:nth-child(2) { animation-delay: 0.2s; }
.topic-card:nth-child(3) { animation-delay: 0.3s; }
.topic-card:nth-child(4) { animation-delay: 0.4s; }
.topic-card:nth-child(5) { animation-delay: 0.5s; }
.topic-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

