.terminal-container {
    max-width: 1000px;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #1a1a1a;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.terminal-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ff5f56;
}

.terminal-dot.yellow {
    background: #ffbd2e;
}

.terminal-dot.green {
    background: #27c93f;
}

.terminal-body {
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #00ff00;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.log-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.log-line.status {
    color: #00ff00;
}

.log-icon {
    font-size: 10px;
    flex-shrink: 0;
}

.log-icon.green {
    color: #00ff00;
}

.log-label {
    color: #ffffff;
    min-width: 180px;
}

.log-status {
    color: #00ff00;
}

.log-separator {
    height: 1px;
    background: #1a1a1a;
    margin: 12px 0;
}

.log-line.cache {
    color: #888888;
}

.log-line.scan {
    color: #ffffff;
}

.log-timestamp {
    color: #666666;
    flex-shrink: 0;
}

.log-keyword {
    color: #ff6b35;
    font-weight: 600;
    min-width: 50px;
}

.log-text {
    color: #ffffff;
    flex: 1;
}

.log-result {
    flex-shrink: 0;
}

.log-result.skip {
    color: #666666;
}

.log-result.possible {
    color: #ffbd2e;
}

.log-line.cursor {
    margin-top: 12px;
}

.log-prompt {
    color: #00ff00;
    font-weight: 600;
}

.log-cursor-blink {
    color: #00ff00;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #000000;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #2a2a2a;
}