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

body {
    background-color: #0d1117;
    color: #39ff14;
    font-family: 'Courier New', Courier, monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header {
    border-bottom: 1px solid #39ff14;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 2px;
}

.header .subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 5px;
}

.commands-list {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px dashed #39ff14;
    font-size: 0.85rem;
}

.commands-list span {
    margin-right: 15px;
}

.commands-list .cmd {
    color: #fff;
    background: #39ff14;
    padding: 2px 8px;
    border-radius: 3px;
}

.terminal-window {
    flex: 1;
    background: #010409;
    border: 1px solid #39ff14;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.output-area {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.4;
}

.output-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.output-line.system {
    color: #87ceeb;
}

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

.output-line.success {
    color: #39ff14;
}

.input-area {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #0d1117;
    border-top: 1px solid #39ff14;
}

.prompt {
    color: #39ff14;
    margin-right: 10px;
    font-weight: bold;
}

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

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

.status {
    padding: 8px 15px;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    background: #0d1117;
    border-top: 1px solid #1f2937;
}

.status .connected {
    color: #39ff14;
}

.status .disconnected {
    color: #ff4444;
}

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

::-webkit-scrollbar-track {
    background: #010409;
}

::-webkit-scrollbar-thumb {
    background: #39ff14;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #32cd32;
}

/* Blinking cursor animation */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: #39ff14;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}
