/* Padmini ID - a thin layer over keycloak.v2 (PatternFly 5). Rendered from
 * keycloak/theme/padmini.css.tpl by scripts/14-deploy-keycloak.sh; colours come
 * from BRAND_* in config.env. Only CSS: templates stay the stock ones.
 * Scheme: navy page with the light company logo, white card, orange accents. */
:root {
  --pd-primary: #0f1e3a;
  --pd-dark:    #081123;
  --pd-accent:  #e78200;
  --keycloak-bg-logo-url: none;                       /* no stock background picture */
  --pf-v5-global--primary-color--100: #e78200;
  --pf-v5-global--primary-color--200: #c46e00;
  --pf-v5-global--active-color--100:  #e78200;
  --pf-v5-global--link--Color:        #0f1e3a;
  --pf-v5-global--link--Color--hover: #e78200;
  --pf-v5-c-button--m-primary--BackgroundColor:        #e78200;
  --pf-v5-c-button--m-primary--hover--BackgroundColor: #ff9a1f;
  --pf-v5-c-button--m-primary--focus--BackgroundColor: #ff9a1f;
  --pf-v5-c-button--m-primary--active--BackgroundColor: #c46e00;
}
body#keycloak-bg, .login-pf body {
  background: radial-gradient(circle at 18% 0%, #1c3263 0, var(--pd-primary) 42%, var(--pd-dark) 100%) fixed !important;
}
/* brand block above the card: the company logo, then the service name */
#kc-header-wrapper {
  color: #fff !important;                /* the stock rule is !important too */
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .9rem;
  line-height: 1.3;
  padding: 0;
  text-align: center;
}
#kc-header-wrapper::before {
  content: "";
  display: block;
  width: 250px; height: 138px;
  margin: 0 auto 4px;
  background: url(../img/logo-login.png) center / contain no-repeat;
}
.pf-v5-c-login__main {
  --pf-v5-c-login__main--BorderTopColor: var(--pd-accent);
  border-top: 4px solid var(--pd-accent) !important;   /* the stock value is fixed at component level */
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}
#kc-page-title {
  font-size: 1.25rem;
  color: var(--pd-primary);
}
.pf-v5-c-button.pf-m-primary {
  border-radius: .45em;
  font-weight: 700;
  letter-spacing: .05em;
}
.pf-v5-c-form-control {
  --pf-v5-c-form-control--focus--BorderBottomColor: var(--pd-accent);
  --pf-v5-c-form-control--hover--BorderBottomColor: var(--pd-primary);
  border-radius: .45em;
}
.pf-v5-c-form-control:focus-within { border-bottom-color: var(--pd-accent) !important; }
/* legal line at the bottom of the card */
.pf-v5-c-login__main::after {
  content: "© 2026 Padmini Systems Private Limited. All rights reserved. Padmini Desktop™ is a product of Padmini Systems.";
  display: block;
  padding: .6rem 1.5rem 1rem;
  font-size: .7rem;
  line-height: 1.4;
  color: #6a7385;
  text-align: center;
}
