.test-drive-banner {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.test-drive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.test-drive-card {
  background: rgba(18, 22, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.test-drive-card:hover {
  border-color: var(--indigo);
  background: rgba(26, 32, 48, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.test-drive-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.test-drive-card:hover::before {
  opacity: 1;
}

.td-header {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.td-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.td-badge {
  margin-top: 8px;
  display: inline-block;
}

/* Test Drive Loading Overlay */
.td-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 13, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.td-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--indigo);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 24px;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.td-progress-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--sky);
  margin-bottom: 8px;
}

.td-progress-bar-container {
  width: 300px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.td-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--indigo);
  transition: width 0.2s ease;
}

.td-telemetry-log {
  font-size: 12px;
  color: var(--text-muted);
  height: 20px;
}
