/* Custom styles overriding or extending Bootstrap */
body {
    background-color: #0d1117; /* Dark GitHub-like background */
    color: #c9d1d9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.card {
    background-color: #161b22;
    border: 1px solid #30363d;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.card-header {
    background-color: #21262d;
    border-bottom: 1px solid #30363d;
    font-weight: 600;
}

.form-control {
    background-color: #0d1117;
    border-color: #30363d;
    color: #c9d1d9;
}

.form-control:focus {
    background-color: #0d1117;
    border-color: #58a6ff;
    color: #c9d1d9;
    box-shadow: 0 0 0 0.25rem rgba(88, 166, 255, 0.25);
}

.btn-primary {
    background-color: #238636;
    border-color: #238636;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #2ea043;
    border-color: #2ea043;
}

.log-container {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    max-height: 400px;
    overflow-y: auto;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 10px;
    color: #8b949e;
}

.log-line {
    margin-bottom: 4px;
    border-bottom: 1px solid #21262d;
    padding-bottom: 2px;
}

.log-line:last-child {
    border-bottom: none;
}

.json-preview {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.8rem;
    white-space: pre-wrap;
    color: #a5d6ff;
    background-color: #0d1117;
    padding: 10px;
    border-radius: 6px;
    max-height: 400px;
    overflow-y: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1117; 
}
::-webkit-scrollbar-thumb {
    background: #30363d; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8b949e; 
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
