/* Terminal styles */
.terminal {
  background: #0f172a;
  color: #e2e8f0;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  padding: 16px;
  overflow-y: auto;
  max-height: 600px;
  border-radius: 8px;
}
.terminal .line-success { color: #4ade80; }
.terminal .line-error { color: #f87171; }
.terminal .line-info { color: #60a5fa; }
.terminal .line-warn { color: #fbbf24; }
.terminal .line-stats { color: #c084fc; font-weight: bold; }

/* Status badges */
.badge { padding: 2px 10px; border-radius: 9999px; font-size: 12px; font-weight: 600; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-error { background: #fee2e2; color: #991b1b; }
.badge-running { background: #dbeafe; color: #1e40af; animation: pulse-bg 2s infinite; }
.badge-pending { background: #f1f5f9; color: #475569; }

@keyframes pulse-bg {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Sidebar */
.sidebar { transition: transform 0.3s ease; }
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); position: fixed; z-index: 50; }
  .sidebar.open { transform: translateX(0); }
}

/* Toast notifications */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  padding: 12px 20px; border-radius: 8px; color: white;
  font-size: 14px; font-weight: 500;
  animation: slideUp 0.3s ease;
  max-width: 400px;
}
.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }
.toast-info { background: #2563eb; }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Drag-drop zone */
.drop-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: #6366f1;
  background: #eef2ff;
}

/* Loading spinner */
.spinner {
  border: 3px solid #e2e8f0;
  border-top: 3px solid #6366f1;
  border-radius: 50%;
  width: 24px; height: 24px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
