/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #0f1115;
  --bg-raised: #171a21;
  --bg-inset: #0b0d11;
  --border: #2a2e38;
  --text: #e8e9ec;
  --text-dim: #9498a3;
  --text-faint: #666b78;
  --accent: #5b8cff;
  --accent-dim: #3a5bb0;
  --danger: #ff6b6b;
  --danger-bg: #3a1f22;
  --warn: #e0a736;
  --ok: #35c48a;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

input,
button,
select {
  font: inherit;
  color: inherit;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.field {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--text);
}

.field:focus {
  outline: none;
  border-color: var(--accent);
}

.btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 500;
}

.btn:hover:not(:disabled) {
  background: var(--accent-dim);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--text);
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.error-banner {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
}

.badge {
  display: inline-block;
  border-radius: 4px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #10121a;
}

/* "Working…" state: a static accent-ring on the badge plus a blinking dot,
   so an in-progress job is unmistakably alive and never reads as a finished
   (green) duplicate. Text stays solid for legibility; only the dot animates. */
.badge-active {
  box-shadow: 0 0 0 2px rgba(91, 140, 255, 0.4);
}

.badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  animation: badge-blink 1s ease-in-out infinite;
}

@keyframes badge-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(0.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge-dot {
    animation: none;
  }
}

.progress-track {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 8px;
  width: 100%;
  overflow: hidden;
}

.progress-fill {
  background: var(--accent);
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Vertical deviation slider. writing-mode is the standards-track way to
   orient a range input vertically (bottom = 0%, top = 100% via rtl); it has
   solid support across current Chrome/Firefox/Safari including touch. */
.vslider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 28px;
  height: 140px;
  accent-color: var(--accent);
  background: transparent;
  cursor: pointer;
}

.toggle-btn {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.toggle-btn[aria-pressed="true"] {
  background: var(--warn);
  border-color: var(--warn);
  color: #241a02;
  font-weight: 600;
}

a {
  color: var(--accent);
}

