/* Hand-written polish for the OpenRun login page, kept out of inline <style>
   so the strict login-page CSP (style-src 'self') is satisfied. Mirrors the
   console design layer (ui/console/static/css/style.css). Served alongside the
   generated tailwind/daisyui output. */

/* Brand accent bar under the page title, fading in to the dark green */
.login-title::after {
  content: "";
  display: block;
  width: 4.3em;
  height: 3px;
  margin-top: 0.3rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    color-mix(in oklch, var(--color-secondary) 5%, transparent),
    var(--color-secondary)
  );
}

/* Focused inputs glow softly in the brand color */
.input {
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.input:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 15%, transparent);
}

/* Visible keyboard focus everywhere, in the brand color */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* The card lifts very slightly, matching the console card hover */
.card.border {
  box-shadow: 0 2px 10px -4px color-mix(in oklab, var(--color-secondary) 24%, transparent);
}
