/* Local GLPI 11 revision: scoped to the login page only. */
body.st-customlogin {
  margin: 0; min-height: 100vh; height: auto; overflow-y: auto;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.st-login-page { min-height: 100vh; height: auto; }
.st-login-page .st-login-wrapper {
  min-height: 100vh; box-sizing: border-box;
  margin: 0 !important; padding: 24px 16px !important;
}
.st-login-page .st-login-container {
  box-sizing: border-box; width: 100% !important; max-width: 480px !important;
  margin: auto; padding: 0 !important;
}
.st-login-page .main-content-card {
  width: 100%; height: auto; border: 0; border-radius: 14px;
  overflow: hidden; box-shadow: 0 12px 36px rgb(0 0 0 / 16%);
}
.st-login-page .main-content-card > .card-header:empty { display: none; }
.st-login-page .st-login-body { display: block; padding: 0 !important; }
.st-login-page .st-login-form {
  box-sizing: border-box; min-width: 0; width: 100%; margin: 0;
  padding: 28px; height: auto; box-shadow: none;
}
.st-login-page .st-login-row { margin-left: 0; margin-right: 0; }
.st-login-page .st-login-fields { width: 100%; max-width: 100%; padding: 0; flex: 0 0 100%; }
.st-login-page .st-login-logo { text-align: center; margin-bottom: 20px; }
.st-login-page .st-login-logo img,
.st-login-page .st-login-logo .glpi-logo {
  display: block; width: 210px; max-width: 100%; height: 100px;
  object-fit: contain; background-size: contain; margin: 0 auto !important;
}
.st-login-page .glpi-logo[hidden] { display: none !important; }
.st-login-page .st-login-fields > .card-header {
  min-height: 0; padding: 0 0 18px; justify-content: center;
}
.st-login-page .st-login-fields h2 { font-size: 1.15rem; text-align: center; }
.st-login-page .st-login-side { display: none; }
@media (min-width: 900px) {
  .st-login-page .st-login-container.st-has-side { max-width: 1000px !important; }
  .st-login-page .st-has-side > .st-login-body {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  }
  .st-login-page .st-login-side {
    display: block; min-height: 460px; background-size: cover;
    background-position: center; background-repeat: no-repeat;
  }
  .st-login-page .st-has-side .st-login-form { padding: 32px; }
}
@media (max-width: 480px) {
  .st-login-page .st-login-form { padding: 22px 18px; }
}

/* STRATEGA_FOOTER_V1 */
.st-login-page #st-stratega-footer {
  margin: 18px 0 0; padding: 0 8px; text-align: center;
  font-size: 13px; line-height: 1.6; color: #E4F3F4;
  overflow-wrap: anywhere;
}
.st-login-page .st-glpi-attribution {
  margin-top: 4px !important; text-align: center;
  font-size: 11px; line-height: 1.6; color: #B6CFD3 !important;
}
.st-login-page .st-glpi-attribution a {
  color: #B6CFD3 !important; text-decoration: underline;
  text-underline-offset: 2px;
}

/* Ocultar a atribuição visual do GLPI somente no login */
.st-login-page .st-glpi-attribution {
    display: none !important;
}
