.terminal-container {
    background-color: #000;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    font-family: 'Courier New', monospace;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.terminal-header {
    background-color: #111;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
}

.terminal-title {
    color: #0f0;
    font-size: 16px;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.terminal-controls button {
    background-color: #222;
    border: none;
    border-radius: 4px;
    color: #0f0;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
}

.terminal-controls button:hover {
    background-color: #333;
}

.terminal-content {
    color: #0f0;
    font-size: 14px;
    height: calc(100% - 40px);
    overflow-y: auto;
    padding: 12px;
}

.terminal-prompt {
    display: flex;
    margin-bottom: 8px;
}

.terminal-user {
    color: #0f0;
    margin-right: 4px;
}

.terminal-at {
    color: #fff;
    margin-right: 4px;
}

.terminal-machine {
    color: #0f9;
    margin-right: 4px;
}

.terminal-path {
    color: #09f;
    margin-right: 8px;
}

.terminal-dollar {
    color: #f00;
    margin-right: 8px;
}

.terminal-command {
    color: #fff;
}

.terminal-output {
    color: #ccc;
    margin-bottom: 16px;
    margin-left: 12px;
    white-space: pre-wrap;
}

.terminal-info {
    color: #09f;
}

.terminal-success {
    color: #0f0;
}

.terminal-warning {
    color: #ff0;
}

.terminal-error {
    color: #f00;
}

.terminal-highlight {
    background-color: rgba(255, 255, 0, 0.1);
    border: 1px solid #ff0;
    border-radius: 3px;
    display: inline-block;
    padding: 2px 4px;
}

.terminal-file {
    font-weight: bold;
}

.terminal-file-js {
    color: #ff0;
}

.terminal-file-css {
    color: #0ff;
}

.terminal-file-html {
    color: #f90;
}

.terminal-file-php {
    color: #90f;
}

.terminal-file-other {
    color: #999;
}

.terminal-progress {
    background-color: #222;
    border-radius: 3px;
    height: 20px;
    margin: 10px 0;
    overflow: hidden;
    width: 100%;
}

.terminal-progress-bar {
    background-color: #0f0;
    height: 100%;
    transition: width 0.3s ease-in-out;
}

.terminal-fullscreen {
    background-color: #000;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 9999;
}

/* 终端演示容器样式 */
.terminal-demo-container {
    flex: 1;
    height: 800px;
    max-width: 1000px;
    min-width: 300px;
    margin-left: 20px;
    position: relative;
}

@media (max-width: 992px) {
    .terminal-demo-container {
        flex: 100%;
        margin-left: 0;
        margin-top: 30px;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .terminal-demo-container {
        height: 350px;
    }
} 