/* Cloud18 login: light page, white card, blue buttons; the CLOUD18.io wordmark on top, the cloud-and-signal icon on the button. */
:root {
  --cloud18-blue: #3182ce;
  --cloud18-blue-dark: #2b6cb0;
  --pf-v5-global--primary-color--100: var(--cloud18-blue);
  --pf-v5-global--primary-color--200: var(--cloud18-blue-dark);
  --pf-v5-global--link--Color: var(--cloud18-blue);
  --pf-v5-global--link--Color--hover: var(--cloud18-blue-dark);
}

body#keycloak-bg {
  background: #f7fafc;
}

/* One centered column at every width (the parent's wide-screen grid squeezes the card). */
.pf-v5-c-login__container {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header: the CLOUD18.io wordmark (original artwork, transparent) instead of the realm name. */
#kc-header {
  display: flex;
  justify-content: center;
  padding: 1rem 0 1.25rem;
}
#kc-header-wrapper {
  width: 200px;
  height: 55px;
  background: url("../img/cloud18-wordmark.png") center / contain no-repeat;
  font-size: 0;
  color: transparent;
}
#kc-header-wrapper > * {
  display: none;
}

/* Card. */
.pf-v5-c-login__main {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
#kc-page-title {
  text-align: center;
  font-size: 1.5rem;
}

/* Buttons. */
.pf-v5-c-button.pf-m-primary {
  background-color: var(--cloud18-blue);
  border-radius: 0.375rem;
}
.pf-v5-c-button.pf-m-primary:hover,
.pf-v5-c-button.pf-m-primary:focus {
  background-color: var(--cloud18-blue-dark);
}

/* External sign-in (Google, Microsoft) is shown; the GitLab provider is hidden by Keycloak itself
   (hideOnLogin on the realm's gitlab identity provider, 2026-11-02). */

/* "Sign in with Cloud18": the cloud-and-signal icon (white) on the left, the label centred, as on the Google button below it. */
#kc-login {
  position: relative;
}
#kc-login::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: url("../img/cloud18-button.svg") center / contain no-repeat;
}
