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

body {
    font-family: 'Courier New', monospace;
    background-color: #1e1e1e;
    color: #d4d4d4;
    height: 100vh;
    overflow: hidden;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #2d2d30;
    padding: 10px 20px;
    border-bottom: 1px solid #3e3e42;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 18px;
    color: #cccccc;
}

.status {
    color: #4ec9b0;
    font-size: 14px;
}

.terminal {
    flex: 1;
    padding: 20px 20px 50px 20px;
    overflow-y: auto;
    background-color: #1e1e1e;
}

.output {
    margin-bottom: 10px;
}

.output-line {
    margin: 2px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.output-line.command {
    color: #d4d4d4;
}

.output-line.result {
    color: #4ec9b0;
    margin-left: 20px;
}

.output-line.error {
    color: #f44747;
    margin-left: 20px;
}

.input-line {
    display: flex;
    align-items: center;
}

.prompt {
    color: #569cd6;
    margin-right: 5px;
    white-space: nowrap;
}

#input {
    background: transparent;
    border: none;
    outline: none;
    color: #d4d4d4;
    font-family: inherit;
    font-size: 14px;
    flex: 1;
    caret-color: #d4d4d4;
}

#input:focus {
    outline: none;
}

.cursor {
    animation: blink 1s infinite;
}

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

.history-item {
    opacity: 0.8;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d2d30;
    border-top: 1px solid #3e3e42;
    padding: 8px 20px;
    font-size: 12px;
    color: #cccccc;
    text-align: center;
    z-index: 1000;
}

.footer a {
    color: #4ec9b0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #66d9c4;
    text-decoration: underline;
}