/* KnexPay CLI Terminal — Neon Transparent */

/* CLI screen needs special padding override */
#cliScreen {
    padding: var(--spacing-sm);
    padding-bottom: 100px;
}

.cli-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--stroke-light);
    background: rgba(0,0,0,0.40);
    backdrop-filter: blur(var(--blur-strong));
    -webkit-backdrop-filter: blur(var(--blur-strong));
    overflow: hidden;
}

.cli-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px var(--spacing-md);
    border-bottom: 1px solid var(--stroke-subtle);
    background: rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.cli-dots {
    display: flex;
    gap: 7px;
}

.cli-dots span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.cli-dots .dot-red { background: #ff5f56; box-shadow: 0 0 6px rgba(255,95,86,0.4); }
.cli-dots .dot-yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255,189,46,0.4); }
.cli-dots .dot-green { background: #27c93f; box-shadow: 0 0 6px rgba(39,201,63,0.4); }

.cli-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 500;
}

/* Output area */
.cli-output {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    -webkit-overflow-scrolling: touch;
}

.cli-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.cli-command {
    color: var(--neon);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255,140,0,0.2);
}

.cli-output .cli-line + .cli-line {
    margin-top: 1px;
}

.cli-system {
    color: var(--cyan);
}

.cli-error {
    color: var(--red);
    text-shadow: 0 0 6px rgba(255,51,51,0.2);
}

.cli-muted {
    color: var(--text-dim);
}

.cli-json {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Validator-specific output styles */
.cli-validator {
    color: #c084fc;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(192,132,252,0.3);
}

.cli-stake {
    color: #4ade80;
    text-shadow: 0 0 6px rgba(74,222,128,0.2);
}

.cli-output-text {
    color: var(--text);
}

/* Input area */
.cli-input-row {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-top: 1px solid var(--stroke-subtle);
    background: rgba(0,0,0,0.20);
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cli-prompt {
    color: var(--neon);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    user-select: none;
    text-shadow: 0 0 8px rgba(255,140,0,0.3);
}

.cli-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 14px;
    caret-color: var(--neon);
}

.cli-input::placeholder {
    color: var(--text-dim);
}
