/* Layout matches the Care Indeed Keycloak theme; colors and button follow careindeed.com. */
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("roboto-latin.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("montserrat-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --ground: #faf8f8;
  --paper: #fff;
  --ink: #1f1c1b;
  --muted: #524d4b;
  --brand: #c74601;
  --brand-strong: #421700;
  font: 400 16px/1.55 Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ground);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 56px) 16px;
  -webkit-font-smoothing: antialiased;
}
.sign-in { width: 100%; max-width: 560px; }
.brand { display: block; width: 200px; max-width: 100%; height: auto; margin: 0 0 24px; }
.card {
  padding: 32px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px oklch(0 0 0 / .06),
    0 1px 2px oklch(0 0 0 / .06),
    0 12px 32px -12px oklch(0 0 0 / .14);
}
p { margin: 0; }
.eyebrow { color: var(--muted); font-size: .875rem; font-weight: 500; margin-bottom: 12px; }
h1 {
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0 0 16px;
}
.description { color: var(--muted); }
.sign-in-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--paper);
  background: var(--brand);
  text-decoration: none;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  text-align: center;
  transition: background-color .2s ease-out, border-color .2s ease-out;
}
@media (hover: hover) {
  .sign-in-button:hover { border-color: var(--brand-strong); background: var(--brand-strong); }
}
.sign-in-button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .sign-in-button { transition: background-color .2s ease-out, border-color .2s ease-out, scale .15s ease-out; }
  .sign-in-button:active { scale: .96; }
}
@media (max-width: 480px) { .card { padding: 24px 20px; } }
@media (forced-colors: active) {
  .card { border: 1px solid CanvasText; }
  .sign-in-button { border-color: ButtonText; }
  .sign-in-button:focus-visible { outline-color: Highlight; }
}
