body {
    background-color: #282828;
    color: #ebdbb2;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 20px;
    height: 100vh;
}

#terminal {
    height: 100%;
    overflow-y: auto;
}

.input-line {
    display: flex;
    align-items: center;
    position: relative;
}

.prompt {
    margin-right: 8px;
    color: #b8bb26;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

#terminal-input {
    background: transparent;
    border: none;
    color: #ebdbb2;
    font-family: 'Courier New', Courier, monospace;
    font-size: inherit;
    outline: none;
    width: 100%;
    padding: 0;
    margin: 0;
    caret-color: transparent;
}

.input-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(calc(1ch * var(--cursor-position)), -50%);
    width: 8px;
    height: 15px;
    background-color: #ebdbb2;
    opacity: var(--cursor-opacity, 1);
}

.output-line {
    margin: 5px 0;
    white-space: pre-wrap;
    color: #ebdbb2;
}

/* Command specific colors */
.error-text {
    color: #fb4934;
}

.success-text {
    color: #b8bb26;
}

.terminal-link {
    color: #83a598;
    text-decoration: none;
    cursor: pointer;
}

.terminal-link:hover {
    text-decoration: underline;
    color: #b8bb26;
}

html,
body {
    overflow: hidden;
    height: 100%;
}

#terminal {
    height: 100%;
    overflow-y: auto;
}
