.test-console {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 100%;
    font-family: var(--vsc-font-mono);
    font-size: 12px;
}

.console-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--vsc-border);
}

.console-test-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--vsc-fg-bright);
}

.console-status {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.console-status-passed {
    background: var(--vsc-green);
    color: #fff;
}

.console-status-failed {
    background: var(--vsc-red);
    color: #fff;
}

.console-status-running {
    background: var(--vsc-accent);
    color: #fff;
}

.console-status-skipped {
    background: var(--vsc-warning);
    color: #fff;
}

.console-status-pending {
    background: var(--vsc-bg-tertiary);
    color: var(--vsc-fg-dim);
}

.console-duration {
    color: var(--vsc-fg-dim);
    font-size: 11px;
}

.console-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-section-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--vsc-fg);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.console-error {
    padding: 8px 10px;
    background: rgba(255, 0, 0, 0.08);
    border-left: 3px solid var(--vsc-red);
    color: var(--vsc-red);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.console-stacktrace {
    padding: 8px 10px;
    background: var(--vsc-bg-secondary);
    border-left: 3px solid var(--vsc-border);
    color: var(--vsc-fg-dim);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    max-height: 300px;
    overflow-y: auto;
}

.console-stdout {
    padding: 8px 10px;
    background: var(--vsc-bg-secondary);
    border-left: 3px solid var(--vsc-border);
    color: var(--vsc-fg);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    max-height: 300px;
    overflow-y: auto;
}

.console-stderr {
    padding: 8px 10px;
    background: rgba(255, 0, 0, 0.05);
    border-left: 3px solid var(--vsc-red);
    color: var(--vsc-fg);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    max-height: 300px;
    overflow-y: auto;
}

.console-skip-reason {
    padding: 8px 10px;
    background: rgba(204, 167, 0, 0.08);
    border-left: 3px solid var(--vsc-warning);
    color: var(--vsc-warning);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.console-success-message {
    color: var(--vsc-green);
    padding: 8px 0;
}

.console-messages {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0;
}

.console-msg {
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.4;
}

.console-msg-log { color: var(--vsc-fg); }
.console-msg-error { color: var(--vsc-red); }
.console-msg-warning { color: var(--vsc-yellow, #cca700); }
.console-msg-info { color: var(--vsc-accent); }

.console-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--vsc-fg-dim);
    font-size: 12px;
}
