* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Consolas', 'Courier New', monospace;
}

body {
    background-color: #0c0c0c;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.terminal {
    width: 100%;
    max-width: 900px;
    height: 600px;
    background-color: #0c0c0c;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background-color: #323232;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    user-select: none;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.close {
    background-color: #ff5f56;
}

.terminal-button.minimize {
    background-color: #ffbd2e;
}

.terminal-button.maximize {
    background-color: #27c93f;
}

.terminal-title {
    color: #ffffff;
    font-size: 14px;
    margin-left: 20px;
}

.terminal-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    color: #cccccc;
    line-height: 1.5;
}

#output {
    margin-bottom: 10px;
}

.command-line {
    display: flex;
    align-items: center;
}

.prompt {
    color: #0f0;
    margin-right: 8px;
}

#command-input {
    background: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    font-size: 16px;
    width: 100%;
}

.command-output {
    margin-bottom: 15px;
    white-space: pre-wrap;
}

.section-title {
    color: #569cd6;
    margin-top: 10px;
    margin-bottom: 5px;
}

.section-content {
    padding-left: 15px;
}

.highlight {
    color: #ce9178;
}

.error {
    color: #f44747;
}

.success {
    color: #6a9955;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #ffffff;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}