/* The Feed wireframe - global styles */
:root {
  --color-primary: #4F46E5;
  --color-primary-dark: #4338CA;
  --color-primary-50: #EEF2FF;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* Subtle scroll-bar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.12); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,23,42,0.24); }

/* Card hover */
.tool-card { transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease; }
.tool-card:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,23,42,0.07); border-color: #c7d2fe; }

/* Selectable card */
.select-card { transition: border-color 120ms ease, background 120ms ease; }
.select-card[data-selected="true"] {
  border-color: #4F46E5;
  background: linear-gradient(to bottom, #eef2ff 0%, #ffffff 100%);
}
.select-card[data-selected="true"] .select-check { display: flex; }

/* Pulse for live preview indicators */
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.pulse-dot { animation: pulseDot 1.4s ease-in-out infinite; }

/* Slider */
input[type=range].slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(to right, #4F46E5 var(--val, 50%), #e2e8f0 var(--val, 50%));
  border-radius: 999px;
  outline: none;
}
input[type=range].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid #4F46E5;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15,23,42,0.18);
}
input[type=range].slider::-moz-range-thumb {
  height: 22px; width: 22px; border-radius: 50%; background: white;
  border: 2px solid #4F46E5; cursor: pointer;
}

/* Wizard step pill states */
.step-pill { transition: all 160ms ease; }

/* Generating loader */
.shimmer {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Markdown preview block */
.md-preview {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: #1e293b;
}
.md-preview h1, .md-preview h2 { color: #0f172a; font-weight: 600; }
