@import url('variables.css');

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

body {
    background-color: #4a4a4a;
    font-family: 'Courier New', monospace;
    height: 100vh;
    overflow: hidden;
}

#terminal-container {
    width: 100%;
    height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#terminal {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    max-height: 800px;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.3);
    overflow: hidden;
}

.xterm {
    height: 100%;
}

.xterm-viewport {
    overflow-y: auto !important;
}

.xterm-viewport {
    background-color: transparent !important;
}

.xterm-screen {
    background-color: transparent !important;
}

.terminal-link {
    color: #00ffff !important;
    text-decoration: underline;
    cursor: pointer;
}

.terminal-link:hover {
    color: #ffffff !important;
}

.command-text {
    color: #00ff00;
}

.response-text {
    color: #ffffff;
}

.error-text {
    color: #ff0066;
}

.ascii-art {
    color: #00ff00;
    line-height: 1.2;
}

@media (max-width: 768px) {
    #terminal-container {
        padding: 10px;
    }
    
    #terminal {
        max-height: none;
        border-radius: 0;
        padding: 10px;
    }
}