/* Tela de login no padrão O7 (/opt/marca-open7/PADRAO-LOGIN-O7.md): valores do padrão.
 * Do Canhoto: ícone, nome, subtítulo e botão grafite (direção A). O foco leva o sol. */

* {
  box-sizing: border-box;
}

body.login {
  margin: 0;
  background: #0f1216;
  color: #e6e9ed;
  font-family: system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.topo {
  margin-top: 80px;
  text-align: center;
}

.topo img {
  width: 84px;
  height: 84px;
}

.topo h1 {
  font-size: 30px;
  font-weight: 600;
  margin: 14px 0 8px;
}

.topo .sub {
  font-size: 16px;
  color: #9aa4b2;
  margin: 0 0 34px;
}

.cx {
  width: 342px;
  max-width: calc(100vw - 32px);
  background: #171b21;
  border: 1px solid #262c35;
  border-radius: 16px;
  padding: 24px;
}

.cx label {
  display: block;
  text-align: left;
  font-size: 15px;
  color: #c9d1d9;
  margin-bottom: 8px;
}

.cx input {
  width: 100%;
  height: 42px;
  background: #0f1216;
  color: #e6e9ed;
  border: 1px solid #262c35;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px;
  margin-bottom: 18px;
}

.cx input:focus {
  outline: none;
  border: 2px solid #ffa94d;
  padding: 0 11px;
  box-shadow: 0 0 0 3px rgba(240, 122, 0, 0.18);
}

.cx .erro {
  font-size: 14px;
  color: #f87171;
  margin: 0 0 14px;
  text-align: left;
}

.cx .botao {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #334155, #64748b);
  cursor: pointer;
  text-decoration: none;
}

.cx .botao:focus-visible {
  outline: 3px solid #ffa94d;
  outline-offset: 2px;
}

.cx .botao + .dev {
  margin-top: 22px;
}

.dev {
  border-top: 1px solid #262c35;
  padding-top: 18px;
}

.dev .aviso {
  font-size: 13px;
  color: #9aa4b2;
  margin: 0 0 12px;
}

[hidden] {
  display: none !important;
}

.rodape-fixo-espaco {
  height: 80px;
}
