body {
    font-family: 'JetBrains Mono', monospace;
}

.terminal-glow {
    background: rgba(24, 31, 35, 0.88);
    backdrop-filter: blur(10px) saturate(1.2);
    box-shadow: 0 0 36px #00e67644, 0 0 0 1.5px #00e676;
    border: 1.5px solid #00e67688;
}

.terminal-scroll {
    overflow-y: auto;
    word-break: break-word;
    white-space: normal;
    margin: 0;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}

.terminal-scroll::-webkit-scrollbar {
    width: 6px;
}

.terminal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.terminal-scroll::-webkit-scrollbar-thumb {
    background-color: #00e676bb;
    border-radius: 8px;
}

.terminal-header-glass {
    background: rgba(24, 31, 35, 0.92);
    backdrop-filter: blur(6px);
    border: 1.5px solid #00e67633;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    padding: 0.6rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    box-shadow: 0 0 36px #00e67644, 0 0 0 1.5px #00e676;
}

.terminal-header-glass .dots {
    display: flex;
    gap: 0.45rem;
}

.terminal-header-glass .dots span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
}

.terminal-header-glass .host {
    font-size: 1rem;
    font-weight: 600;
    color: #00e676;
    text-shadow: 0 0 6px #00e67688;
    letter-spacing: 0.03em;
}

.tab-btn {
    transition: all 0.2s ease-in-out;
}

.tab-btn.active {
    background-color: #181f23;
    color: #00e676;
    box-shadow: inset 0 -2px 0 #00e676;
    font-weight: 600;
}

.tab-btn:hover:not(.active) {
    background-color: #23272e;
    color: #00e676;
}

/* Terminal input focus styles */
#terminal-input {
    caret-color: #00e676;
}

#terminal-input:focus {
    outline: none;
    box-shadow: none;
}

/* Make terminal area more interactive */
#terminal {
    user-select: text;
    cursor: text;
}

#terminal-output {
    cursor: text;
    padding-bottom: 0;
    margin: 0;
    line-height: 1.2;
    white-space: normal;
    transition: all 0.1s ease;
}

#terminal-output:hover {
    cursor: text;
}

/* Make terminal area clickable for focus */
#terminal-area {
    cursor: text;
    transition: all 0.1s ease;
}

#terminal-area:hover {
    cursor: text;
}

#terminal-output>div {
    margin-bottom: 0;
    line-height: 1.2;
    white-space: normal;
    word-wrap: break-word;
    min-height: 1.2em;
    display: block;
}

/* Ensure input is always visible and accessible */
#terminal-input {
    min-width: 200px;
    opacity: 1;
}

/* Add subtle focus indicator */
#terminal:focus-within {
    box-shadow: 0 0 0 1px #00e67633;
}

/* Terminal input row positioning */
#terminal-input-row {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

#terminal-input-row input {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    height: auto;
    min-height: 0;
    border: none;
    background: transparent;
    font-size: inherit;
    font-family: inherit;
}