@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');

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

body {
    background: #000;
    color: #0f0;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    height: 100vh;
    overflow: hidden;
}

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


.chat-area {
    width: 100%;
    max-width: 1160px;
    height: 300px;
    display: flex;
    flex-direction: column;
    border-top: 2px solid #0f0;
    padding-top: 15px;
}

.chat-container {
    width: 100%;
    flex: 1;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    min-height: 0;
}

.avatar-area {
    width: 160px;
    border: 1px solid #0f0;
    background: rgba(0, 20, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

#avatar-img {
    width: 140px;
    height: 140px;
    image-rendering: pixelated;
    margin-bottom: 10px;
}

.avatar-label {
    color: #0f0;
    font-size: 12px;
    text-align: center;
}



.output {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #0f0;
    background: rgba(0, 20, 0, 0.1);
    height: 100%;
    max-height: 100%;
}


.line {
    margin: 8px 0;
    padding: 4px;
    word-wrap: break-word;
}



.line.system {
    color: #0f0;
    opacity: 0.7;
}

.line.user {
    color: #0ff;
    border-left: 2px solid #0ff;
    padding-left: 10px;
}

.line.ai {
    color: #0f0;
    border-left: 2px solid #0f0;
    padding-left: 10px;
}

.line.error {
    color: #f00;
    border-left: 2px solid #f00;
    padding-left: 10px;
}

.user-prompt {
    color: #0ff;
    font-weight: 500;
}

.ai-prompt {
    color: #0f0;
    font-weight: 500;
}

.error-prompt {
    color: #f00;
    font-weight: 500;
}

.input-line {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #0f0;
    background: rgba(0, 20, 0, 0.1);
}

.prompt {
    color: #0f0;
    margin-right: 10px;
}

#input {
    flex: 1;
    background: transparent;
    border: none;
    color: #0f0;
    font-family: inherit;
    font-size: inherit;
    outline: none;
}


