/* ==========================================================================
   LINUX MIND MAP & COMMANDS ARCHITECTURE - STYLESHEET
   Supports Normal Embedded View AND Fullscreen Viewport Mode (Slide 13 Layout)
   With Red Cross Close Button on Fullscreen, Centered Clean Tux Logo, and Interactivity
   ========================================================================== */

:root {
    --mindmap-bg: #090d16;
    --mindmap-canvas-bg: #070a11;
    --mindmap-grid-color: rgba(0, 200, 215, 0.04);
    --mindmap-text-main: #f1f5f9;
    --mindmap-text-muted: #94a3b8;
    --mindmap-border: #1e293b;
    
    /* Category Colors matching Slide 13 */
    --cat-file-viewing: #10b981;
    --cat-text-proc: #3b82f6;
    --cat-permissions: #a855f7;
    --cat-networking: #f97316;
    --cat-archiving: #ec4899;
    --cat-pkg-mgmt: #06b6d4;
    
    --cat-file-mgmt: #c084fc;
    --cat-user-mgmt: #2dd4bf;
    --cat-disk-sys: #3b82f6;
    --cat-proc-mgmt: #22c55e;
    --cat-sys-ctrl: #64748b;
    --cat-help-ref: #ef4444;

    --pill-bg: #0d131f;
    --pill-border: #232f45;
    --pill-hover: #162032;
    --desc-bg: #121824;
    --desc-border: #2a374f;
}

/* Page Wrapper */
.linux-page-wrap {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    box-sizing: border-box;
}

/* Hero Section */
.linux-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color, #1e293b);
}

.linux-hero-title-group {
    flex: 1;
    min-width: 320px;
}

.linux-hero-tag {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00c8d7;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.linux-hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    color: var(--text-main, #fff);
    display: flex;
    align-items: center;
    gap: 12px;
}

.linux-hero-title-bar {
    display: inline-block;
    width: 6px;
    height: 1.8rem;
    background: #f97316;
    border-radius: 2px;
}

.linux-hero-desc {
    color: var(--text-muted, #94a3b8);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 820px;
    margin: 0;
}

.linux-quick-stats {
    display: flex;
    gap: 12px;
    align-items: center;
}

.stat-chip {
    background: var(--bg-card, #131826);
    border: 1px solid var(--border-color, #232f45);
    padding: 8px 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-chip-num {
    font-family: 'Space Mono', monospace;
    font-weight: 900;
    font-size: 1.3rem;
    color: #00c8d7;
}

.stat-chip-label {
    font-size: 0.7rem;
    color: var(--text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Controls & Search Toolbar */
.linux-toolbar {
    background: #0d121c;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.toolbar-primary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.search-box-wrap {
    flex: 1;
    min-width: 280px;
    max-width: 580px;
    position: relative;
}

.search-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    opacity: 0.7;
}

.linux-search-input {
    width: 100%;
    background: #070a10;
    border: 1px solid #232f45;
    color: #f1f5f9;
    padding: 11px 40px 11px 40px;
    border-radius: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.linux-search-input:focus {
    outline: none;
    border-color: #00c8d7;
    box-shadow: 0 0 12px rgba(0, 200, 215, 0.3);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    display: none;
}

.search-clear-btn.active {
    display: block;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cyber {
    background: #141b2a;
    border: 1px solid #28374f;
    color: #e2e8f0;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.btn-cyber:hover {
    background: #1d273d;
    border-color: #00c8d7;
    color: #00c8d7;
    transform: translateY(-1px);
}

.btn-cyber.active {
    background: #00c8d7;
    color: #050811;
    border-color: #00c8d7;
    font-weight: 700;
}

/* Category Filter Chips Bar */
.category-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #232f45 transparent;
}

.filter-chip {
    white-space: nowrap;
    background: #080c14;
    border: 1px solid #1c2638;
    color: #94a3b8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-family: 'Space Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-chip:hover {
    color: #f1f5f9;
    border-color: #3b82f6;
}

.filter-chip.active {
    background: rgba(0, 200, 215, 0.15);
    color: #00c8d7;
    border-color: #00c8d7;
}

.filter-chip .chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* ==========================================================================
   MIND MAP VIEWPORT (NORMAL EMBEDDED & FULLSCREEN MODES)
   ========================================================================== */
.mindmap-viewport-wrapper {
    position: relative;
    width: 100%;
    height: 860px;
    background: var(--mindmap-canvas-bg);
    border: 2px solid #1c2638;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
    user-select: none;
    cursor: grab;
    transition: all 0.2s ease;
}

.mindmap-viewport-wrapper:active {
    cursor: grabbing;
}

/* When Fullscreen Mode is Active: covers whole screen edge-to-edge */
body.mindmap-fullscreen-active {
    overflow: hidden !important;
}

.mindmap-viewport-wrapper.is-fullscreen,
.mindmap-viewport-wrapper:fullscreen,
.mindmap-viewport-wrapper:-webkit-full-screen {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 9999999 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--mindmap-canvas-bg, #070a11) !important;
}

/* ==========================================================================
   RED CROSS CLOSE BUTTON (APPEARS AT TOP RIGHT CORNER IN FULLSCREEN MODE)
   ========================================================================== */
.mindmap-fullscreen-close {
    display: none;
    position: fixed !important;
    top: 20px !important;
    right: 24px !important;
    width: 48px !important;
    height: 48px !important;
    background: #dc2626 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000000 !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.65), 0 0 10px rgba(255, 255, 255, 0.4) !important;
}

.mindmap-viewport-wrapper.is-fullscreen .mindmap-fullscreen-close,
.mindmap-viewport-wrapper:fullscreen .mindmap-fullscreen-close,
.mindmap-viewport-wrapper:-webkit-full-screen .mindmap-fullscreen-close,
body.mindmap-fullscreen-active .mindmap-fullscreen-close {
    display: flex !important;
}

.mindmap-fullscreen-close:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.15) !important;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.95), 0 0 15px rgba(255, 255, 255, 0.8) !important;
}

.mindmap-fullscreen-close:active {
    transform: scale(0.95) !important;
}

/* Cyber Canvas Background Grid */
.mindmap-canvas-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 200, 215, 0.06) 0%, transparent 65%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    opacity: 0.85;
}

/* Pan & Zoom Controllable Surface */
.mindmap-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 1720px;
    height: 1380px;
    transform-origin: 0 0;
    will-change: transform;
    pointer-events: auto;
}

/* SVG Line Layer (Dashed rays & Connector Brackets) */
.mindmap-svg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mindmap-center-ray {
    stroke: #334155;
    stroke-width: 1.8;
    stroke-dasharray: 4, 4;
    fill: none;
    opacity: 0.65;
    transition: all 0.3s ease;
}

.mindmap-center-ray.highlighted {
    stroke: #00c8d7;
    stroke-width: 2.5;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(0, 200, 215, 0.8));
}

.branch-connector {
    stroke: #2a374f;
    stroke-width: 1.6;
    fill: none;
    transition: all 0.2s ease;
}

.branch-connector.highlighted {
    stroke: #00c8d7;
    stroke-width: 2.2;
    filter: drop-shadow(0 0 4px rgba(0, 200, 215, 0.6));
}

/* Floating Navigation & Zoom HUD (Bottom-Right) */
.mindmap-hud-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 50;
    background: rgba(13, 18, 28, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid #232f45;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.hud-btn {
    width: 36px;
    height: 36px;
    background: #121824;
    border: 1px solid #28374f;
    color: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.hud-btn:hover {
    background: #1e293b;
    border-color: #00c8d7;
    color: #00c8d7;
}

/* Floating Interaction Hint (Bottom-Left) */
.mindmap-hud-hint {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 50;
    background: rgba(13, 18, 28, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #232f45;
    padding: 8px 14px;
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: #94a3b8;
    pointer-events: none;
}

/* ==========================================================================
   CENTRAL HUB: ONLY LOGO AT CENTRE (COVERING THE DOTTED CIRCLE CLEANLY)
   ========================================================================== */
.mindmap-center-hub {
    position: absolute;
    left: 860px;
    top: 670px;
    transform: translate(-50%, -50%);
    width: 126px;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    cursor: pointer;
}

/* Dotted Circle Boundary */
.tux-outer-ring {
    position: absolute;
    inset: -4px;
    border: 2.5px dashed #64748b;
    border-radius: 50%;
    animation: rotateHubRing 45s linear infinite;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

@keyframes rotateHubRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mindmap-center-hub:hover .tux-outer-ring {
    border-color: #00c8d7;
}

/* Circular Badge: Tux fills circle cleanly right up to the dotted ring */
.tux-circle-badge {
    width: 126px;
    height: 126px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25), 0 0 15px rgba(0, 200, 215, 0.3);
    position: relative;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tux-circle-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    display: block;
}

.mindmap-center-hub:hover .tux-circle-badge {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(0, 200, 215, 0.6);
}

/* Redundant sub-text removed */
.tux-label-arc {
    display: none !important;
}

/* ==========================================================================
   CATEGORY CARDS (12 BOXES MATCHING SLIDE 13)
   ========================================================================== */
.mindmap-category-card {
    position: absolute;
    width: 170px;
    min-height: 82px;
    background: #0f1420;
    border-radius: 8px;
    border: 2px solid #334155;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 20;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.mindmap-category-card:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.category-icon {
    font-size: 1.45rem;
    margin-bottom: 4px;
    display: inline-block;
}

.category-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1.25;
}

/* Specific Category Accent Colors */
.cat-file-viewing { border-color: var(--cat-file-viewing); }
.cat-file-viewing:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.35); }

.cat-text-proc { border-color: var(--cat-text-proc); }
.cat-text-proc:hover { box-shadow: 0 0 20px rgba(59, 130, 246, 0.35); }

.cat-permissions { border-color: var(--cat-permissions); }
.cat-permissions:hover { box-shadow: 0 0 20px rgba(168, 85, 247, 0.35); }

.cat-networking { border-color: var(--cat-networking); }
.cat-networking:hover { box-shadow: 0 0 20px rgba(249, 115, 22, 0.35); }

.cat-archiving { border-color: var(--cat-archiving); }
.cat-archiving:hover { box-shadow: 0 0 20px rgba(236, 72, 153, 0.35); }

.cat-pkg-mgmt { border-color: var(--cat-pkg-mgmt); }
.cat-pkg-mgmt:hover { box-shadow: 0 0 20px rgba(6, 182, 212, 0.35); }

.cat-file-mgmt { border-color: var(--cat-file-mgmt); }
.cat-file-mgmt:hover { box-shadow: 0 0 20px rgba(192, 132, 252, 0.35); }

.cat-user-mgmt { border-color: var(--cat-user-mgmt); }
.cat-user-mgmt:hover { box-shadow: 0 0 20px rgba(45, 212, 191, 0.35); }

.cat-disk-sys { border-color: var(--cat-disk-sys); }
.cat-disk-sys:hover { box-shadow: 0 0 20px rgba(59, 130, 246, 0.35); }

.cat-proc-mgmt { border-color: var(--cat-proc-mgmt); }
.cat-proc-mgmt:hover { box-shadow: 0 0 20px rgba(34, 197, 94, 0.35); }

.cat-sys-ctrl { border-color: var(--cat-sys-ctrl); }
.cat-sys-ctrl:hover { box-shadow: 0 0 20px rgba(100, 116, 139, 0.35); }

.cat-help-ref { border-color: var(--cat-help-ref); }
.cat-help-ref:hover { box-shadow: 0 0 20px rgba(239, 68, 68, 0.35); }

/* ==========================================================================
   NODE CAPSULE PAIRS: COMMAND PILL + DESCRIPTION PILL
   ========================================================================== */
.mindmap-node-pair {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 15;
    transition: all 0.2s ease;
}

.mindmap-node-pair.dimmed {
    opacity: 0.18;
    filter: grayscale(80%);
}

.mindmap-node-pair.highlighted {
    opacity: 1;
    transform: scale(1.06);
    z-index: 45;
}

/* Command Pill (Terminal command badge) */
.cmd-pill {
    background: #0d121c;
    border: 1.5px solid #232f45;
    border-radius: 16px;
    padding: 4px 12px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cmd-pill:hover {
    background: #141c2d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.cmd-pill:active {
    transform: scale(0.96);
}

.cmd-pill.copied {
    border-color: #00ff66 !important;
    background: #062b14 !important;
    color: #00ff66 !important;
}

/* Description Capsule (Rounded label) */
.desc-capsule {
    background: #101622;
    border: 1.5px solid #243044;
    border-radius: 16px;
    padding: 4px 12px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #cbd5e1;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.18s ease;
}

.desc-capsule:hover {
    border-color: #475569;
    color: #ffffff;
}

/* Branch directional arrow (between Command and Description) */
.branch-arrow {
    color: #475569;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 900;
    pointer-events: none;
    user-select: none;
    transition: color 0.2s ease;
}

.mindmap-node-pair.highlighted .branch-arrow {
    color: #00c8d7;
}

/* Quick Copy Icon indicator */
.cmd-copy-icon {
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.15s ease;
    color: #00c8d7;
}

.cmd-pill:hover .cmd-copy-icon {
    opacity: 1;
}

/* ==========================================================================
   INTERACTIVE GRID VIEW (ALTERNATIVE FOR RAPID SEARCH & MOBILE)
   ========================================================================== */
.linux-grid-view {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.linux-grid-view.active {
    display: grid;
}

.grid-category-box {
    background: #0d121c;
    border: 1px solid #1e293b;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.grid-category-box:hover {
    transform: translateY(-2px);
    border-color: #2b3952;
}

.grid-category-header {
    padding: 12px 16px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #090e17;
}

.grid-cat-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.grid-cat-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    background: #172030;
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 10px;
}

.grid-cmd-list {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.grid-cmd-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 6px;
    background: #101622;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    cursor: pointer;
}

.grid-cmd-item:hover {
    background: #151d2d;
    border-color: #26354d;
}

.grid-cmd-code {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #00c8d7;
}

.grid-cmd-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: right;
    max-width: 55%;
}

/* ==========================================================================
   INTERACTIVE LIVE TERMINAL SANDBOX MODAL
   ========================================================================== */
.terminal-sandbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 12, 0.85);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.terminal-sandbox-modal.active {
    display: flex;
}

.terminal-window {
    width: 100%;
    max-width: 780px;
    background: #080d16;
    border: 2px solid #233148;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 200, 215, 0.2);
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #0e1522;
    border-bottom: 1px solid #1f2b3e;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}

.terminal-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.terminal-close-btn:hover {
    color: #f1f5f9;
}

.terminal-intel-bar {
    padding: 14px 20px;
    background: #0c121d;
    border-bottom: 1px solid #1a2538;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.intel-category-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: #00c8d7;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.intel-cmd-name {
    font-family: 'Space Mono', monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.intel-cmd-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.4;
}

.intel-cmd-flags {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #a78bfa;
    background: #141c2c;
    padding: 6px 10px;
    border-radius: 4px;
    border-left: 3px solid #a78bfa;
    margin-top: 4px;
}

.terminal-screen {
    padding: 20px;
    background: #05080e;
    min-height: 220px;
    max-height: 340px;
    overflow-y: auto;
    font-family: 'Space Mono', monospace;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.terminal-screen pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.terminal-footer-actions {
    padding: 12px 20px;
    background: #0e1522;
    border-top: 1px solid #1f2b3e;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Floating Toast */
.linux-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #00ff66;
    color: #050811;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 24px;
    box-shadow: 0 6px 25px rgba(0, 255, 102, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999999;
}

.linux-toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .mindmap-viewport-wrapper {
        height: 720px;
    }
}

@media (max-width: 768px) {
    .linux-hero-title {
        font-size: 1.6rem;
    }
    .mindmap-viewport-wrapper {
        height: 560px;
    }
}
