/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terminal-font-size: 18px;
}

body {
    font-family: 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
    background: #1e1e1e;
    color: #cccccc;
    overflow: hidden;
    height: 100vh;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

/* Apply default theme immediately */
body.theme-default {
    --bg-primary: #1e1e1e;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #333333;
    --text-primary: #cccccc;
    --text-secondary: #808080;
    --text-highlight: #00d4ff;
    --text-command: #ffd700;
    --text-success: #4EC9B0;
    --text-error: #ff6b6b;
    --text-warning: #ffd700;
    --text-directory: #00d4ff;
    --text-file: #e0e0e0;
    --text-executable: #4EC9B0;
    --scrollbar-track: #2d2d2d;
    --scrollbar-thumb: #555555;
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Apply default theme as fallback */
body {
    background: #1e1e1e;
    color: #cccccc;
}

/* Matrix Rain Background */
#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Boot Sequence */
.boot-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#boot-output {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #00ff00;
    text-align: left;
    white-space: pre-wrap;
    line-height: 1.4;
}

/* Terminal Container */
.terminal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    z-index: 100;
}

/* Terminal Window */
.terminal-window {
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

/* Terminal Header */
.terminal-header {
    background: #2d2d2d;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333333;
}

@keyframes rgb-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal-button.close {
    background: #ff5f56;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #27c93f;
}

.terminal-button:hover {
    opacity: 0.8;
}

.terminal-title {
    color: #cccccc;
    font-weight: normal;
    font-size: 16px;
    margin-left: auto;
    opacity: 0.7;
}

/* Terminal Body */
.terminal-body {
    padding: 16px;
    height: calc(100% - 45px);
    overflow-y: auto;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: var(--terminal-font-size);
}

/* Terminal Content */
.terminal-content {
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: var(--terminal-font-size);
}

/* Custom Scrollbar */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #555555;
    border-radius: 4px;
}

/* Input Line */
.input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
    position: relative;
    width: 100%;
}

.prompt {
    color: #cccccc;
    margin-right: 0;
    font-weight: normal;
    flex-shrink: 0;
    line-height: 1.6;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #cccccc;
    font-family: inherit;
    font-size: var(--terminal-font-size);
    outline: none;
    flex: 1;
    caret-color: #cccccc;
    caret-shape: block;
    animation: blink-caret 1s infinite;
    margin-left: 4px;
    line-height: 1.6;
    padding: 0;
}

.cursor {
    display: none;
}

@keyframes blink-caret {
    0%, 70% { caret-color: #cccccc; }
    71%, 100% { caret-color: transparent; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Text Colors and Effects */
.command {
    color: #ffd700;
}

/* Command Line Styling */
.command-line {
    margin: 8px 0 4px 0;
    padding: 4px 0;
    font-family: 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
    line-height: 1.4;
}

.command-prompt {
    color: #4EC9B0;
    font-weight: normal;
    margin-right: 8px;
}

.command-text {
    color: #ffd700;
    font-weight: normal;
}

/* Output Container Styling */
.output-container {
    margin: 0 0 16px 0;
    padding: 8px 0 0 0;
    border-left: 2px solid rgba(0, 212, 255, 0.3);
    padding-left: 12px;
}

.output-container:empty {
    margin: 0;
    padding: 0;
    border: none;
}

.success {
    color: #4EC9B0;
}

.error {
    color: #ff6b6b;
}

.warning {
    color: #ffd700;
}

.info {
    color: #808080;
}

.highlight {
    color: #00d4ff;
}

.directory {
    color: #00d4ff;
    font-weight: normal;
}

.file {
    color: #e0e0e0;
}

.executable {
    color: #4EC9B0;
}

.prompt-username {
    color: #4EC9B0;
}

.prompt-hostname {
    color: #00d4ff;
}

.prompt-separator {
    color: #cccccc;
}

.prompt-path {
    color: #00d4ff;
}

/* File Content Styling */
.file-content {
    color: #e0e0e0;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Clickable Links */
.link {
    color: #00d4ff;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.link:hover {
    color: #ffffff;
    text-decoration: none;
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}
.ascii-banner {
    font-size: 16px;
    line-height: 1.1;
    text-align: left;
    margin: 16px 0;
    color: #4EC9B0;
    text-shadow: 0 0 3px rgba(78, 201, 176, 0.2);
    white-space: pre;
    font-family: 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
    letter-spacing: -0.5px;
    display: block;
    overflow-x: auto;
}

@keyframes rgb-text {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    text-align: left;
    font-size: 20px;
    margin: 8px 0 16px 0;
    color: #569CD6;
}

/* Autocomplete Suggestions */
.suggestions {
    margin-top: 5px;
    padding: 4px 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-family: 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    color: #666666;
    font-style: italic;
    max-height: 100px;
    overflow-y: auto;
    opacity: 0.7;
}

.suggestion-item {
    padding: 1px 2px;
    cursor: pointer;
    display: inline;
    margin-right: 8px;
}

.suggestion-item:hover {
    background: transparent;
    color: #888888;
    text-decoration: underline;
}
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 50%,
        rgba(255, 255, 255, 0.01) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

/* Sound Toggle Button - Removed */
.sound-toggle {
    display: none;
}

/* Typing Animation */
.typing-effect {
    overflow: hidden;
    border-right: 2px solid #00ff00;
    white-space: nowrap;
    animation: typing 2s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00ff00 }
}

/* Glow Effects */
.glow {
    animation: glow-effect 4s ease-in-out infinite alternate;
}

@keyframes glow-effect {
    from { text-shadow: 0 0 2px rgba(78, 201, 176, 0.1); }
    to { text-shadow: 0 0 4px rgba(78, 201, 176, 0.2); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-container {
        width: 95%;
        height: 90vh;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .ascii-banner {
        font-size: 8px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .terminal-input {
        font-size: 12px;
    }
    
    .sound-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .terminal-container {
        width: 98%;
        height: 95vh;
    }
    
    .terminal-body {
        padding: 10px;
    }
    
    .ascii-banner {
        font-size: 6px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .terminal-input {
        font-size: 11px;
    }
    
    .terminal-header {
        padding: 8px 10px;
    }
    
    .terminal-title {
        font-size: 10px;
    }
}

/* File Tree Styles */
.tree-line {
    color: #666;
    margin: 0 5px;
}

.tree-item {
    margin: 2px 0;
}

/* Theme System */
body {
    transition: all 0.3s ease;
}

/* Default Theme */
body.theme-default {
    --bg-primary: #1e1e1e;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #333333;
    --text-primary: #cccccc;
    --text-secondary: #808080;
    --text-highlight: #00d4ff;
    --text-command: #ffd700;
    --text-success: #4EC9B0;
    --text-error: #ff6b6b;
    --text-warning: #ffd700;
    --text-directory: #00d4ff;
    --text-file: #e0e0e0;
    --text-executable: #4EC9B0;
    --scrollbar-track: #2d2d2d;
    --scrollbar-thumb: #555555;
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Light Theme */
body.theme-light {
    --bg-primary: #fafafa;
    --bg-secondary: #f0f0f0;
    --bg-tertiary: #e5e5e5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-highlight: #005a9e;
    --text-command: #005a9e;
    --text-success: #2d7d4a;
    --text-error: #cb2431;
    --text-warning: #b08800;
    --text-directory: #005a9e;
    --text-file: #333333;
    --text-executable: #2d7d4a;
    --scrollbar-track: #f0f0f0;
    --scrollbar-thumb: #b0b0b0;
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Dark Theme */
body.theme-dark {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-highlight: #00ffff;
    --text-command: #00ffff;
    --text-success: #00ff00;
    --text-error: #ff4444;
    --text-warning: #ffaa00;
    --text-directory: #00ffff;
    --text-file: #ffffff;
    --text-executable: #00ff00;
    --scrollbar-track: #141414;
    --scrollbar-thumb: #555555;
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Ubuntu Theme - Authentic Ubuntu Terminal Colors */
body.theme-ubuntu {
    --bg-primary: #300924;
    --bg-secondary: #3e2734;
    --bg-tertiary: #4a3441;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-highlight: #dd4814;
    --text-command: #dd4814;
    --text-success: #4e9a06;
    --text-error: #cc0000;
    --text-warning: #c4a000;
    --text-directory: #3465a4;
    --text-file: #ffffff;
    --text-executable: #4e9a06;
    --scrollbar-track: #3e2734;
    --scrollbar-thumb: #dd4814;
    --font-family: 'Ubuntu Mono', 'Ubuntu', 'Liberation Mono', 'DejaVu Sans Mono', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0;
}

/* Ubuntu Terminal Specific Styles */
body.theme-ubuntu .terminal-container {
    border-radius: 0;
    box-shadow: none;
    opacity: 0.95;
    backdrop-filter: blur(10px);
}

body.theme-ubuntu .terminal-window {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.theme-ubuntu .terminal-header {
    background: linear-gradient(to bottom, #3e2734, #2d1f2a);
    border-bottom: 1px solid #4a3441;
    padding: 8px 12px;
}

body.theme-ubuntu .terminal-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    opacity: 1;
}

body.theme-ubuntu .terminal-body {
    padding: 12px;
    height: calc(100% - 40px);
    background: #300924;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0;
}

body.theme-ubuntu .terminal-content {
    line-height: 1.2;
    font-size: 13px;
    letter-spacing: 0;
}

body.theme-ubuntu .prompt {
    color: #00d4ff;
    font-weight: bold;
    margin-right: 8px;
    font-size: var(--terminal-font-size);
}

body.theme-ubuntu .terminal-input {
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0;
    caret-color: #ffffff;
    cursor: block;
    animation: blink 800ms infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

body.theme-ubuntu .input-line {
    margin-top: 4px;
}

body.theme-ubuntu .terminal-body::-webkit-scrollbar {
    width: 12px;
}

body.theme-ubuntu .terminal-body::-webkit-scrollbar-track {
    background: #3e2734;
}

body.theme-ubuntu .terminal-body::-webkit-scrollbar-thumb {
    background: #dd4814;
    border-radius: 6px;
}

/* Ubuntu Terminal Colors */
body.theme-ubuntu .command {
    color: #dd4814;
}

body.theme-ubuntu .success {
    color: #4e9a06;
}

body.theme-ubuntu .error {
    color: #cc0000;
}

body.theme-ubuntu .warning {
    color: #c4a000;
}

body.theme-ubuntu .info {
    color: #cccccc;
}

body.theme-ubuntu .highlight {
    color: #dd4814;
}

body.theme-ubuntu .directory {
    color: #3465a4;
}

body.theme-ubuntu .file {
    color: #ffffff;
}

body.theme-ubuntu .executable {
    color: #4e9a06;
}

body.theme-ubuntu .prompt-username {
    color: #dd4814;
}

body.theme-ubuntu .prompt-hostname {
    color: #3465a4;
}

body.theme-ubuntu .prompt-separator {
    color: #ffffff;
}

body.theme-ubuntu .prompt-path {
    color: #3465a4;
}

/* Apply Ubuntu font to all terminal elements when Ubuntu theme is active */
body.theme-ubuntu .terminal-container,
body.theme-ubuntu .terminal-window,
body.theme-ubuntu .terminal-header,
body.theme-ubuntu .terminal-body,
body.theme-ubuntu .terminal-content,
body.theme-ubuntu .terminal-input,
body.theme-ubuntu .prompt,
body.theme-ubuntu .input-line,
body.theme-ubuntu .suggestions {
    font-family: var(--font-family);
}

/* Arch Linux Theme */
body.theme-arch {
    --bg-primary: #002b36;
    --bg-secondary: #003647;
    --bg-tertiary: #00415a;
    --text-primary: #839496;
    --text-secondary: #65737e;
    --text-highlight: #1793d1;
    --text-command: #1793d1;
    --text-success: #4ec9b0;
    --text-error: #dc322f;
    --text-warning: #f9a825;
    --text-directory: #5e81ac;
    --text-file: #839496;
    --text-executable: #4ec9b0;
    --scrollbar-track: #003647;
    --scrollbar-thumb: #1793d1;
    --font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Consolas', 'Courier New', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* Arch Linux Terminal Specific Styles */
body.theme-arch .terminal-container {
    border-radius: 0;
    box-shadow: none;
}

body.theme-arch .terminal-window {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.theme-arch .terminal-header {
    background: linear-gradient(to bottom, #003647, #002b36);
    border-bottom: 1px solid #00415a;
    padding: 8px 12px;
}

body.theme-arch .terminal-title {
    color: #839496;
    font-size: 14px;
    font-weight: normal;
    opacity: 1;
}

body.theme-arch .terminal-body {
    padding: 12px;
    height: calc(100% - 40px);
    background: #002b36;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

body.theme-arch .terminal-content {
    line-height: 1.4;
    font-size: 13px;
    letter-spacing: 0;
}

body.theme-arch .prompt {
    color: #1793d1;
    font-weight: bold;
    margin-right: 8px;
}

body.theme-arch .terminal-input {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    caret-color: #839496;
}

body.theme-arch .input-line {
    margin-top: 4px;
}

body.theme-arch .terminal-body::-webkit-scrollbar {
    width: 12px;
}

body.theme-arch .terminal-body::-webkit-scrollbar-track {
    background: #003647;
}

body.theme-arch .terminal-body::-webkit-scrollbar-thumb {
    background: #1793d1;
    border-radius: 6px;
}

/* Arch Linux Terminal Colors */
body.theme-arch .command {
    color: #1793d1;
}

body.theme-arch .success {
    color: #4ec9b0;
}

body.theme-arch .error {
    color: #dc322f;
}

body.theme-arch .warning {
    color: #f9a825;
}

body.theme-arch .info {
    color: #65737e;
}

body.theme-arch .highlight {
    color: #1793d1;
}

body.theme-arch .directory {
    color: #5e81ac;
}

body.theme-arch .file {
    color: #839496;
}

body.theme-arch .executable {
    color: #4ec9b0;
}

body.theme-arch .prompt-username {
    color: #1793d1;
}

body.theme-arch .prompt-hostname {
    color: #5e81ac;
}

body.theme-arch .prompt-separator {
    color: #839496;
}

body.theme-arch .prompt-path {
    color: #5e81ac;
}

/* Apply Arch Linux font to all terminal elements when Arch theme is active */
body.theme-arch .terminal-container,
body.theme-arch .terminal-window,
body-arch .terminal-header,
body.theme-arch .terminal-body,
body.theme-arch .terminal-content,
body.theme-arch .terminal-input,
body.theme-arch .prompt,
body.theme-arch .input-line,
body.theme-arch .suggestions {
    font-family: var(--font-family);
}

/* Kali Linux Theme */
body.theme-kali {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #00ff00;
    --text-secondary: #00cc00;
    --text-highlight: #00ffff;
    --text-command: #00ff00;
    --text-success: #00ff00;
    --text-error: #ff0066;
    --text-warning: #ffaa00;
    --text-directory: #00ffff;
    --text-file: #00ff00;
    --text-executable: #00ff00;
    --scrollbar-track: #1a1a1a;
    --scrollbar-thumb: #00ff00;
    --font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Consolas', 'Courier New', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* Kali Linux Terminal Specific Styles */
body.theme-kali .terminal-container {
    border-radius: 0;
    box-shadow: none;
}

body.theme-kali .terminal-window {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.theme-kali .terminal-header {
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    border-bottom: 1px solid #00ff00;
    padding: 8px 12px;
    box-shadow: 0 2px 10px rgba(0, 255, 0, 0.1);
}

body.theme-kali .terminal-title {
    color: #00ff00;
    font-size: 14px;
    font-weight: bold;
    opacity: 1;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

body.theme-kali .terminal-body {
    padding: 12px;
    height: calc(100% - 40px);
    background: #0a0a0a;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.05);
}

body.theme-kali .terminal-content {
    line-height: 1.4;
    font-size: 13px;
    letter-spacing: 0;
}

body.theme-kali .prompt {
    color: #00ff00;
    font-weight: bold;
    margin-right: 8px;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .terminal-input {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    caret-color: #00ff00;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .input-line {
    margin-top: 4px;
}

body.theme-kali .terminal-body::-webkit-scrollbar {
    width: 12px;
}

body.theme-kali .terminal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
}

body.theme-kali .terminal-body::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Kali Linux Terminal Colors */
body.theme-kali .command {
    color: #00ff00;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .success {
    color: #00ff00;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .error {
    color: #ff0066;
    text-shadow: 0 0 3px rgba(255, 0, 102, 0.3);
}

body.theme-kali .warning {
    color: #ffaa00;
    text-shadow: 0 0 3px rgba(255, 170, 0, 0.3);
}

body.theme-kali .info {
    color: #00cc00;
    text-shadow: 0 0 3px rgba(0, 204, 0, 0.3);
}

body.theme-kali .highlight {
    color: #00ffff;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
}

body.theme-kali .directory {
    color: #00ffff;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
}

body.theme-kali .file {
    color: #00ff00;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .executable {
    color: #00ff00;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .prompt-username {
    color: #00ff00;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .prompt-hostname {
    color: #00ffff;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
}

body.theme-kali .prompt-separator {
    color: #00ff00;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

body.theme-kali .prompt-path {
    color: #00ffff;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
}

body.theme-kali .prompt-special {
    color: #ff0066;
    text-shadow: 0 0 3px rgba(255, 0, 102, 0.3);
}

/* Kali Linux Terminal Button Styling */
body.theme-kali .terminal-button.close {
    background: #ff0066;
    box-shadow: 0 0 5px rgba(255, 0, 102, 0.5);
}

body.theme-kali .terminal-button.minimize {
    background: #ffaa00;
    box-shadow: 0 0 5px rgba(255, 170, 0, 0.5);
}

body.theme-kali .terminal-button.maximize {
    background: #00ff00;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

body.theme-kali .terminal-button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Apply Kali Linux font to all terminal elements when Kali theme is active */
body.theme-kali .terminal-container,
body.theme-kali .terminal-window,
body.theme-kali .terminal-header,
body.theme-kali .terminal-body,
body.theme-kali .terminal-content,
body.theme-kali .terminal-input,
body.theme-kali .prompt,
body.theme-kali .input-line,
body.theme-kali .suggestions {
    font-family: var(--font-family);
}

/* Linux Mint Theme */
body.theme-mint {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-highlight: #87cf3e;
    --text-command: #87cf3e;
    --text-success: #87cf3e;
    --text-error: #ff6b6b;
    --text-warning: #f9a825;
    --text-directory: #4fc3f7;
    --text-file: #ffffff;
    --text-executable: #87cf3e;
    --scrollbar-track: #2d2d2d;
    --scrollbar-thumb: #87cf3e;
    --font-family: 'Ubuntu Mono', 'Ubuntu', 'Liberation Mono', 'DejaVu Sans Mono', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* Linux Mint Terminal Specific Styles */
body.theme-mint .terminal-container {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.theme-mint .terminal-window {
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.theme-mint .terminal-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-bottom: 1px solid #87cf3e;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 8px rgba(135, 207, 62, 0.15);
}

body.theme-mint .terminal-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.theme-mint .terminal-body {
    padding: 14px;
    height: calc(100% - 46px);
    background: #1a1a1a;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.theme-mint .terminal-content {
    line-height: 1.4;
    font-size: 13px;
    letter-spacing: 0;
}

body.theme-mint .prompt {
    color: #87cf3e;
    font-weight: 600;
    margin-right: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.theme-mint .terminal-input {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    caret-color: #87cf3e;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.theme-mint .input-line {
    margin-top: 6px;
    padding-bottom: 2px;
}

body.theme-mint .terminal-body::-webkit-scrollbar {
    width: 14px;
}

body.theme-mint .terminal-body::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 7px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

body.theme-mint .terminal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #87cf3e 0%, #6ab32e 100%);
    border-radius: 7px;
    border: 2px solid #2d2d2d;
    box-shadow: 0 2px 4px rgba(135, 207, 62, 0.3);
}

body.theme-mint .terminal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9dd94f 0%, #7bc238 100%);
    box-shadow: 0 2px 6px rgba(135, 207, 62, 0.4);
}

/* Linux Mint Terminal Colors */
body.theme-mint .command {
    color: #87cf3e;
    font-weight: 500;
}

body.theme-mint .success {
    color: #87cf3e;
    font-weight: 500;
}

body.theme-mint .error {
    color: #ff6b6b;
    font-weight: 500;
}

body.theme-mint .warning {
    color: #f9a825;
    font-weight: 500;
}

body.theme-mint .info {
    color: #cccccc;
    font-weight: 400;
}

body.theme-mint .highlight {
    color: #87cf3e;
    font-weight: 600;
}

body.theme-mint .directory {
    color: #4fc3f7;
    font-weight: 500;
}

body.theme-mint .file {
    color: #ffffff;
    font-weight: 400;
}

body.theme-mint .executable {
    color: #87cf3e;
    font-weight: 500;
}

body.theme-mint .prompt-username {
    color: #87cf3e;
    font-weight: 600;
}

body.theme-mint .prompt-hostname {
    color: #4fc3f7;
    font-weight: 500;
}

body.theme-mint .prompt-separator {
    color: #ffffff;
    font-weight: 400;
}

body.theme-mint .prompt-path {
    color: #4fc3f7;
    font-weight: 500;
}

/* Linux Mint Terminal Button Styling */
body.theme-mint .terminal-button.close {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-mint .terminal-button.minimize {
    background: linear-gradient(135deg, #f9a825 0%, #f57c00 100%);
    box-shadow: 0 2px 6px rgba(249, 168, 37, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-mint .terminal-button.maximize {
    background: linear-gradient(135deg, #87cf3e 0%, #6ab32e 100%);
    box-shadow: 0 2px 6px rgba(135, 207, 62, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-mint .terminal-button:hover {
    opacity: 0.85;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

body.theme-mint .terminal-button:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/* Linux Mint Terminal Selection Styling */
body.theme-mint ::selection {
    background: rgba(135, 207, 62, 0.3);
    color: #ffffff;
}

body.theme-mint ::-moz-selection {
    background: rgba(135, 207, 62, 0.3);
    color: #ffffff;
}

/* Linux Mint Terminal Focus Styling */
body.theme-mint .terminal-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(135, 207, 62, 0.2);
    border-radius: 3px;
}

/* Apply Linux Mint font to all terminal elements when Mint theme is active */
body.theme-mint .terminal-container,
body.theme-mint .terminal-window,
body.theme-mint .terminal-header,
body.theme-mint .terminal-body,
body.theme-mint .terminal-content,
body.theme-mint .terminal-input,
body.theme-mint .prompt,
body.theme-mint .input-line,
body.theme-mint .suggestions {
    font-family: var(--font-family);
}

/* Manjaro Linux Theme */
body.theme-manjaro {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-highlight: #34be5b;
    --text-command: #34be5b;
    --text-success: #34be5b;
    --text-error: #ff6b6b;
    --text-warning: #f9a825;
    --text-directory: #4fc3f7;
    --text-file: #ffffff;
    --text-executable: #34be5b;
    --scrollbar-track: #2d2d2d;
    --scrollbar-thumb: #34be5b;
    --font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Consolas', 'Courier New', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* Manjaro Linux Terminal Specific Styles */
body.theme-manjaro .terminal-container {
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.theme-manjaro .terminal-window {
    border: 1px solid #34be5b;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(52, 190, 91, 0.2);
}

body.theme-manjaro .terminal-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-bottom: 2px solid #34be5b;
    padding: 10px 16px;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 8px rgba(52, 190, 91, 0.15);
}

body.theme-manjaro .terminal-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.theme-manjaro .terminal-body {
    padding: 14px;
    height: calc(100% - 46px);
    background: #1a1a1a;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    border-radius: 0 0 6px 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.theme-manjaro .terminal-content {
    line-height: 1.4;
    font-size: 13px;
    letter-spacing: 0;
}

body.theme-manjaro .prompt {
    color: #34be5b;
    font-weight: 600;
    margin-right: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.theme-manjaro .terminal-input {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    caret-color: #34be5b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.theme-manjaro .input-line {
    margin-top: 6px;
    padding-bottom: 2px;
}

body.theme-manjaro .terminal-body::-webkit-scrollbar {
    width: 14px;
}

body.theme-manjaro .terminal-body::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 7px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

body.theme-manjaro .terminal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #34be5b 0%, #2ba048 100%);
    border-radius: 7px;
    border: 2px solid #2d2d2d;
    box-shadow: 0 2px 4px rgba(52, 190, 91, 0.3);
}

body.theme-manjaro .terminal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4dd06b 0%, #3cb058 100%);
    box-shadow: 0 2px 6px rgba(52, 190, 91, 0.4);
}

/* Manjaro Linux Terminal Colors */
body.theme-manjaro .command {
    color: #34be5b;
    font-weight: 500;
}

body.theme-manjaro .success {
    color: #34be5b;
    font-weight: 500;
}

body.theme-manjaro .error {
    color: #ff6b6b;
    font-weight: 500;
}

body.theme-manjaro .warning {
    color: #f9a825;
    font-weight: 500;
}

body.theme-manjaro .info {
    color: #cccccc;
    font-weight: 400;
}

body.theme-manjaro .highlight {
    color: #34be5b;
    font-weight: 600;
}

body.theme-manjaro .directory {
    color: #4fc3f7;
    font-weight: 500;
}

body.theme-manjaro .file {
    color: #ffffff;
    font-weight: 400;
}

body.theme-manjaro .executable {
    color: #34be5b;
    font-weight: 500;
}

body.theme-manjaro .prompt-username {
    color: #34be5b;
    font-weight: 600;
}

body.theme-manjaro .prompt-hostname {
    color: #34be5b;
    font-weight: 500;
}

body.theme-manjaro .prompt-separator {
    color: #ffffff;
    font-weight: 400;
}

body.theme-manjaro .prompt-path {
    color: #4fc3f7;
    font-weight: 500;
}

/* Manjaro Linux Terminal Button Styling */
body.theme-manjaro .terminal-button.close {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-manjaro .terminal-button.minimize {
    background: linear-gradient(135deg, #f9a825 0%, #f57c00 100%);
    box-shadow: 0 2px 6px rgba(249, 168, 37, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-manjaro .terminal-button.maximize {
    background: linear-gradient(135deg, #34be5b 0%, #2ba048 100%);
    box-shadow: 0 2px 6px rgba(52, 190, 91, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-manjaro .terminal-button:hover {
    opacity: 0.85;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

body.theme-manjaro .terminal-button:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/* Manjaro Linux Terminal Selection Styling */
body.theme-manjaro ::selection {
    background: rgba(52, 190, 91, 0.3);
    color: #ffffff;
}

body.theme-manjaro ::-moz-selection {
    background: rgba(52, 190, 91, 0.3);
    color: #ffffff;
}

/* Manjaro Linux Terminal Focus Styling */
body.theme-manjaro .terminal-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 190, 91, 0.2);
    border-radius: 3px;
}

/* Apply Manjaro Linux font to all terminal elements when Manjaro theme is active */
body.theme-manjaro .terminal-container,
body.theme-manjaro .terminal-window,
body.theme-manjaro .terminal-header,
body.theme-manjaro .terminal-body,
body.theme-manjaro .terminal-content,
body.theme-manjaro .terminal-input,
body.theme-manjaro .prompt,
body.theme-manjaro .input-line,
body.theme-manjaro .suggestions {
    font-family: var(--font-family);
}

/* Fedora Linux Theme */
body.theme-fedora {
    --bg-primary: #072c61;
    --bg-secondary: #0b57a4;
    --bg-tertiary: #1a6fc4;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-highlight: #0b57a4;
    --text-command: #0b57a4;
    --text-success: #34be5b;
    --text-error: #ff6b6b;
    --text-warning: #f9a825;
    --text-directory: #4fc3f7;
    --text-file: #ffffff;
    --text-executable: #34be5b;
    --scrollbar-track: #0b57a4;
    --scrollbar-thumb: #0b57a4;
    --font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Consolas', 'Courier New', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* Fedora Linux Terminal Specific Styles */
body.theme-fedora .terminal-container {
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.theme-fedora .terminal-window {
    border: 1px solid #0b57a4;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(11, 87, 164, 0.2);
}

body.theme-fedora .terminal-header {
    background: linear-gradient(135deg, #0b57a4 0%, #072c61 100%);
    border-bottom: 2px solid #0b57a4;
    padding: 10px 16px;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 8px rgba(11, 87, 164, 0.15);
}

body.theme-fedora .terminal-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.theme-fedora .terminal-body {
    padding: 14px;
    height: calc(100% - 46px);
    background: #072c61;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    border-radius: 0 0 6px 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.theme-fedora .terminal-content {
    line-height: 1.4;
    font-size: 13px;
    letter-spacing: 0;
}

body.theme-fedora .prompt {
    color: #0b57a4;
    font-weight: 600;
    margin-right: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.theme-fedora .terminal-input {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    caret-color: #0b57a4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.theme-fedora .input-line {
    margin-top: 6px;
    padding-bottom: 2px;
}

body.theme-fedora .terminal-body::-webkit-scrollbar {
    width: 14px;
}

body.theme-fedora .terminal-body::-webkit-scrollbar-track {
    background: #0b57a4;
    border-radius: 7px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

body.theme-fedora .terminal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0b57a4 0%, #072c61 100%);
    border-radius: 7px;
    border: 2px solid #072c61;
    box-shadow: 0 2px 4px rgba(11, 87, 164, 0.3);
}

body.theme-fedora .terminal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1a6fc4 0%, #0d6bb5 100%);
    box-shadow: 0 2px 6px rgba(11, 87, 164, 0.4);
}

/* Fedora Linux Terminal Colors */
body.theme-fedora .command {
    color: #0b57a4;
    font-weight: 500;
}

body.theme-fedora .success {
    color: #34be5b;
    font-weight: 500;
}

body.theme-fedora .error {
    color: #ff6b6b;
    font-weight: 500;
}

body.theme-fedora .warning {
    color: #f9a825;
    font-weight: 500;
}

body.theme-fedora .info {
    color: #cccccc;
    font-weight: 400;
}

body.theme-fedora .highlight {
    color: #0b57a4;
    font-weight: 600;
}

body.theme-fedora .directory {
    color: #4fc3f7;
    font-weight: 500;
}

body.theme-fedora .file {
    color: #ffffff;
    font-weight: 400;
}

body.theme-fedora .executable {
    color: #34be5b;
    font-weight: 500;
}

body.theme-fedora .prompt-username {
    color: #0b57a4;
    font-weight: 600;
}

body.theme-fedora .prompt-hostname {
    color: #0b57a4;
    font-weight: 500;
}

body.theme-fedora .prompt-separator {
    color: #ffffff;
    font-weight: 400;
}

body.theme-fedora .prompt-path {
    color: #4fc3f7;
    font-weight: 500;
}

/* Fedora Linux Terminal Button Styling */
body.theme-fedora .terminal-button.close {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-fedora .terminal-button.minimize {
    background: linear-gradient(135deg, #f9a825 0%, #f57c00 100%);
    box-shadow: 0 2px 6px rgba(249, 168, 37, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-fedora .terminal-button.maximize {
    background: linear-gradient(135deg, #0b57a4 0%, #072c61 100%);
    box-shadow: 0 2px 6px rgba(11, 87, 164, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-fedora .terminal-button:hover {
    opacity: 0.85;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

body.theme-fedora .terminal-button:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/* Fedora Linux Terminal Selection Styling */
body.theme-fedora ::selection {
    background: rgba(11, 87, 164, 0.3);
    color: #ffffff;
}

body.theme-fedora ::-moz-selection {
    background: rgba(11, 87, 164, 0.3);
    color: #ffffff;
}

/* Fedora Linux Terminal Focus Styling */
body.theme-fedora .terminal-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 87, 164, 0.2);
    border-radius: 3px;
}

/* Apply Fedora Linux font to all terminal elements when Fedora theme is active */
body.theme-fedora .terminal-container,
body.theme-fedora .terminal-window,
body.theme-fedora .terminal-header,
body.theme-fedora .terminal-body,
body.theme-fedora .terminal-content,
body.theme-fedora .terminal-input,
body.theme-fedora .prompt,
body.theme-fedora .input-line,
body.theme-fedora .suggestions {
    font-family: var(--font-family);
}

/* PowerShell Theme - Authentic Windows PowerShell Terminal */
body.theme-powershell {
    --bg-primary: #012456;
    --bg-secondary: #0a2463;
    --bg-tertiary: #1e3a8a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-highlight: #00ff00;
    --text-command: #00ff00;
    --text-success: #00ff00;
    --text-error: #ff0000;
    --text-warning: #ffff00;
    --text-directory: #00ffff;
    --text-file: #ffffff;
    --text-executable: #00ff00;
    --scrollbar-track: #0a2463;
    --scrollbar-thumb: #4169e1;
    --font-family: 'Consolas', 'Courier New', 'Lucida Console', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
}

/* PowerShell Terminal Specific Styles */
body.theme-powershell .terminal-container {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #3c3c3c;
}

body.theme-powershell .terminal-window {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.theme-powershell .terminal-header {
    background: linear-gradient(to bottom, #404040, #303030);
    border-bottom: 1px solid #3c3c3c;
    padding: 6px 8px;
    height: 30px;
    display: flex;
    align-items: center;
}

body.theme-powershell .terminal-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: normal;
    opacity: 1;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

body.theme-powershell .terminal-body {
    padding: 8px;
    height: calc(100% - 30px);
    background: #012456;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    overflow-y: auto;
}

body.theme-powershell .terminal-content {
    line-height: 1.3;
    font-size: 14px;
    letter-spacing: 0;
    font-family: 'Consolas', monospace;
}

body.theme-powershell .prompt {
    color: #00ff00;
    font-weight: normal;
    margin-right: 4px;
    font-family: 'Consolas', monospace;
}

body.theme-powershell .terminal-input {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    caret-color: #ffffff;
    font-family: 'Consolas', monospace;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
}

body.theme-powershell .input-line {
    margin-top: 2px;
    display: flex;
    align-items: center;
}

body.theme-powershell .terminal-body::-webkit-scrollbar {
    width: 16px;
}

body.theme-powershell .terminal-body::-webkit-scrollbar-track {
    background: #0a2463;
    border-radius: 0;
}

body.theme-powershell .terminal-body::-webkit-scrollbar-thumb {
    background: #4169e1;
    border-radius: 0;
    border: 1px solid #0a2463;
}

body.theme-powershell .terminal-body::-webkit-scrollbar-thumb:hover {
    background: #5179f1;
}

/* PowerShell Terminal Colors */
body.theme-powershell .command {
    color: #00ff00;
    font-weight: normal;
}

body.theme-powershell .success {
    color: #00ff00;
    font-weight: normal;
}

body.theme-powershell .error {
    color: #ff0000;
    font-weight: normal;
}

body.theme-powershell .warning {
    color: #ffff00;
    font-weight: normal;
}

body.theme-powershell .info {
    color: #ffffff;
    font-weight: normal;
}

body.theme-powershell .highlight {
    color: #00ff00;
    font-weight: normal;
}

body.theme-powershell .directory {
    color: #00ffff;
    font-weight: normal;
}

body.theme-powershell .file {
    color: #ffffff;
    font-weight: normal;
}

body.theme-powershell .executable {
    color: #00ff00;
    font-weight: normal;
}

body.theme-powershell .prompt-prefix {
    color: #00ff00;
    font-weight: normal;
}

body.theme-powershell .prompt-hostname {
    color: #ffffff;
    font-weight: normal;
}

body.theme-powershell .prompt-separator {
    color: #ffffff;
    font-weight: normal;
}

body.theme-powershell .prompt-path {
    color: #00ffff;
    font-weight: normal;
}

/* PowerShell Terminal Button Styling */
body.theme-powershell .terminal-button.close {
    background: #e81123;
    width: 16px;
    height: 16px;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

body.theme-powershell .terminal-button.minimize {
    background: #ffaa00;
    width: 16px;
    height: 16px;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

body.theme-powershell .terminal-button.maximize {
    background: #00ff00;
    width: 16px;
    height: 16px;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

body.theme-powershell .terminal-button:hover {
    opacity: 0.8;
    transform: none;
    transition: opacity 0.1s ease;
}

body.theme-powershell .terminal-button:active {
    transform: none;
    transition: none;
}

/* PowerShell Terminal Selection Styling */
body.theme-powershell ::selection {
    background: #4169e1;
    color: #ffffff;
}

body.theme-powershell ::-moz-selection {
    background: #4169e1;
    color: #ffffff;
}

/* PowerShell Terminal Focus Styling */
body.theme-powershell .terminal-input:focus {
    outline: none;
    box-shadow: none;
    border-radius: 0;
}

/* Apply PowerShell font to all terminal elements when PowerShell theme is active */
body.theme-powershell .terminal-container,
body.theme-powershell .terminal-window,
body.theme-powershell .terminal-header,
body.theme-powershell .terminal-body,
body.theme-powershell .terminal-content,
body.theme-powershell .terminal-input,
body.theme-powershell .prompt,
body.theme-powershell .input-line,
body.theme-powershell .suggestions {
    font-family: var(--font-family);
}

/* macOS Theme - Authentic macOS Terminal with Oh My Zsh */
body.theme-macos {
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-highlight: #00ffff;
    --text-command: #00ffff;
    --text-success: #00ff00;
    --text-error: #ff0000;
    --text-warning: #ffff00;
    --text-directory: #4169e1;
    --text-file: #ffffff;
    --text-executable: #00ff00;
    --scrollbar-track: #1a1a1a;
    --scrollbar-thumb: #4a4a4a;
    --font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* macOS Terminal Specific Styles */
body.theme-macos .terminal-container {
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #333333;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

body.theme-macos .terminal-window {
    border: none;
    border-radius: 8px;
    box-shadow: none;
    background: transparent;
}

body.theme-macos .terminal-header {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    border-bottom: 1px solid #333333;
    padding: 8px 12px;
    height: 36px;
    display: flex;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

body.theme-macos .terminal-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.theme-macos .terminal-body {
    padding: 12px;
    height: calc(100% - 36px);
    background: #000000;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    border-radius: 0 0 8px 8px;
    overflow-y: auto;
}

body.theme-macos .terminal-content {
    line-height: 1.4;
    font-size: 13px;
    letter-spacing: 0;
    font-family: 'SF Mono', monospace;
}

body.theme-macos .prompt {
    color: #00ffff;
    font-weight: normal;
    margin-right: 4px;
    font-family: 'SF Mono', monospace;
}

body.theme-macos .terminal-input {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
    caret-color: #ffffff;
    font-family: 'SF Mono', monospace;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
}

body.theme-macos .input-line {
    margin-top: 4px;
    display: flex;
    align-items: center;
}

body.theme-macos .terminal-body::-webkit-scrollbar {
    width: 12px;
}

body.theme-macos .terminal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 6px;
}

body.theme-macos .terminal-body::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 6px;
    border: 1px solid #1a1a1a;
}

body.theme-macos .terminal-body::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

/* macOS Terminal Colors - Oh My Zsh Style */
body.theme-macos .command {
    color: #00ffff;
    font-weight: normal;
}

body.theme-macos .success {
    color: #00ff00;
    font-weight: normal;
}

body.theme-macos .error {
    color: #ff0000;
    font-weight: normal;
}

body.theme-macos .warning {
    color: #ffff00;
    font-weight: normal;
}

body.theme-macos .info {
    color: #ffffff;
    font-weight: normal;
}

body.theme-macos .highlight {
    color: #00ffff;
    font-weight: normal;
}

body.theme-macos .directory {
    color: #4169e1;
    font-weight: normal;
}

body.theme-macos .file {
    color: #ffffff;
    font-weight: normal;
}

body.theme-macos .executable {
    color: #00ff00;
    font-weight: normal;
}

body.theme-macos .prompt-username {
    color: #00ffff;
    font-weight: normal;
}

body.theme-macos .prompt-hostname {
    color: #00ff00;
    font-weight: normal;
}

body.theme-macos .prompt-separator {
    color: #ffffff;
    font-weight: normal;
}

body.theme-macos .prompt-path {
    color: #4169e1;
    font-weight: normal;
}

body.theme-macos .prompt-symbol {
    color: #ffff00;
    font-weight: normal;
}

body.theme-macos .prompt-time {
    color: #ff6b6b;
    font-weight: normal;
}

body.theme-macos .prompt-git {
    color: #ff9500;
    font-weight: normal;
}

/* macOS Terminal Button Styling */
body.theme-macos .terminal-button.close {
    background: #ff5f56;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: none;
    border: none;
}

body.theme-macos .terminal-button.minimize {
    background: #ffbd2e;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: none;
    border: none;
}

body.theme-macos .terminal-button.maximize {
    background: #27c93f;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: none;
    border: none;
}

body.theme-macos .terminal-button:hover {
    opacity: 0.8;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

body.theme-macos .terminal-button:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/* macOS Terminal Selection Styling */
body.theme-macos ::selection {
    background: rgba(65, 105, 225, 0.3);
    color: #ffffff;
}

body.theme-macos ::-moz-selection {
    background: rgba(65, 105, 225, 0.3);
    color: #ffffff;
}

/* macOS Terminal Focus Styling */
body.theme-macos .terminal-input:focus {
    outline: none;
    box-shadow: none;
    border-radius: 0;
}

/* Apply macOS font to all terminal elements when macOS theme is active */
body.theme-macos .terminal-container,
body.theme-macos .terminal-window,
body.theme-macos .terminal-header,
body.theme-macos .terminal-body,
body.theme-macos .terminal-content,
body.theme-macos .terminal-input,
body.theme-macos .prompt,
body.theme-macos .input-line,
body.theme-macos .suggestions {
    font-family: var(--font-family);
}

/* Monokai Theme - Classic VS Code Theme */
body.theme-monokai {
    --bg-primary: #272822;
    --bg-secondary: #3e3d32;
    --bg-tertiary: #49483e;
    --text-primary: #f8f8f2;
    --text-secondary: #75715e;
    --text-highlight: #66d9ef;
    --text-command: #f92672;
    --text-success: #a6e22e;
    --text-error: #f92672;
    --text-warning: #fd971f;
    --text-directory: #66d9ef;
    --text-file: #f8f8f2;
    --text-executable: #a6e22e;
    --scrollbar-track: #3e3d32;
    --scrollbar-thumb: #75715e;
    --font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Monokai Terminal Specific Styles */
body.theme-monokai .terminal-container {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #49483e;
}

body.theme-monokai .terminal-window {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.theme-monokai .terminal-header {
    background: linear-gradient(to bottom, #3e3d32, #272822);
    border-bottom: 1px solid #49483e;
    padding: 8px 12px;
}

body.theme-monokai .terminal-title {
    color: #f8f8f2;
    font-size: 13px;
    font-weight: normal;
    opacity: 1;
}

body.theme-monokai .terminal-body {
    padding: 12px;
    height: calc(100% - 40px);
    background: #272822;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
}

body.theme-monokai .terminal-content {
    line-height: 1.5;
    font-size: 14px;
    letter-spacing: 0;
}

body.theme-monokai .prompt {
    color: #f92672;
    font-weight: normal;
    margin-right: 8px;
}

body.theme-monokai .terminal-input {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    caret-color: #f8f8f2;
}

/* Monokai Colors */
body.theme-monokai .command {
    color: #f92672;
    font-weight: normal;
}

body.theme-monokai .success {
    color: #a6e22e;
    font-weight: normal;
}

body.theme-monokai .error {
    color: #f92672;
    font-weight: normal;
}

body.theme-monokai .warning {
    color: #fd971f;
    font-weight: normal;
}

body.theme-monokai .info {
    color: #f8f8f2;
    font-weight: normal;
}

body.theme-monokai .highlight {
    color: #66d9ef;
    font-weight: normal;
}

body.theme-monokai .directory {
    color: #66d9ef;
    font-weight: normal;
}

body.theme-monokai .file {
    color: #f8f8f2;
    font-weight: normal;
}

body.theme-monokai .executable {
    color: #a6e22e;
    font-weight: normal;
}

body.theme-monokai .prompt-username {
    color: #f92672;
}

body.theme-monokai .prompt-hostname {
    color: #a6e22e;
}

body.theme-monokai .prompt-separator {
    color: #f8f8f2;
}

body.theme-monokai .prompt-path {
    color: #66d9ef;
}

/* Dracula Theme - Popular VS Code Theme */
body.theme-dracula {
    --bg-primary: #282a36;
    --bg-secondary: #44475a;
    --bg-tertiary: #6272a4;
    --text-primary: #f8f8f2;
    --text-secondary: #6272a4;
    --text-highlight: #bd93f9;
    --text-command: #ff79c6;
    --text-success: #50fa7b;
    --text-error: #ff5555;
    --text-warning: #f1fa8c;
    --text-directory: #8be9fd;
    --text-file: #f8f8f2;
    --text-executable: #50fa7b;
    --scrollbar-track: #44475a;
    --scrollbar-thumb: #6272a4;
    --font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Dracula Terminal Specific Styles */
body.theme-dracula .terminal-container {
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(40, 42, 54, 0.6);
    border: 1px solid #6272a4;
}

body.theme-dracula .terminal-window {
    border: none;
    border-radius: 8px;
    box-shadow: none;
}

body.theme-dracula .terminal-header {
    background: linear-gradient(135deg, #44475a 0%, #282a36 100%);
    border-bottom: 2px solid #bd93f9;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
}

body.theme-dracula .terminal-title {
    color: #f8f8f2;
    font-size: 13px;
    font-weight: 600;
    opacity: 1;
}

body.theme-dracula .terminal-body {
    padding: 14px;
    height: calc(100% - 46px);
    background: #282a36;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    border-radius: 0 0 8px 8px;
}

body.theme-dracula .terminal-content {
    line-height: 1.5;
    font-size: 14px;
    letter-spacing: 0;
}

body.theme-dracula .prompt {
    color: #ff79c6;
    font-weight: normal;
    margin-right: 8px;
}

body.theme-dracula .terminal-input {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    caret-color: #f8f8f2;
}

/* Dracula Colors */
body.theme-dracula .command {
    color: #ff79c6;
    font-weight: normal;
}

body.theme-dracula .success {
    color: #50fa7b;
    font-weight: normal;
}

body.theme-dracula .error {
    color: #ff5555;
    font-weight: normal;
}

body.theme-dracula .warning {
    color: #f1fa8c;
    font-weight: normal;
}

body.theme-dracula .info {
    color: #f8f8f2;
    font-weight: normal;
}

body.theme-dracula .highlight {
    color: #bd93f9;
    font-weight: normal;
}

body.theme-dracula .directory {
    color: #8be9fd;
    font-weight: normal;
}

body.theme-dracula .file {
    color: #f8f8f2;
    font-weight: normal;
}

body.theme-dracula .executable {
    color: #50fa7b;
    font-weight: normal;
}

body.theme-dracula .prompt-username {
    color: #ff79c6;
}

body.theme-dracula .prompt-hostname {
    color: #50fa7b;
}

body.theme-dracula .prompt-separator {
    color: #f8f8f2;
}

body.theme-dracula .prompt-path {
    color: #8be9fd;
}

/* Solarized Dark Theme - Iconic Terminal Theme */
body.theme-solarized {
    --bg-primary: #002b36;
    --bg-secondary: #073642;
    --bg-tertiary: #586e75;
    --text-primary: #839496;
    --text-secondary: #657b83;
    --text-highlight: #268bd2;
    --text-command: #b58900;
    --text-success: #2aa198;
    --text-error: #dc322f;
    --text-warning: #cb4b16;
    --text-directory: #268bd2;
    --text-file: #839496;
    --text-executable: #2aa198;
    --scrollbar-track: #073642;
    --scrollbar-thumb: #586e75;
    --font-family: 'Source Code Pro', 'Consolas', 'Monaco', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Solarized Dark Terminal Specific Styles */
body.theme-solarized .terminal-container {
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 43, 54, 0.4);
    border: 1px solid #586e75;
}

body.theme-solarized .terminal-window {
    border: none;
    border-radius: 4px;
    box-shadow: none;
}

body.theme-solarized .terminal-header {
    background: linear-gradient(to bottom, #073642, #002b36);
    border-bottom: 1px solid #586e75;
    padding: 8px 12px;
}

body.theme-solarized .terminal-title {
    color: #839496;
    font-size: 13px;
    font-weight: normal;
    opacity: 1;
}

body.theme-solarized .terminal-body {
    padding: 12px;
    height: calc(100% - 40px);
    background: #002b36;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
}

body.theme-solarized .terminal-content {
    line-height: 1.5;
    font-size: 14px;
    letter-spacing: 0;
}

body.theme-solarized .prompt {
    color: #b58900;
    font-weight: normal;
    margin-right: 8px;
}

body.theme-solarized .terminal-input {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    caret-color: #839496;
}

/* Solarized Dark Colors */
body.theme-solarized .command {
    color: #b58900;
    font-weight: normal;
}

body.theme-solarized .success {
    color: #2aa198;
    font-weight: normal;
}

body.theme-solarized .error {
    color: #dc322f;
    font-weight: normal;
}

body.theme-solarized .warning {
    color: #cb4b16;
    font-weight: normal;
}

body.theme-solarized .info {
    color: #839496;
    font-weight: normal;
}

body.theme-solarized .highlight {
    color: #268bd2;
    font-weight: normal;
}

body.theme-solarized .directory {
    color: #268bd2;
    font-weight: normal;
}

body.theme-solarized .file {
    color: #839496;
    font-weight: normal;
}

body.theme-solarized .executable {
    color: #2aa198;
    font-weight: normal;
}

body.theme-solarized .prompt-username {
    color: #b58900;
}

body.theme-solarized .prompt-hostname {
    color: #2aa198;
}

body.theme-solarized .prompt-separator {
    color: #839496;
}

body.theme-solarized .prompt-path {
    color: #268bd2;
}

/* CRT Amber Theme - Authentic 1980s Phosphor Terminal */
body.theme-crt {
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #000000;
    --text-primary: #FFBB00;
    --text-secondary: #CC8800;
    --text-highlight: #FFD700;
    --text-command: #FFBB00;
    --text-success: #FFBB00;
    --text-error: #FFBB00;
    --text-warning: #FFBB00;
    --text-directory: #FFBB00;
    --text-file: #FFBB00;
    --text-executable: #FFBB00;
    --scrollbar-track: #000000;
    --scrollbar-thumb: #FFBB00;
    --font-family: 'VT323', 'Share Tech Mono', 'Courier New', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    animation: crt-flicker 0.15s infinite;
}

/* CRT Terminal Container - Thick Bezel */
body.theme-crt .terminal-container {
    border-radius: 8px;
    box-shadow: 
        0 0 100px rgba(255, 187, 0, 0.1),
        inset 0 0 50px rgba(0, 0, 0, 0.8);
    border: 15px solid #000000;
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* CRT Terminal Window */
body.theme-crt .terminal-window {
    border: none;
    border-radius: 4px;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.9),
        inset 0 0 40px rgba(255, 187, 0, 0.05);
    background: #000000;
    position: relative;
}

/* CRT Terminal Header - Hidden for Authentic Look */
body.theme-crt .terminal-header {
    display: none;
}

/* CRT Terminal Body - Screen Area */
body.theme-crt .terminal-body {
    padding: 20px;
    height: 100%;
    background: #000000;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
}

/* CRT Vignette Effect */
body.theme-crt .terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* CRT Scanlines */
body.theme-crt .terminal-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 2;
}

/* CRT Terminal Content */
body.theme-crt .terminal-content {
    line-height: 1.3;
    font-size: 18px;
    letter-spacing: 0;
    position: relative;
    z-index: 3;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

/* CRT Prompt */
body.theme-crt .prompt {
    color: #FFBB00;
    font-weight: normal;
    margin-right: 8px;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

/* CRT Terminal Input */
body.theme-crt .terminal-input {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    caret-color: #FFBB00;
    background: transparent;
    border: none;
    outline: none;
    color: #FFBB00;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

/* CRT Input Line */
body.theme-crt .input-line {
    margin-top: 4px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* CRT Scrollbar */
body.theme-crt .terminal-body::-webkit-scrollbar {
    width: 8px;
}

body.theme-crt .terminal-body::-webkit-scrollbar-track {
    background: #000000;
}

body.theme-crt .terminal-body::-webkit-scrollbar-thumb {
    background: #FFBB00;
    border-radius: 0;
    box-shadow: 
        0 0 5px #FFBB00,
        0 0 10px #FFBB00;
}

/* CRT Colors - All Amber */
body.theme-crt .command {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

body.theme-crt .success {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

body.theme-crt .error {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

body.theme-crt .warning {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

body.theme-crt .info {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

body.theme-crt .highlight {
    color: #FFD700;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 215, 0, 0.5);
}

body.theme-crt .directory {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

body.theme-crt .file {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

body.theme-crt .executable {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

/* CRT Prompt Elements */
body.theme-crt .prompt-symbol {
    color: #FFBB00;
    font-weight: normal;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px rgba(255, 187, 0, 0.5);
}

/* CRT Selection */
body.theme-crt ::selection {
    background: rgba(255, 187, 0, 0.3);
    color: #FFBB00;
}

body.theme-crt ::-moz-selection {
    background: rgba(255, 187, 0, 0.3);
    color: #FFBB00;
}

/* CRT Focus */
body.theme-crt .terminal-input:focus {
    outline: none;
    box-shadow: none;
}

/* CRT Animations */
@keyframes crt-flicker {
    0% { opacity: 0.98; }
    50% { opacity: 1; }
    100% { opacity: 0.99; }
}

/* CRT Cursor Animation */
body.theme-crt .terminal-input {
    animation: crt-cursor-blink 1.5s infinite;
}

@keyframes crt-cursor-blink {
    0%, 70% { caret-color: #FFBB00; }
    71%, 100% { caret-color: transparent; }
}

/* Apply CRT font to all terminal elements */
body.theme-crt .terminal-container,
body.theme-crt .terminal-window,
body.theme-crt .terminal-body,
body.theme-crt .terminal-content,
body.theme-crt .terminal-input,
body.theme-crt .prompt,
body.theme-crt .input-line,
body.theme-crt .suggestions {
    font-family: var(--font-family);
}

/* Apply theme variables to existing styles */
.terminal-window {
    background: var(--bg-primary);
    border-color: var(--bg-tertiary);
}

.terminal-header {
    background: var(--bg-secondary);
    border-bottom-color: var(--bg-tertiary);
}

.terminal-title {
    color: var(--text-primary);
}

.terminal-body::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
}

.prompt {
    color: var(--text-primary);
}

.terminal-input {
    color: var(--text-primary);
    caret-color: var(--text-primary);
}

.command {
    color: var(--text-command);
}

.success {
    color: var(--text-success);
}

.error {
    color: var(--text-error);
}

.warning {
    color: var(--text-warning);
}

.info {
    color: var(--text-secondary);
}

.highlight {
    color: var(--text-highlight);
}

.directory {
    color: var(--text-directory);
}

.file {
    color: var(--text-file);
}

.executable {
    color: var(--text-executable);
}

.prompt-username {
    color: var(--text-success);
}

.prompt-hostname {
    color: var(--text-highlight);
}

.tree-indent {
    margin-left: 20px;
}

/* Matrix Rain Effect Specific - Removed */
.matrix-char {
    display: none;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 0, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ff00ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hidden Elements */
.hidden {
    display: none !important;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
