* { box-sizing: border-box; }
html, body {
  min-height: 100%;
  margin: 0;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  background-color: #000;
  background-image: url("/imagens/fundo.png?v=7");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  image-rendering: high-quality;
  color: #EAE6DA;
}
.overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.85), rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.9));
  backdrop-filter: blur(8px);
}
.card {
  width: 100%;
  max-width: 32rem;
  background: color-mix(in srgb, #1a191e 90%, black);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 50px rgba(188, 43, 38, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(188, 43, 38, 0.08);
}
.head h1 {
  margin: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
}
.head a {
  color: #71717a;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  padding: 0 4px;
}
.head a:hover { color: #fff; }
.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: #a1a1aa;
}
input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  color: #EAE6DA;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}
input:focus { border-color: #bc2b26; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  color: #d4d4d8;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.check input { width: 16px; height: 16px; accent-color: #bc2b26; }
.check label {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #d4d4d8;
  cursor: pointer;
}
button[type="submit"], .btn {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border-radius: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #a52420, #bc2b26, #a52420);
  border: 1px solid rgba(188, 43, 38, 0.7);
  box-shadow: none;
}
button[type="submit"]:hover, .btn:hover {
  filter: brightness(1.08);
  border-color: #c93a34;
}
button[type="submit"]:disabled, .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  color: #EAE6DA;
}
.msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: #a1a1aa; }
.msg.err { color: #f87171; }
.msg.ok { color: #34d399; }
.verify { text-align: center; }
.verify p { color: #d4d4d8; line-height: 1.5; }
.code-box {
  margin: 16px 0;
  padding: 20px;
  border-radius: 2px;
  border: 1px solid rgba(188, 43, 38, 0.45);
  background: rgba(188, 43, 38, 0.08);
}
.code-box strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: 8px;
  color: #EAE6DA;
  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;
}
.row { display: flex; gap: 10px; }
.row .btn { margin-top: 10px; }
.ttl { color: #fff; font-size: 1.2rem; font-weight: 700; font-family: "Space Grotesk", sans-serif; font-style: italic; text-transform: uppercase; }
.login {
  display: block;
  margin-top: 12px;
  color: #bc2b26;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.login:hover { color: #c93a34; }
