/* Terminal / Log Viewer Styles */
.compact-terminal-widget {
    background: #1e1e1e;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 1.5rem 0;
    font-family: 'Roboto Mono', 'Consolas', monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.compact-terminal-header {
    background: #252526;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 500;
}

.pulse-dot {
    color: #10b981;
    font-size: 0.6rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.compact-terminal-body {
    background: #1e1e1e;
    padding: 1rem;
    max-height: 250px;
    min-height: 100px;
    overflow-y: auto;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* Scrollbar */
.compact-terminal-body::-webkit-scrollbar {
    width: 6px;
}

.compact-terminal-body::-webkit-scrollbar-track {
    background: #252526;
}

.compact-terminal-body::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 3px;
}

.compact-terminal-body::-webkit-scrollbar-thumb:hover {
    background: #505050;
}

/* Log Lines */
.terminal-line {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.25rem;
    color: #d4d4d4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding-bottom: 0.1rem;
}

.terminal-time {
    color: #6b7280;
    font-size: 0.75rem;
    min-width: 60px;
    flex-shrink: 0;
    user-select: none;
}

.terminal-message {
    flex: 1;
    word-break: break-word;
}

/* Log Levels */
.log-info {
    color: #60a5fa;
}

/* Blue */
.log-warning {
    color: #fbbf24;
}

/* Amber */
.log-error {
    color: #f87171;
}

/* Red */
.log-success {
    color: #34d399;
}

/* Emerald */

.text-muted {
    color: #6b7280;
}

/* Actions */
.compact-terminal-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-download-log {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.btn-download-log:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}