/* DOS TERMINAL STYLES */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

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

body {
    background: #000;
    color: #AAA;
    font-family: 'VT323', 'Courier New', monospace;
    min-height: 100vh;
    overflow: hidden;
}

#dos-terminal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    padding: 25px 35px;
}

#dos-header {
    flex-shrink: 0;
    position: relative;
}

#dos-clock {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.1em;
    color: #555;
    letter-spacing: 2px;
}

#dos-ascii {
    color: #666;
    font-size: 0.65em;
    line-height: 1.15;
    margin: 0 0 12px 0;
    white-space: pre;
}

#dos-title {
    color: #888;
    font-size: 1.2em;
    margin-bottom: 3px;
}

#dos-subtitle {
    color: #555;
    font-size: 1em;
}

#dos-divider {
    border-bottom: 1px solid #333;
    margin: 18px 0 15px 0;
}

#dos-scroll-area {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    font-size: 1.1em;
}

#dos-output {
    white-space: pre-wrap;
    line-height: 1.4;
    color: #AAA;
}

#dos-output .system {
    color: #888;
}

#dos-output .success {
    color: #0A0;
}

#dos-output .warning {
    color: #AA0;
}

#dos-output .error {
    color: #A00;
}

#dos-output .highlight {
    color: #0AA;
}

#dos-input-line {
    display: none;
    align-items: center;
    color: #AAA;
    padding-top: 15px;
    flex-shrink: 0;
    font-size: 1.1em;
}

#dos-input-line.visible {
    display: flex;
}

#dos-prompt {
    color: #AAA;
}

#dos-input {
    background: transparent;
    border: none;
    outline: none;
    color: #AAA;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
    flex: 1;
    caret-color: transparent;
}

#dos-cursor {
    color: #AAA;
    animation: cursorBlink 1s step-end infinite;
}

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

/* Scrollbar styling */
#dos-scroll-area::-webkit-scrollbar {
    width: 8px;
}

#dos-scroll-area::-webkit-scrollbar-track {
    background: #111;
}

#dos-scroll-area::-webkit-scrollbar-thumb {
    background: #333;
}

#dos-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #dos-terminal {
        padding: 15px 20px;
    }
    
    #dos-ascii {
        font-size: 0.35em;
    }
    
    #dos-title {
        font-size: 1em;
    }
    
    #dos-scroll-area {
        font-size: 0.95em;
    }
}
