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

body {
    font-family: 'Courier New', monospace;
    background: #1e1e1e;
    color: #d4d4d4;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1100px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.btn.red {
    background: #ff5f56;
}

.btn.yellow {
    background: #ffbd2e;
}

.btn.green {
    background: #27c93f;
}

.title {
    color: #999;
    font-size: 13px;
}

.terminal {
    padding: 20px;
    height: 650px;
    display: flex;
    flex-direction: column;
}

.stats-bar {
    display: flex;
    gap: 20px;
    padding: 8px 12px;
    background: #1a1a1a;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #888;
    border: 1px solid #333;
}

.stats-bar span {
    display: flex;
    gap: 5px;
}

.stats-bar span span {
    color: #4ec9b0;
    font-weight: bold;
}

.output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
    line-height: 1.6;
}

.output div {
    margin-bottom: 4px;
}

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

.prompt {
    color: #4ec9b0;
    font-weight: bold;
}

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

#input:focus {
    outline: none;
}

.success {
    color: #4ec9b0;
}

.error {
    color: #f48771;
}

.info {
    color: #569cd6;
}

.warning {
    color: #ce9178;
}

.cycle {
    color: #dcdcaa;
}