:root {
    --primary: #00f2ea;
    --primary-dim: #00f2ea20;
    --secondary: #ff0055;
    --accent: #7000ff;
    --bg-dark: #05050a;
    --bg-card: #10101a;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Navbar Theme Tokens */
    --bg-navbar: rgba(5, 5, 10, 0.8);
    --bg-navbar-scroll: rgba(5, 5, 10, 0.95);
    --nav-border: rgba(255, 255, 255, 0.05);
}

body.light-theme {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary-dim: #00f2ea25;

    /* Navbar Light Theme */
    --bg-navbar: rgba(248, 252, 252, 0.8);
    --bg-navbar-scroll: rgba(255, 255, 255, 0.98);
    --nav-border: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(112, 0, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(112, 0, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px var(--primary-dim);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: var(--bg-navbar);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--nav-border);
    transition: background 0.4s ease, padding 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.2;
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    bottom: 0;
    left: -50px;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 242, 234, 0.1);
    border: 1px solid rgba(0, 242, 234, 0.3);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features Grid */
.features {
    padding: 8rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-dim);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Courses Section */
.courses {
    padding: 8rem 0;
    background: #080810;
}

.course-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.course-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.course-image {
    height: 200px;
    background: #1a1a2e;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.course-image i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.course-card:hover .course-image i {
    transform: scale(1.2) rotate(10deg);
    color: rgba(255, 255, 255, 0.2);
}

.course-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-python {
    background: #3776AB;
    color: white;
}

.tag-selenium {
    background: #43B02A;
    color: white;
}

.tag-automation {
    background: var(--secondary);
    color: white;
}

.tag-js {
    background: #F7DF1E;
    color: black;
}

.tag-web {
    background: #007ACC;
    color: white;
}

.tag-sql {
    background: #FFD700;
    color: black;
}

.tag-db {
    background: #008080;
    color: white;
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-link-group h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-link-group ul li {
    margin-bottom: 0.8rem;
}

.footer-link-group a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-link-group a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nav-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: var(--primary);
}

body.light-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.03);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Course Detail Styles */
.lesson-grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 4rem;
}

.lesson-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.lesson-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

pre {
    background: #080810;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

code {
    color: var(--text-muted);
}

.keyword {
    color: var(--secondary);
}

.string {
    color: #43B02A;
}

.func {
    color: var(--primary);
}

.comment {
    color: #5c6370;
    font-style: italic;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.4);
}

/* Lesson Content Filter */
.lesson-card {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease-out;
}

.lesson-card.active {
    display: block;
    /* Show when active */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sub Tabs */
.sub-tabs-container {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 50px;
    display: inline-flex;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.sub-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.sub-tab-btn:hover {
    color: var(--text-main);
}

.sub-tab-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
}

.sub-lesson-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.sub-lesson-content.active {
    display: block;
}

/* Compiler Styles */
.compiler-container {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.compiler-iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    background: #1a1a2e;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-out;
}

.btn-compiler {
    background: #2D3748;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Custom Compiler Styles */
.custom-editor-container {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.editor-wrapper {
    display: flex;
    background: #080810;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 1rem;
    height: 380px;
    /* Comfortably shows ~17-18 lines */
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.line-numbers {
    padding: 1rem 0;
    background: #141426;
    color: #5c6370;
    text-align: right;
    min-width: 45px;
    user-select: none;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    flex-shrink: 0;
    height: 100%;
    /* Important for syncing */
}

.line-numbers div {
    padding: 0 0.5rem;
}

.code-textarea {
    flex: 1;
    height: 100% !important;
    background: transparent;
    color: #e0e0e0;
    border: none !important;
    padding: 1rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: none;
    outline: none;
    margin-bottom: 0;
    display: block;
    white-space: pre;
    overflow-x: auto;
    overflow-y: auto !important;
}

.code-textarea:focus {
    border-color: var(--primary);
}

.output-console {
    background: #000;
    color: #00ff00;
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    min-height: 60px;
    white-space: pre-wrap;
    margin-top: 1rem;
    border-left: 3px solid var(--primary);
}

.btn-run {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 8px 24px;
    font-weight: 700;
    width: 100%;
}

.btn-run:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 234, 0.4);
}

/* Floating Compiler Styles */
.custom-editor-container.floating {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    z-index: 10000;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary);
    background: #1a1a2e;
    border-radius: 8px;
    padding: 1rem;
    animation: fadeIn 0.5s ease-out;
}

/* Specific height for floating editor to show exactly ~15 lines */
.custom-editor-container.floating .editor-wrapper {
    height: 360px;
    min-height: 360px;
}

.compiler-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: move;
    /* Indicates draggable */
}

.compiler-title {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.compiler-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-float {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-float:hover,
.btn-float.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Progress Test Styles */
.progress-test-container {
    background: rgba(255, 255, 255, 0.05);
    /* Slight contrast */
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.progress-test-title {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.progress-test-list {
    list-style-type: none;
    padding-left: 0;
}

.progress-test-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-muted);
}

.progress-test-list li::before {
    content: "\f128";
    /* Question mark icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9rem;
    top: 4px;
}

.progress-test-list li.test-item::before {
    display: none;
    /* Remove default icon for test items since we have custom structure */
}

.test-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-left: -1.8rem;
    /* Counteract parent padding if needed, or adjust */
    width: calc(100% + 1.8rem);
}

.test-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
    min-width: 80px;
    margin-left: 1rem;
}

/* Test Status Feedback */
.test-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    display: none;
    border-left: 3px solid;
}

.test-status.success {
    display: block;
    background: rgba(67, 176, 42, 0.1);
    color: #43B02A;
    border-color: #43B02A;
}

.test-status.error {
    display: block;
    background: rgba(255, 0, 85, 0.1);
    color: #ff0055;
    border-color: #ff0055;
}

/* Question Viewer Styles */
.question-viewer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 1.5rem;
}

.question-header-nav {
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-content h4 {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #fff;
    font-family: var(--font-heading);
}

.question-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.solution-container {
    background: rgba(67, 176, 42, 0.05);
    border: 1px solid rgba(67, 176, 42, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    animation: fadeInQ 0.3s ease;
}

.solution-title {
    color: #43B02A;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

#solution-text {
    font-family: 'Fira Code', monospace;
    color: #e0e0e0;
    line-height: 1.6;
    white-space: pre-wrap;
}

@keyframes fadeInQ {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn.success {
    background: #43B02A !important;
    border-color: #43B02A !important;
    color: #fff !important;
}

.code-header-btns {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Compiler & Editor Styles */
.custom-editor-container {
    background: #0d0d1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.custom-editor-container.floating {
    position: fixed;
    z-index: 9999;
    width: 600px;
    max-width: 90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0f0f1f;
    border: 1px solid var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(112, 0, 255, 0.2);
}

.compiler-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: move;
}

.compiler-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.compiler-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-float {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-float:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-float.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-close,
.btn-close-test {
    background: rgba(255, 0, 85, 0.1);
    color: #ff0055;
}

.btn-close:hover,
.btn-close-test:hover {
    background: #ff0055;
    color: #fff;
}

.code-textarea {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #e0e0ed;
    padding: 1rem;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    margin-bottom: 1rem;
    outline: none;
}

.code-textarea:focus {
    border-color: rgba(112, 0, 255, 0.5);
}

.btn-run {
    width: 100%;
    margin-bottom: 1rem;
}

.output-console {
    background: #05050a;
    border-radius: 6px;
    padding: 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #43B02A;
    min-height: 80px;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.test-status {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    margin-right: 1rem;
    backdrop-filter: blur(5px);
}

.light-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--accent);
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 15px var(--primary-dim);
}

/* Specific Light Theme Overrides */
.light-theme .navbar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .hero::before,
.light-theme .hero::after {
    opacity: 0.05;
}

.light-theme .feature-card,
.light-theme .course-card,
.light-theme .lesson-card,
.light-theme .question-viewer-card {
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.light-theme pre,
.light-theme .code-textarea,
.light-theme .output-console {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

.light-theme .custom-editor-container {
    background: #ffffff;
}

.light-theme .custom-editor-container.floating {
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.light-theme .compiler-header {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.light-theme .btn-float {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Modal & Crypto Details Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow-y: auto;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.light-theme .modal-content {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    background: var(--secondary);
    color: white;
    transform: rotate(90deg);
}

.coin-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.detail-icon {
    font-size: 3.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
}

.detail-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

.detail-badge {
    background: var(--primary-dim);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.price-up {
    color: #14f195;
}

.price-down {
    color: #ff0055;
}

.chart-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.desc-section h3,
.news-section h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.desc-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid var(--accent);
}

.news-item p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Timeframe Selector Styles */
.timeframe-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px;
    border-radius: 12px;
    width: fit-content;
}

.tf-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tf-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.tf-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
}

.chart-price-summary {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.price-item {
    display: flex;
    flex-direction: column;
}

.price-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.price-item .value {
    font-weight: 700;
    color: var(--text-main);
}

.btn-details,
.btn-news,
.btn-primary,
.btn-outline,
.tab-btn,
.sub-tab-btn,
.btn-float,
.modal-close,
.theme-toggle-btn {
    cursor: pointer !important;
}

.btn-details {
    margin-top: 1.5rem;
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-news {
    margin-top: 0.8rem;
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    border-radius: 12px;
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(112, 0, 255, 0.2);
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.btn-news:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Search Bar Styles */
.search-container {
    margin-bottom: 3rem;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    display: none;
}
/* --- NAV PORTFOLIO STYLES --- */
.nav-portfolio {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nav-border);
    padding: 8px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    margin-left: 1rem;
}

body.light-theme .nav-portfolio {
    background: rgba(0, 0, 0, 0.03);
}

.nav-portfolio:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-dim);
}

.nav-portfolio-main {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-networth-wrap {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.nav-networth-value {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1;
}

.nav-portfolio-controls {
    display: flex;
    gap: 0.4rem;
    border-left: 1px solid var(--nav-border);
    padding-left: 0.6rem;
}

.nav-control-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nav-control-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-control-btn.active {
    color: var(--primary);
    background: var(--primary-dim);
}

/* Nav Dropdown */
.nav-portfolio-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--nav-border);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    text-align: left;
}

.nav-portfolio-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-header {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-growth {
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-asset-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-stat-item {
    display: flex;
    flex-direction: column;
}

.nav-stat-item .l { font-size: 0.7rem; color: var(--text-muted); }
.nav-stat-item .v { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

.nav-asset-pills {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.nav-asset-pills::-webkit-scrollbar {
    width: 4px;
}

.nav-asset-pills::-webkit-scrollbar-thumb {
    background: var(--primary-dim);
    border-radius: 10px;
}

.asset-pill {
    background: rgba(128, 128, 128, 0.05);
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--nav-border);
    transition: var(--transition);
}

.asset-pill:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 234, 0.05);
}

.pill-icon {
    font-size: 1.2rem;
}

.pill-info {
    flex: 1;
}

.pill-info .name {
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
}

.pill-info .amount {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.pill-delete {
    opacity: 0.4;
    cursor: pointer;
    transition: var(--transition);
}

.pill-delete:hover {
    opacity: 1;
    color: var(--secondary);
}

.hidden-value {
    filter: blur(10px);
    user-select: none;
}

/* Modals Refined */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--nav-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    max-width: 800px;
    width: 100%;
    animation: modalAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.asset-modal {
    max-width: 460px !important;
    padding: 2.5rem !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25) !important;
}

body.light-theme .asset-modal {
    background: #ffffff !important;
}

.coin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.coin-option {
    background: rgba(128, 128, 128, 0.04);
    border: 1px solid var(--nav-border);
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.coin-option:hover {
    background: rgba(128, 128, 128, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.coin-option.selected {
    background: var(--primary-dim);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-dim);
}

.coin-option i {
    font-size: 1.4rem;
    opacity: 0.7;
    transition: var(--transition);
}

.coin-option span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.modal-input-wrap {
    position: relative;
    margin-top: 0.5rem;
}

.modal-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.6;
}

.modal-input {
    width: 100%;
    background: rgba(128, 128, 128, 0.05) !important;
    border: 1px solid var(--nav-border) !important;
    padding: 15px 15px 15px 45px !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    outline: none !important;
}

.modal-input:focus {
    background: rgba(128, 128, 128, 0.08) !important;
    border-color: var(--primary) !important;
}
. c u s t o m - e d i t o r - c o n t a i n e r . f l o a t i n g   {  
         r e s i z e :   b o t h ;  
         o v e r f l o w :   a u t o ;   / *   R e q u i r e d   f o r   r e s i z e   t o   w o r k   * /  
         m i n - w i d t h :   4 0 0 p x ;  
         m i n - h e i g h t :   3 0 0 p x ;  
         m a x - w i d t h :   9 5 v w ;  
         m a x - h e i g h t :   9 5 v h ;  
 }  
  
 / *   N a v   D r o p d o w n   * /  
 . n a v - l i n k s   l i   {  
         p o s i t i o n :   r e l a t i v e ;  
 }  
  
 . d r o p d o w n - m e n u   {  
         d i s p l a y :   n o n e ;  
         p o s i t i o n :   a b s o l u t e ;  
         t o p :   1 0 0 % ;  
         l e f t :   5 0 % ;  
         t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ;  
         b a c k g r o u n d :   v a r ( - - b g - c a r d ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - n a v - b o r d e r ) ;  
         b o r d e r - r a d i u s :   8 p x ;  
         p a d d i n g :   0 . 5 r e m   0 ;  
         m i n - w i d t h :   2 2 0 p x ;  
         b o x - s h a d o w :   0   1 0 p x   3 0 p x   r g b a ( 0 , 0 , 0 , 0 . 5 ) ;  
         z - i n d e x :   1 1 0 0 ;  
         m a r g i n - t o p :   1 0 p x ;  
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ;  
 }  
  
 / *   T r i a n g l e   i n d i c a t o r   * /  
 . d r o p d o w n - m e n u : : b e f o r e   {  
         c o n t e n t :   ' ' ;  
         p o s i t i o n :   a b s o l u t e ;  
         t o p :   - 6 p x ;  
         l e f t :   5 0 % ;  
         t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ;  
         w i d t h :   0 ;  
         h e i g h t :   0 ;  
         b o r d e r - l e f t :   6 p x   s o l i d   t r a n s p a r e n t ;  
         b o r d e r - r i g h t :   6 p x   s o l i d   t r a n s p a r e n t ;  
         b o r d e r - b o t t o m :   6 p x   s o l i d   v a r ( - - n a v - b o r d e r ) ;  
 }  
  
 . n a v - l i n k s   l i : h o v e r   . d r o p d o w n - m e n u   {  
         d i s p l a y :   b l o c k ;  
         a n i m a t i o n :   f a d e I n   0 . 2 s   e a s e - o u t ;  
 }  
  
 . d r o p d o w n - i t e m   {  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 0 p x ;  
         p a d d i n g :   1 2 p x   2 0 p x ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         t r a n s i t i o n :   v a r ( - - t r a n s i t i o n ) ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   r g b a ( 2 5 5 , 2 5 5 , 2 5 5 , 0 . 0 2 ) ;  
 }  
  
 . d r o p d o w n - i t e m : l a s t - c h i l d   {  
         b o r d e r - b o t t o m :   n o n e ;  
 }  
  
 . d r o p d o w n - i t e m : h o v e r   {  
         b a c k g r o u n d :   r g b a ( 2 5 5 , 2 5 5 , 2 5 5 , 0 . 0 5 ) ;  
         c o l o r :   v a r ( - - p r i m a r y ) ;  
         p a d d i n g - l e f t :   2 5 p x ;   / *   S l i g h t   s l i d e   e f f e c t   * /  
 }  
  
 . d r o p d o w n - i t e m   i   {  
         w i d t h :   2 0 p x ;  
         t e x t - a l i g n :   c e n t e r ;  
         c o l o r :   v a r ( - - p r i m a r y ) ;  
         f o n t - s i z e :   0 . 9 r e m ;  
 }  
 
 . c u s t o m - e d i t o r - c o n t a i n e r . f l o a t i n g   { 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
 } 
 . c u s t o m - e d i t o r - c o n t a i n e r . f l o a t i n g   . e d i t o r - w r a p p e r   { 
         f l e x :   1 ; 
         h e i g h t :   a u t o   ! i m p o r t a n t ; 
         m i n - h e i g h t :   2 0 0 p x ; 
 } 
  
 / *   F L O A T I N G   R E S I Z E   &   D R A G   F I X E S   * /  
 . c u s t o m - e d i t o r - c o n t a i n e r . f l o a t i n g   {  
         p o s i t i o n :   f i x e d   ! i m p o r t a n t ;  
         t o p :   5 0 % ;  
         l e f t :   5 0 % ;  
         / *   N o   t r a n s f o r m   h e r e   -   m a n a g e d   b y   J S   t o   a l l o w   r e s i z i n g   * /  
         w i d t h :   6 0 0 p x ;  
         h e i g h t :   5 0 0 p x ;  
         r e s i z e :   n o n e ;  
         / *   W e   u s e   c u s t o m   h a n d l e   * /  
         b o x - s h a d o w :   0   1 0 p x   5 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 8 ) ;  
         b a c k g r o u n d :   # 1 a 1 a 2 e ;  
         z - i n d e x :   1 0 0 0 0 ;  
         d i s p l a y :   f l e x ;  
         f l e x - d i r e c t i o n :   c o l u m n ;  
 }  
  
 . r e s i z e - h a n d l e   {  
         p o s i t i o n :   a b s o l u t e ;  
         b o t t o m :   0 ;  
         r i g h t :   0 ;  
         w i d t h :   2 0 p x ;  
         h e i g h t :   2 0 p x ;  
         c u r s o r :   n w s e - r e s i z e ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   t r a n s p a r e n t   5 0 % ,   v a r ( - - p r i m a r y )   5 0 % ) ;  
         b o r d e r - r a d i u s :   0   0   8 p x   0 ;  
         z - i n d e x :   1 0 0 0 1 ;  
 }  
  
 / *   O V E R L A Y   E D I T O R   ( S y n t a x   H i g h l i g h t i n g )   * /  
 . e d i t o r - w r a p p e r   {  
         p o s i t i o n :   r e l a t i v e ;  
         / *   R e m o v e   o v e r f l o w   h i d d e n   t o   a l l o w   s t a c k i n g ,   m a n a g e   s p e c i f i c   o v e r f l o w s   * /  
         o v e r f l o w :   h i d d e n ;  
 }  
  
 / *   T h e   t e x t a r e a   i s   t r a n s p a r e n t   a n d   o n   t o p   * /  
 . c o d e - t e x t a r e a   {  
         p o s i t i o n :   a b s o l u t e ;  
         t o p :   0 ;  
         l e f t :   0 ;  
         w i d t h :   1 0 0 % ;  
         h e i g h t :   1 0 0 %   ! i m p o r t a n t ;  
         b a c k g r o u n d :   t r a n s p a r e n t   ! i m p o r t a n t ;  
         c o l o r :   t r a n s p a r e n t   ! i m p o r t a n t ;  
         / *   T e x t   i s   i n v i s i b l e   * /  
         c a r e t - c o l o r :   w h i t e ;  
         / *   C u r s o r   i s   v i s i b l e   * /  
         z - i n d e x :   2 ;  
         p a d d i n g :   1 r e m ;  
         / *   M u s t   m a t c h   b a c k d r o p   * /  
         f o n t - f a m i l y :   ' C o n s o l a s ' ,   ' M o n a c o ' ,   m o n o s p a c e ;  
         f o n t - s i z e :   0 . 9 r e m ;  
         l i n e - h e i g h t :   1 . 5 ;  
 }  
  
 / *   T h e   b a c k d r o p   c o n t a i n s   t h e   h i g h l i g h t e d   t e x t   * /  
 . c o d e - b a c k d r o p   {  
         p o s i t i o n :   a b s o l u t e ;  
         t o p :   0 ;  
         l e f t :   0 ;  
         w i d t h :   1 0 0 % ;  
         h e i g h t :   1 0 0 % ;  
         z - i n d e x :   1 ;  
         p a d d i n g :   1 r e m ;  
         / *   M u s t   m a t c h   t e x t a r e a   * /  
         f o n t - f a m i l y :   ' C o n s o l a s ' ,   ' M o n a c o ' ,   m o n o s p a c e ;  
         f o n t - s i z e :   0 . 9 r e m ;  
         l i n e - h e i g h t :   1 . 5 ;  
         b a c k g r o u n d :   # 0 8 0 8 1 0 ;  
         c o l o r :   # e 0 e 0 e 0 ;  
         w h i t e - s p a c e :   p r e ;  
         o v e r f l o w :   a u t o ;  
         p o i n t e r - e v e n t s :   n o n e ;  
         / *   L e t   c l i c k s   p a s s   t o   t e x t a r e a   * /  
 }  
  
 / *   M a t c h   h i g h l i g h t e d   g e n e r i c   w o r d s   * /  
 . h i g h l i g h t - m a t c h   {  
         b a c k g r o u n d - c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   0 ,   0 . 3 ) ;  
         b o r d e r - r a d i u s :   2 p x ;  
         b o x - s h a d o w :   0   0   2 p x   r g b a ( 2 5 5 ,   2 5 5 ,   0 ,   0 . 5 ) ;  
 }  
  
 / *   B a s e   s y n t a x   c o l o r s   f o r   t h e   b a c k d r o p   * /  
 . t - k e y w o r d   {  
         c o l o r :   # f f 0 0 5 5 ;  
         f o n t - w e i g h t :   b o l d ;  
 }  
  
 . t - s t r i n g   {  
         c o l o r :   # 4 3 B 0 2 A ;  
 }  
  
 . t - c o m m e n t   {  
         c o l o r :   # 5 c 6 3 7 0 ;  
         f o n t - s t y l e :   i t a l i c ;  
 }  
  
 . t - f u n c   {  
         c o l o r :   # 0 0 f 2 e a ;  
 }  
  
 . t - n u m   {  
         c o l o r :   # f 7 d f 1 e ;  
 }  
  
 / *   N a v i g a t i o n   D r o p d o w n   F i x   * /  
 . n a v - l i n k s   l i : h o v e r   . d r o p d o w n - m e n u   {  
         d i s p l a y :   n o n e ;  
         / *   D i s a b l e   h o v e r   * /  
 }  
  
 . d r o p d o w n - m e n u . s h o w   {  
         d i s p l a y :   b l o c k   ! i m p o r t a n t ;  
         a n i m a t i o n :   f a d e I n   0 . 2 s   e a s e - o u t ;  
 }  
  
 / *   A d j u s t   l i n e   n u m b e r s   t o   b e   s e p a r a t e   * /  
 . l i n e - n u m b e r s   {  
         z - i n d e x :   3 ;  
         b a c k g r o u n d :   # 1 4 1 4 2 6 ;  
 }  
 