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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 900px;
}

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

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

.terminal-title {
    color: #c5c5c5;
    font-size: 14px;
    font-weight: bold;
}

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

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

.btn-close {
    background: #ff5f56;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #27c93f;
}

.terminal-body {
    background: #1e1e1e;
    color: #00ff00;
    padding: 20px;
    min-height: 500px;
    max-height: 600px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-body::-webkit-scrollbar {
    width: 10px;
}

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

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

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

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

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

.output-line.success {
    color: #27c93f;
}

.output-line.info {
    color: #5dade2;
}

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

.output-line.user-input {
    color: #ffffff;
}

.terminal-input-wrapper {
    background: #2d2d2d;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-top: 1px solid #444;
}

.terminal-prompt {
    color: #00ff00;
    margin-right: 10px;
    font-weight: bold;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
}

.terminal-input:focus {
    outline: none;
}

/* Blinking cursor effect */
.terminal-input::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #00ff00;
    margin-left: 2px;
    animation: blink 1s infinite;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .terminal-body {
        min-height: 400px;
        max-height: 500px;
        font-size: 12px;
    }
    
    .terminal-input {
        font-size: 12px;
    }
}
