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

body {
    min-height: 100vh;
    background-color: #000000;
    color: #4ade80;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.container {
    width: 100%;
    max-width: 64rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.terminal-window {
    background-color: #000000;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #374151;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.terminal-header {
    background-color: #1f2937;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #374151;
}

.terminal-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-button {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.control-button.red {
    background-color: #ef4444;
}

.control-button.yellow {
    background-color: #eab308;
}

.control-button.green {
    background-color: #22c55e;
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.terminal-icon {
    width: 1rem;
    height: 1rem;
}

.spacer {
    width: 4rem;
}

.terminal-content {
    background-color: #000000;
    height: 24rem;
    padding: 1.5rem;
    position: relative;
    overflow-y: auto;
}

.terminal-lines {
    line-height: 1.625;
    font-size: 0.875rem;
}

.terminal-line {
    display: flex;
    margin-bottom: 0.25rem;
}

.command-prompt {
    color: #4ade80;
    margin-right: 0.5rem;
}

.line-content {
    white-space: pre-wrap;
    word-break: break-words;
}

.line-command {
    color: #9ca3af;
}

.line-prompt {
    color: #4ade80;
}

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

.line-output {
    color: #ffffff;
}

.cursor {
    transition: opacity 0.1s;
}

.cursor.visible {
    opacity: 1;
}

.cursor.hidden {
    opacity: 0;
}

.status-indicators {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.75rem;
    color: #4b5563;
    display: none;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.status-dot.green {
    background-color: #22c55e;
}

.status-dot.yellow {
    background-color: #eab308;
}

.status-dot.cyan {
    background-color: #06b6d4;
}

.status-dot.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.footer {
    width: 100%;
    margin-top: auto;
    padding-top: 1.5rem;
}

.button-container {
    background-color: #000000;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
}

.connect-button {
    width: 100%;
    background-color: #111827;
    border: 1px solid #4ade80;
    color: #4ade80;
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.connect-button:hover {
    background-color: #1f2937;
    box-shadow: 0 4px 14px 0 rgba(74, 222, 128, 0.2);
}

.dollar-sign {
    margin-right: 0.5rem;
}

/* Responsive design */
@media (min-width: 768px) {
    .terminal-content {
        height: 31.25rem;
    }
    
    .terminal-lines {
        font-size: 1rem;
    }
    
    .status-indicators {
        display: block;
    }
}