* { box-sizing: border-box; }
html, body {
  min-height: 100%;
  margin: 0;
  font-family: "Archivo", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  background-color: #020A0F;
  background-image: url("/imagens/fundo.png?v=9");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  image-rendering: high-quality;
  color: #EAFBFF;
}
.overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(to bottom, rgba(2, 10, 15, 0.88), rgba(2, 10, 15, 0.78), rgba(2, 10, 15, 0.94));
  backdrop-filter: blur(8px);
}
.card {
  width: 100%;
  max-width: 32rem;
  background: #082735;
  border: 1px solid #126A89;
  box-shadow: 0 0 35px rgba(0, 174, 239, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #126A89;
  background: #061923;
}
.head .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.head .brand img {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  background: transparent;
}
.head h1 {
  margin: 0;
  font-family: "Archivo Black", "Archivo", "IBM Plex Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #8AE8FF;
  text-shadow: 0 0 10px rgba(56, 216, 255, 0.3);
}
.head a {
  color: #8BB8C4;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  padding: 0 4px;
}
.head a:hover { color: #DDF8FF; }
.body { padding: 32px; }
.field { margin-bottom: 16px; }
label {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8BB8C4;
}
input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid #126A89;
  background: #020A0F;
  color: #EAFBFF;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}
input:focus {
  border-color: #38D8FF;
  box-shadow: 0 0 12px rgba(56, 216, 255, 0.35);
  background: #061923;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  color: #8BB8C4;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.check input { width: 16px; height: 16px; accent-color: #00AEEF; }
.check label {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #8BB8C4;
  cursor: pointer;
}
button[type="submit"], .btn {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border-radius: 2px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #020A0F !important;
  cursor: pointer;
  background: linear-gradient(135deg, #8AE8FF, #00AEEF, #087BA8);
  border: 1px solid #126A89;
  box-shadow: 0 0 15px rgba(56, 216, 255, 0.35);
  transition: all 0.2s ease;
}
button[type="submit"]:hover, .btn:hover {
  background: linear-gradient(135deg, #DDF8FF, #38D8FF, #00AEEF);
  border-color: #38D8FF;
  box-shadow: 0 0 20px rgba(56, 216, 255, 0.55);
  color: #020A0F !important;
}
button[type="submit"]:disabled, .btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.btn-ghost {
  background: #061923;
  border: 1px solid #126A89;
  box-shadow: none;
  color: #EAFBFF;
}
.btn-ghost:hover {
  background: #082735;
  color: #DDF8FF;
  border-color: #00AEEF;
}
.msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: #8BB8C4; }
.msg.err { color: #ff8a8a; }
.msg.ok { color: #8AE8FF; font-weight: bold; }
.verify { text-align: center; }
.verify p { color: #8BB8C4; line-height: 1.5; }
.code-box {
  margin: 16px 0;
  padding: 20px;
  border-radius: 2px;
  border: 1px solid #126A89;
  background: #061923;
}
.code-box strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: 8px;
  color: #8AE8FF;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.code-input {
  text-align: center;
  font-size: 1.5rem !important;
  letter-spacing: 6px;
  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-weight: 700;
  color: #8AE8FF !important;
}
.row { display: flex; gap: 10px; }
.row .btn { margin-top: 10px; }
.ttl { color: #8AE8FF; font-size: 1.2rem; font-weight: 700; font-family: "Archivo Black", "Archivo", sans-serif; font-style: normal; text-transform: uppercase; }
.login {
  display: block;
  margin-top: 12px;
  color: #00AEEF;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.login:hover { color: #DDF8FF; }
.cabal-human {
  margin: 4px 0 8px;
  padding: 12px;
  border: 1px solid #126A89;
  background: #061923;
}
.cabal-human-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8AE8FF;
}
.cabal-human-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.cabal-human-row img {
  display: block;
  height: 64px;
  width: 220px;
  max-width: calc(100% - 48px);
  background: #020A0F;
  border: 1px solid #126A89;
  object-fit: contain;
}
.cabal-human-row button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #126A89;
  background: linear-gradient(135deg, #8AE8FF, #00AEEF, #087BA8);
  color: #020A0F;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(56, 216, 255, 0.35);
}
.cabal-human input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #126A89;
  background: #020A0F;
  color: #EAFBFF;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cabal-human-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cabal-human-msg {
  margin: 8px 0 0;
  color: #ff8a8a;
  font-size: 13px;
}
