/* Metropolis Suite — tela de logon.
   Reproduz os moldes do logon SAP (disposição, cores, tipografia) sem usar
   nenhum asset/marca do fornecedor. Fundo em gradiente azul-claro próprio. */

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #333;
  /* Gradiente azul-claro com formas translúcidas suaves (CSS puro). */
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(255,255,255,0.55), rgba(255,255,255,0) 60%),
    radial-gradient(900px 600px at 20% 110%, rgba(255,255,255,0.40), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #dce8f4 0%, #cfdff0 45%, #c3d6ea 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Formas geométricas translúcidas ao fundo, discretas. */
body::before,
body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
body::before { width: 900px; height: 900px; top: -300px; right: -200px; }
body::after  { width: 700px; height: 700px; bottom: -260px; left: -180px; background: rgba(255,255,255,0.12); }

.brand {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 20px;
  font-weight: 700;
  color: #2f6db0;
  letter-spacing: .3px;
  z-index: 2;
}
.brand span { font-weight: 400; color: #4a7ebb; }

.logon-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logon-card {
  width: 300px;
  max-width: 90vw;
}

.view.hidden { display: none; }

.change-title {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 700;
}

/* Campos empilhados, no estilo do logon SAP (bordas coladas). */
.field {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  border: 1px solid #b9c4cf;
  outline: none;
}
.field::placeholder { color: #8a95a1; }
.field:focus { border-color: #4a7ebb; box-shadow: 0 0 0 1px #4a7ebb inset; }

.field-top    { border-radius: 3px 3px 0 0; }
.field-mid    { border-top: none; border-radius: 0; }
.field-bottom { border-top: none; border-radius: 0 0 3px 3px; }

.lbl {
  display: block;
  margin: 16px 0 4px;
  font-size: 13px;
  color: #445;
}

.select {
  border-radius: 3px;
  height: 40px;
  appearance: auto;
}

.btn {
  width: 100%;
  height: 44px;
  margin-top: 16px;
  border: none;
  border-radius: 3px;
  background: #5b8db8;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover  { background: #4f80ab; }
.btn:active { background: #45739b; }
.btn:disabled { background: #9db6cd; cursor: default; }

.link {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: #2f6db0;
  font-size: 14px;
  text-decoration: none;
}
.link:hover { text-decoration: underline; }

.msg {
  min-height: 18px;
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #b5231f; /* erro */
}
.msg.ok { color: #2c7a2c; } /* sucesso */

.copyright {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 12px;
  color: #7a8794;
  z-index: 2;
}

@media (max-width: 480px) {
  .copyright { left: 14px; right: 14px; text-align: center; }
}

/* Sprint 53 (T16): elementos dos temas novos; só aparecem com /fe-shell/temas/logon-temas.css */
.mt-canto, .mt-raios, .mt-cidade, .mt-lockup, .mt-lbl, .mt-assinatura { display: none; }
