/* desk42 sign-in pages: a thin layer over keycloak.v2 (PatternFly 5), in the 42 family's look
 * (night page with the hex tile, the brand's on-dark logo, a white card, the brand colour on
 * buttons and links, Comfortaa titles). Rendered by the chart from brand/identity/desk42.css.tpl:
 * @@BRAND_*@@ come from the values. Only CSS: the templates stay the stock ones. */
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/comfortaa-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --d42-brand: #4568DC;
  --d42-strong: #3652C4;
  --d42-bright: #8DA2F0;
  --d42-night: #121317;
  --d42-ink: #26272b;
  --d42-muted: #66676f;
  --keycloak-bg-logo-url: none;                       /* no stock background picture */
  --pf-v5-global--FontFamily--text: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  --pf-v5-global--primary-color--100: #4568DC;
  --pf-v5-global--primary-color--200: #3652C4;
  --pf-v5-global--active-color--100:  #4568DC;
  --pf-v5-global--link--Color:        #3652C4;
  --pf-v5-global--link--Color--hover: #3652C4;
  --pf-v5-c-button--m-primary--BackgroundColor:        #4568DC;
  --pf-v5-c-button--m-primary--hover--BackgroundColor: #3652C4;
  --pf-v5-c-button--m-primary--focus--BackgroundColor: #3652C4;
  --pf-v5-c-button--m-primary--active--BackgroundColor: #3652C4;
}
body#keycloak-bg, .login-pf body {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34.641 60'%3E%3Cpath d='M17.32 0V10L34.64 20V40L17.32 50V60M17.32 10L0 20V40L17.32 50' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='.8'/%3E%3C/svg%3E") 0 0 / 34px auto,
    radial-gradient(circle at 50% 20%, #1b1c21 0, var(--d42-night) 65%) fixed !important;
  background-color: var(--d42-night) !important;
}
/* the brand block above the card: the logo carries the name, so the text is visually hidden */
#kc-header-wrapper {
  font-size: 0 !important;
  line-height: 0;
  padding: 0 0 .4rem;
  text-align: center;
}
#kc-header-wrapper::before {
  content: "";
  display: block;
  width: 240px; height: 60px;
  margin: 0 auto;
  background: url(../img/logo.svg) center / contain no-repeat;
}
.pf-v5-c-login__main {
  border-top: 4px solid var(--d42-brand) !important;   /* the stock value is fixed at component level */
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 30px 80px rgba(0, 0, 0, .45);
}
#kc-page-title {
  font-family: "Comfortaa", ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--d42-ink);
}
.pf-v5-c-button.pf-m-primary {
  border-radius: 999px;
  font-weight: 700;
}
.pf-v5-c-form-control {
  --pf-v5-c-form-control--focus--BorderBottomColor: var(--d42-brand);
  --pf-v5-c-form-control--hover--BorderBottomColor: var(--d42-strong);
  border-radius: 10px;
}
.pf-v5-c-form-control:focus-within { border-bottom-color: var(--d42-brand) !important; }
/* the legal line at the bottom of the card */
.pf-v5-c-login__main::after {
  content: "© 2026 Padmini Systems Private Limited. All rights reserved. desk42™ is a product of Padmini Systems Private Limited, Mumbai.";
  display: block;
  padding: .6rem 1.5rem 1rem;
  font-size: .7rem;
  line-height: 1.4;
  color: var(--d42-muted);
  text-align: center;
}
