/*
 * StepGIS sign-in: the voxspire theme with the product's photo and its own lockup,
 * as on the site's /login/stepgis (src/components/auth/auth-screen.tsx, ProductLogo).
 * Loaded after voxspire.css.
 */
:root {
  --vx-photo: url("https://voxspiresystems.com/images/auth/stepgis-coast.jpg");
  --vx-logo: url("https://voxspiresystems.com/brand/stepgis-lockup.svg");
}
/* Keycloak's login.css pads the wrapper, which would enlarge and shift the logo */
#kc-header-wrapper {
  padding: 0;
}
/* Site size of the lockup; phones keep the 40px height from voxspire.css */
@media (min-width: 768px) {
  #kc-header-wrapper {
    width: 279px;
    height: 70px;
  }
}
/* Tablet: Keycloak's login.css caps the panel at 500px and overrides the padding of voxspire.css */
@media (min-width: 768px) and (max-width: 1279px) {
  .login-pf-page .card-pf {
    max-width: none;
    padding: 56px max(40px, calc(50% - 240px)) 64px;
  }
}
/* password-toggle.js also adds an eye to Keycloak's hidden password field on the update-password page.
   Two spellings: the browser rewrites the attribute with a space once a script touches the field's style. */
input[style*="display:none"] + .geostat-password-toggle,
input[style*="display: none"] + .geostat-password-toggle {
  display: none;
}
/* Phone and tablet: the dotted horse would fade on the light sky of the photo */
@media (max-width: 1279px) {
  #kc-header {
    background: rgba(0, 0, 0, 0.4);
  }
}
