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

body {
    font-family: 'Courier New', Courier, monospace;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.terminal {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.terminal-header {
    background-color: #323232;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.control.close {
    background-color: #ff5f56;
}

.control.minimize {
    background-color: #ffbd2e;
}

.control.maximize {
    background-color: #27c93f;
}

.terminal-body {
    padding: 20px;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    background-color: #1e1e1e;
}

#output {
    margin-bottom: 10px;
}

.output-line {
    margin: 5px 0;
    line-height: 1.5;
    color: #e0e0e0;
}

.output-line.success {
    color: #4ade80;
}

.output-line.error {
    color: #f87171;
}

.output-line.info {
    color: #60a5fa;
}

.output-line.warning {
    color: #fbbf24;
}

.output-line.question {
    color: #a78bfa;
    font-weight: bold;
}

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

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

#command-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    caret-color: #4ade80;
}

#command-input::placeholder {
    color: #666;
}

.info-panel {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.info-panel h3 {
    margin-bottom: 10px;
    color: #fff;
}

.info-panel ul {
    list-style: none;
    margin-bottom: 20px;
}

.info-panel li {
    margin: 5px 0;
    color: #e0e0e0;
}

.info-panel code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    color: #4ade80;
}

/* Scrollbar styling */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .terminal-body {
        min-height: 300px;
    }

    .info-panel {
        font-size: 0.9rem;
    }
}
