/* Login no esquema do wp-login, com a identidade da Advogando no Mundo Digital:
   tinta #12110e, papel #f4f1e9, dourado #f2c94c, Jost (substituta oficial da Dunbar). */
:root {
  --tinta: #12110e;
  --tinta-2: #1c1a16;
  --papel: #f4f1e9;
  --papel-2: #ebe6da;
  --dourado: #f2c94c;
  --dourado-escuro: #d9ad2b;
  --linha: #ddd7ca;
  --apagado: #6f6a5f;
  --erro: #9f433c;
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  padding: 32px 16px;
  color: var(--papel);
  background-color: var(--tinta);
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(242, 201, 76, .10), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(242, 201, 76, .06), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}

.login { width: 100%; max-width: 340px; }

.marca { text-align: center; margin-bottom: 26px; }
.marca img { display: block; width: 236px; max-width: 80%; height: auto; margin: 0 auto 18px; }
.marca h1 {
  margin: 0; font-weight: 300; font-size: 26px; letter-spacing: -.02em; line-height: 1.1;
  color: var(--papel);
}
.marca h1 em { font-style: italic; color: var(--dourado); }

.cartao {
  background: var(--papel);
  color: var(--tinta);
  border-radius: 6px;
  padding: 26px 24px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 18px 40px rgba(0, 0, 0, .35);
}
.cartao label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.cartao input[type="text"], .cartao input[type="password"] {
  width: 100%; font: inherit; font-size: 20px; line-height: 1.3;
  padding: 6px 10px; margin-bottom: 18px;
  color: var(--tinta); background: #fffdf8;
  border: 1px solid #c9c2b2; border-radius: 4px;
  transition: border-color .15s, box-shadow .15s;
}
.cartao input:focus {
  outline: none; border-color: var(--tinta);
  box-shadow: 0 0 0 2px rgba(242, 201, 76, .55);
}
.campo-senha { position: relative; }
.campo-senha input { padding-right: 44px; }
.ver-senha {
  position: absolute; right: 2px; top: 2px; width: 40px; height: 38px;
  border: 0; background: transparent; color: var(--apagado); cursor: pointer; border-radius: 4px;
  display: grid; place-items: center;
}
.ver-senha svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ver-senha:hover, .ver-senha[aria-pressed="true"] { color: var(--tinta); }
.ver-senha:focus-visible { outline: 2px solid var(--tinta); }

.rodape-form { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.lembrar { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; font-size: 14px !important; font-weight: 400 !important; cursor: pointer; }
.lembrar input { width: 16px; height: 16px; accent-color: var(--tinta); margin: 0; }

.entrar {
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .01em;
  min-height: 40px; padding: 0 22px;
  color: var(--tinta); background: var(--dourado);
  border: 1px solid var(--dourado-escuro); border-radius: 4px;
  cursor: pointer; transition: background .15s, transform .1s;
}
.entrar:hover { background: #f5d36a; }
.entrar:active { transform: translateY(1px); }
.entrar:focus-visible { outline: 2px solid var(--tinta); outline-offset: 2px; }
.entrar:disabled { opacity: .65; cursor: progress; }

.aviso {
  margin: 0 0 16px; padding: 12px 14px;
  background: var(--papel); color: var(--tinta);
  border-left: 4px solid var(--erro); border-radius: 4px;
  font-size: 14px; line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.aviso.info { border-left-color: var(--dourado-escuro); }

.nota { margin: 22px 0 0; text-align: center; font-size: 13px; color: rgba(244, 241, 233, .55); }

.tremer { animation: tremer .35s ease; }
@keyframes tremer {
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
@media (prefers-reduced-motion: reduce) { .tremer { animation: none; } }

/* Alinhado à Central (18/11): rótulos em DM Mono, cantos e botão como os da Central. Só visual. */
.cartao { border-radius: 18px; padding: 26px 24px 22px; }
.cartao > label { font-family: "DM Mono", ui-monospace, Consolas, monospace; font-size: 10.5px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: var(--apagado); }
.cartao input[type="text"], .cartao input[type="password"] { border-radius: 10px; padding: 7px 12px; border-color: var(--linha); }
.cartao input:focus { border-color: var(--dourado-escuro); box-shadow: 0 0 0 3px rgba(242, 201, 76, .4); }
.ver-senha { right: 3px; top: 3px; border-radius: 8px; }
.entrar { border-radius: 999px; font-weight: 500; padding: 0 24px; }
.aviso { border-radius: 10px; }
.nota { font-family: "DM Mono", ui-monospace, Consolas, monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 241, 233, .45); }
