/* Vigie Águas login: colours, fonts and logo of the app (services/web, assets/brand). */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-800-normal.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-700-normal.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --vigie-navy: #0b3b52;
  --vigie-brand: #0b4f6c;
  --vigie-green: #2f9e5b;
  --vigie-lime: #5fd08a;
  --vigie-ink: #10303f;
  --vigie-muted: #4f6b75;
  --keycloak-bg-logo-url: none;
  --keycloak-card-top-color: var(--vigie-lime);
  --pf-v5-global--FontFamily--text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pf-v5-global--FontFamily--heading: "Manrope", "Inter", system-ui, sans-serif;
  --pf-v5-global--primary-color--100: var(--vigie-brand);
  --pf-v5-global--primary-color--200: var(--vigie-navy);
  --pf-v5-global--link--Color: var(--vigie-brand);
  --pf-v5-global--link--Color--hover: var(--vigie-navy);
}

/* Background: the navy of the app's header, with a soft light from the top. */
.login-pf body,
body#keycloak-bg {
  background: radial-gradient(1100px 520px at 50% -12%, rgb(95 208 138 / 0.18), transparent 62%),
    linear-gradient(165deg, #0d4560 0%, var(--vigie-navy) 45%, #072a3b 100%) fixed;
  min-height: 100vh;
}

/* Logo instead of the realm name (the name stays for screen readers). */
#kc-header-wrapper {
  background: url("../img/vigie-horizontal-white.svg") no-repeat center / contain;
  height: 58px;
  width: 250px;
  margin: 8px auto 4px;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

/* The card. */
.pf-v5-c-login__main {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35), 0 2px 8px rgb(0 0 0 / 0.12);
}
#kc-page-title {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--vigie-ink);
}
.pf-v5-c-form__label-text { font-weight: 600; color: var(--vigie-ink); }
.pf-v5-c-form-control { border-radius: 10px; }

.pf-v5-c-button.pf-m-primary {
  --pf-v5-c-button--m-primary--BackgroundColor: var(--vigie-brand);
  --pf-v5-c-button--m-primary--hover--BackgroundColor: var(--vigie-navy);
  --pf-v5-c-button--m-primary--focus--BackgroundColor: var(--vigie-navy);
  border-radius: 999px;
  font-weight: 700;
  padding-block: 10px;
}

/* Footer: who can sign in, and what a passkey is. */
.vigie-footer {
  margin-top: 6px;
  padding: 14px 28px 4px;
  border-top: 1px solid #e1eae7;
  color: var(--vigie-muted);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}
.vigie-footer p + p { margin-top: 6px; }
.vigie-footer-lead { font-weight: 700; color: var(--vigie-ink); }

/* Language choice: quieter. */
#login-select-toggle { font-size: 13px; }
