/* Linux Simulator v1.0 - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "JetBrains Mono", "Courier New", 'Monaco', 'Consolas', monospace;
    background: #000;
    color: #00ff00;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Windows 3.11 Theme */
body.windows-theme {
    font-family: "MS Sans Serif", "Arial", sans-serif;
    background: #008080; /* Classic Windows 3.11 teal background */
    color: #000;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.1) 2px,
            rgba(255,255,255,0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.1) 2px,
            rgba(255,255,255,0.1) 4px
        );
}

/* MS-DOS Theme */
body.dos-theme {
    font-family: "Courier New", "Monaco", "Consolas", monospace;
    background: #000000;
    color: #00ff00;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(0,255,0,0.05) 1px,
            rgba(0,255,0,0.05) 2px
        );
}


/* Windows 3.11 Desktop */
.windows-desktop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #008080;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.1) 2px,
            rgba(255,255,255,0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.1) 2px,
            rgba(255,255,255,0.1) 4px
        );
    z-index: 1;
}

/* Windows 3.11 Window */
.windows-window {
    position: fixed;
    top: 50px;
    left: 50px;
    width: 600px;
    height: 400px;
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
}

/* Paint Window */
.paint-window {
    top: 50px;
    left: 680px;
    width: 500px;
    height: 450px;
}

/* Window Title Bar */
.window-title-bar {
    background: linear-gradient(to right, #000080, #0000ff);
    color: white;
    padding: 2px 4px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 18px;
    border-bottom: 1px solid #808080;
}

.window-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.window-button {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.window-button:hover {
    background: #d0d0d0;
}

.window-button:active {
    border: 1px inset #c0c0c0;
}

/* Window Content Area */
.window-content {
    height: calc(100% - 18px);
    display: flex;
    flex-direction: column;
}

/* Desktop Icons */
.desktop-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.desktop-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
    padding: 2px;
    border: 1px solid transparent;
}

.desktop-icon:hover {
    background: rgba(255,255,255,0.2);
    border: 1px dotted #000;
}

.desktop-icon.selected {
    background: rgba(0,0,255,0.3);
    border: 1px dotted #000;
}

.icon-image {
    width: 32px;
    height: 32px;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 2px;
}

.icon-label {
    font-size: 10px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 0px #000;
    word-wrap: break-word;
    max-width: 60px;
}

/* Terminal in Windows theme */
body.windows-theme #terminal-container {
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
    margin: 0;
    height: calc(100% - 18px);
}

body.windows-theme #terminal {
    background: #000;
    color: #00ff00;
    font-family: "Courier New", monospace;
    font-size: 12px;
    padding: 8px;
    height: 100%;
}

/* Windows Terminal Container */
#windows-terminal-container {
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
    margin: 0;
    height: 100%;
    padding: 2px;
}

#windows-terminal {
    background: #000;
    color: #00ff00;
    font-family: "Courier New", monospace;
    font-size: 12px;
    padding: 8px;
    height: 100%;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.45;
    border: none;
    outline: none;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#windows-input-line {
    display: flex;
    align-items: center;
    padding: 0;
    background: #000;
    min-height: 20px;
    position: relative;
    margin-top: 0;
    flex-shrink: 0;
    margin-bottom: 60px;
}

#windows-prompt {
    font-weight: 700;
    margin-right: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

#windows-command-input {
    background: transparent;
    border: none;
    outline: none;
    color: #00aa00;
    font-family: inherit;
    font-size: inherit;
    flex: 1;
    caret-color: transparent;
    min-width: 0;
}

#windows-cursor {
    background: #39ff14;
    width: 10px;
    height: 18px;
    display: inline-block;
    animation: blink 1s steps(1) infinite;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Windows 3.11 Scrollbar */
body.windows-theme #terminal::-webkit-scrollbar {
    width: 16px;
}

body.windows-theme #terminal::-webkit-scrollbar-track {
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
}

body.windows-theme #terminal::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    border-radius: 0;
}

body.windows-theme #terminal::-webkit-scrollbar-thumb:hover {
    background: #d0d0d0;
}

body.windows-theme #terminal::-webkit-scrollbar-corner {
    background: #c0c0c0;
}

/* Windows Terminal Scrollbar */
#windows-terminal::-webkit-scrollbar {
    width: 16px;
}

#windows-terminal::-webkit-scrollbar-track {
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
}

#windows-terminal::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    border-radius: 0;
}

#windows-terminal::-webkit-scrollbar-thumb:hover {
    background: #d0d0d0;
}

#windows-terminal::-webkit-scrollbar-corner {
    background: #c0c0c0;
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    padding: 4px;
}

.theme-button {
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    padding: 4px 8px;
    font-size: 10px;
    cursor: pointer;
    margin: 0 2px;
}

.theme-button:hover {
    background: #d0d0d0;
}

.theme-button:active {
    border: 1px inset #c0c0c0;
}

.theme-button.active {
    border: 1px inset #c0c0c0;
    background: #a0a0a0;
}

/* MS-DOS Theme Styling */
body.dos-theme #terminal-container {
    background: #000000;
    border: 2px solid #00ff00;
    margin: 0;
    height: calc(100vh - 80px);
    box-shadow: 0 0 20px rgba(0,255,0,0.3);
}

body.dos-theme #terminal {
    background: #000000;
    color: #00ff00;
    font-family: "Courier New", monospace;
    font-size: 14px;
    padding: 20px;
    height: 100%;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
}

body.dos-theme #input-line {
    background: #000000;
    border: none;
}

body.dos-theme #prompt {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
}

body.dos-theme #command-input {
    background: transparent;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
}

body.dos-theme #cursor {
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0,255,0,0.8);
    animation: dos-blink 1s steps(1) infinite;
}

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

/* MS-DOS ASCII Art */
.dos-ascii {
    color: #00ff00;
    font-family: "Courier New", monospace;
    white-space: pre;
    line-height: 1;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
}

/* MS-DOS Error styling */
body.dos-theme .error {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255,0,0,0.5);
}

body.dos-theme .success {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
}

body.dos-theme .info {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0,255,255,0.5);
}

body.dos-theme .warning {
    color: #ffff00;
    text-shadow: 0 0 5px rgba(255,255,0,0.5);
}

/* MS-DOS Scrollbar */
body.dos-theme #terminal::-webkit-scrollbar {
    width: 12px;
}

body.dos-theme #terminal::-webkit-scrollbar-track {
    background: #000000;
    border: 1px solid #00ff00;
}

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

body.dos-theme #terminal::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
    box-shadow: 0 0 10px rgba(0,255,0,0.8);
}



/* Commodore 64 Theme */
@font-face {
    font-family: 'PetMe';
    src: url('fonts/PetMe.ttf') format('truetype');
}

body.c64-theme {
    font-family: "PetMe", "Courier New", monospace;
    background: #0000FF; /* Classic C64 blue */
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body.c64-theme #terminal-container {
    display: none; /* Hide the terminal container for C64 */
}

/* Ensure theme switcher is visible in C64 theme */
body.c64-theme .theme-switcher {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1001;
    display: flex;
    gap: 5px;
}

/* C64 Screen Container */
.c64-screen {
    width: 100vw;
    height: 100vh;
    background: #0000FF; /* Classic C64 blue */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

body.c64-theme #c64-terminal {
    background: #0000FF;
    color: #FFFFFF;
    font-family: "PetMe", "Courier New", monospace;
    font-size: 16px;
    padding: 20px;
    height: 100vh;
    width: 100vw;
    border: none;
    box-shadow: none;
    margin: 0;
    line-height: 1.2;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

body.c64-theme #c64-input-line {
    background: transparent;
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
}

body.c64-theme #c64-prompt {
    color: #FFFFFF;
    font-weight: normal;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "PetMe", "Courier New", monospace;
    flex-shrink: 0;
}

body.c64-theme #c64-command-input {
    background: transparent;
    color: #FFFFFF;
    border: none;
    outline: none;
    font-family: "PetMe", "Courier New", monospace;
    font-size: 16px;
    flex: 1;
    margin: 0;
    padding: 0;
    caret-color: transparent;
    min-width: 0;
}

body.c64-theme #c64-cursor {
    background: #FFFFFF;
    width: 10px;
    height: 18px;
    display: inline-block;
    animation: c64-blink 1s steps(1) infinite;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 0;
    opacity: 0.7;
    color: transparent;
    font-size: 0;
    line-height: 0;
}

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

/* BSOD Styles */
#bsod-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.bsod-screen {
    width: 100%;
    height: 100%;
    background: #0078d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    cursor: pointer;
}

.bsod-content {
    max-width: 600px;
    padding: 40px;
    text-align: left;
}

.bsod-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.bsod-frowny {
    font-size: 120px;
    margin-right: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 120px;
}

.bsod-title {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.3;
    flex: 1;
}

.bsod-body {
    font-size: 16px;
    line-height: 1.5;
}

.bsod-text {
    margin-bottom: 30px;
}

.bsod-percentage {
    margin-bottom: 40px;
}

.bsod-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.bsod-progress-fill {
    height: 100%;
    background: white;
    width: 0%;
    animation: bsod-progress 3s ease-in-out infinite;
}

@keyframes bsod-progress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.bsod-percentage-text {
    font-size: 14px;
    opacity: 0.8;
}

.bsod-qr {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.bsod-qr-code {
    width: 80px;
    height: 80px;
    background: white;
    color: #0078d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 4px;
}

.bsod-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bsod-qr-text {
    font-size: 14px;
    line-height: 1.4;
}

.bsod-link {
    color: #87ceeb;
    text-decoration: underline;
}

.bsod-stopcode {
    font-size: 14px;
    font-family: 'Consolas', 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid white;
}

/* C64 ASCII Art */
.c64-ascii {
    color: #FFFFFF;
    font-family: "PetMe", "Courier New", monospace;
    white-space: pre;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
    text-align: center;
}

/* C64 Welcome Message Container - only center the ASCII art */
body.c64-theme #c64-terminal .c64-ascii {
    text-align: center;
    display: block;
    margin: 0 auto;
}

/* All other content should be left-aligned */
body.c64-theme #c64-terminal > div:not(#c64-input-line):not(.c64-ascii) {
    text-align: left !important;
    display: block;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* C64 Error styling */
body.c64-theme .error {
    color: #FF0000;
    text-shadow: 0 0 8px rgba(255,0,0,0.6);
}

body.c64-theme .success {
    color: #00FF00;
    text-shadow: 0 0 8px rgba(0,255,0,0.6);
}

body.c64-theme .info {
    color: #00FFFF;
    text-shadow: 0 0 8px rgba(0,255,255,0.6);
}

body.c64-theme .warning {
    color: #FFFF00;
    text-shadow: 0 0 8px rgba(255,255,0,0.6);
}

/* C64 Output alignment - all output should be left-aligned */
body.c64-theme #c64-terminal {
    text-align: left !important;
}

body.c64-theme #c64-terminal div:not(.c64-ascii) {
    text-align: left !important;
}

body.c64-theme #c64-terminal pre {
    text-align: left !important;
}

body.c64-theme #c64-terminal span {
    text-align: left !important;
}

/* Override any center alignment for output */
body.c64-theme #c64-terminal > div:not(.c64-ascii):not(#c64-input-line) {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* C64 Scrollbar */
body.c64-theme #c64-terminal::-webkit-scrollbar {
    width: 12px;
}

body.c64-theme #c64-terminal::-webkit-scrollbar-track {
    background: #0000FF;
    border: 1px solid #000000;
}

body.c64-theme #c64-terminal::-webkit-scrollbar-thumb {
    background: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 2px;
}

body.c64-theme #c64-terminal::-webkit-scrollbar-thumb:hover {
    background: #CCCCCC;
}

/* Paint Window Styling */
.paint-menu-bar {
    background: #c0c0c0;
    border-bottom: 1px solid #808080;
    display: flex;
    padding: 2px 0;
    font-size: 11px;
    font-weight: bold;
}

.paint-menu-bar .menu-item {
    padding: 4px 8px;
    cursor: pointer;
    border: 1px solid transparent;
}

.paint-menu-bar .menu-item:hover {
    background: #d0d0d0;
    border: 1px outset #c0c0c0;
}

.file-menu {
    position: relative;
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    min-width: 120px;
}

.file-menu:hover .menu-dropdown {
    display: block;
}

.menu-option {
    padding: 4px 8px;
    cursor: pointer;
    font-size: 11px;
    white-space: nowrap;
}

.menu-option:hover {
    background: #000080;
    color: white;
}

.paint-toolbar {
    background: #c0c0c0;
    border-bottom: 1px solid #808080;
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-group {
    display: flex;
    gap: 2px;
}

.tool-button {
    width: 24px;
    height: 24px;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.tool-button:hover {
    background: #d0d0d0;
}

.tool-button:active,
.tool-button.active {
    border: 1px inset #c0c0c0;
    background: #a0a0a0;
}

.tool-icon {
    font-size: 14px;
}

.tool-separator {
    width: 1px;
    height: 24px;
    background: #808080;
    margin: 0 4px;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1px;
}

.color-swatch {
    width: 16px;
    height: 16px;
    border: 1px outset #c0c0c0;
    cursor: pointer;
}

.color-swatch:hover {
    border: 1px inset #c0c0c0;
}

.color-swatch.active {
    border: 2px solid #000;
}

.paint-canvas-container {
    flex: 1;
    background: #c0c0c0;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

#paint-canvas {
    background: white;
    border: 1px inset #c0c0c0;
    cursor: crosshair;
    image-rendering: pixelated;
}

.paint-status-bar {
    background: #c0c0c0;
    border-top: 1px solid #808080;
    padding: 2px 4px;
    font-size: 11px;
    height: 18px;
    display: flex;
    align-items: center;
}

#terminal-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #000;
    height: calc(100vh - 80px); /* Leave 80px space below */
    margin-bottom: 80px; /* Space below container */
}

#terminal {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 16px;
    line-height: 1.45;
    background: #000;
    color: #00ff00;
    border: none;
    outline: none;
    font-family: inherit;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#input-line {
    display: flex;
    align-items: center;
    padding: 0;
    background: #000;
    min-height: 20px;
    position: relative;
    margin-top: 0;
    flex-shrink: 0;
    margin-bottom: 60px; /* Add space below input line */
}

#prompt {
    font-weight: 700;
    margin-right: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Split prompt colors for authenticity */
.prompt-user {
    color: #00ff00; /* Green for username@host */
}

.prompt-path {
    color: #0080ff; /* Blue for :~ */
}

.prompt-symbol {
    color: #ff0000; /* Red for # (root) */
}

#command-input {
    background: transparent;
    border: none;
    outline: none;
    color: #00aa00;
    font-family: inherit;
    font-size: inherit;
    flex: 1;
    caret-color: transparent;
    min-width: 0;
}

#cursor {
    background: #39ff14;
    width: 10px;
    height: 18px;
    display: inline-block;
    animation: blink 1s steps(1) infinite;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 0;
    opacity: 0.7; /* Slightly transparent for authenticity */
}

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

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #00ff00;
    white-space: nowrap;
    animation: typing 0.05s steps(1, end), blink-cursor 1s step-end infinite;
}

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

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .typewriter {
        animation: none;
        border-right: none;
    }
    
    #cursor {
        animation: none;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #terminal {
        font-size: 12px;
        padding: 15px;
    }
    
    #input-line {
        padding: 0 15px 15px 15px;
    }
    
    #prompt {
        font-size: 12px;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    #command-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Scrollbar styling */
#terminal::-webkit-scrollbar {
    width: 8px;
}

#terminal::-webkit-scrollbar-track {
    background: #111;
}

#terminal::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

#terminal::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Command output styling */
.command-output {
    margin: 5px 0;
}

.error {
    color: #ff4444;
}

.success {
    color: #44ff44;
}

.info {
    color: #4444ff;
}

.warning {
    color: #ffaa44;
}

/* Menu styling */
.menu-item {
    margin: 2px 0;
    padding-left: 10px;
}

.menu-item:hover {
    background: #111;
}

/* ASCII art styling */
.ascii-art {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    white-space: pre;
    line-height: 1;
}

/* File listing */
.file-list {
    margin: 5px 0;
}

.file-item {
    margin: 2px 0;
    padding-left: 10px;
}

/* Hidden class for toggling elements */
.hidden {
    display: none;
}

/* Dim class for MOTD */
.dim {
    color: rgba(151, 255, 151, 0.35);
}

/* Focus styles */
#command-input:focus {
    outline: none;
}

#terminal-container:focus-within #cursor {
    animation-play-state: running;
}

#terminal-container:not(:focus-within) #cursor {
    animation-play-state: paused;
    opacity: 0.5;
}
