/* Mirrors @ebanq/ui theme.css tokens + Input/Button/Field primitives —
   this page renders before the app bundle exists, so it can't import them. */
:root {
  --background: #f6f9fc;
  --foreground: #0a2540;
  --foreground-muted: #697386;
  --muted-foreground: #425466;
  --placeholder: #8898aa;
  --border-strong: rgba(15, 23, 42, 0.14);
  --primary: #0a2540;
  --primary-foreground: #f6f9fc;
  --info: #635bff;
  --destructive: #cd3d64;
}
* {
  box-sizing: border-box;
  margin: 0;
}
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  padding: 1.25rem;
}
.wordmark {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
}
main {
  margin: auto;
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
header {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.subtitle {
  color: var(--foreground-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
}
input {
  height: 2.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: #fff;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder {
  color: var(--placeholder);
}
input:focus {
  box-shadow: 0 0 0 2px var(--info);
}
.error {
  display: none;
  color: var(--destructive);
  font-size: 0.75rem;
  font-weight: 600;
}
.error.visible {
  display: block;
}
button {
  margin-top: 1rem;
  height: 2.5rem;
  border: 0;
  border-radius: 2px;
  background: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
button:hover {
  opacity: 0.9;
}
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #95c127;
}
footer {
  color: var(--foreground-muted);
  font-size: 0.75rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .wordmark {
    position: absolute;
    left: 2.5rem;
    top: 2.5rem;
  }
  footer {
    position: absolute;
    left: 2.5rem;
    bottom: 2.5rem;
  }
}
