* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; display: flex; align-items: center; justify-content: center; padding: 16px;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: #111827;
  background: #f2f3f5;
}
.card {
  width: 100%; max-width: 460px; background: #fff; border-radius: 12px; padding: 34px 40px 30px;
  box-shadow: 0 10px 40px rgba(17, 24, 39, .08);
  border-top: 4px solid; border-image: linear-gradient(90deg, #000 50%, #E31837 50%) 1;
}
h1 { margin: 0 0 10px; font-size: 28px; font-weight: 700; letter-spacing: -.3px; }
.sub { margin: 0 0 32px; color: #6b7280; font-size: 15px; line-height: 1.35; }
.sub b { color: #111827; word-break: break-all; }
label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
input {
  width: 100%; height: 44px; border: 1px solid #d1d5db; border-radius: 8px; padding: 0 16px; font-size: 16px; color: #111827;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus { border-color: #E31837; box-shadow: 0 0 0 3px rgba(227, 24, 55, .15); }
#code { letter-spacing: 10px; font-size: 22px; text-align: center; font-weight: 700; }
button[type=submit] {
  width: 100%; height: 45px; margin-top: 16px; border: 0; border-radius: 8px; background: #000; color: #fff;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s;
}
button[type=submit]:hover { background: #E31837; }
button[type=submit]:disabled { background: #9ca3af; cursor: default; }
.note { margin: 22px 0 0; text-align: center; font-size: 12px; color: #6b7280; line-height: 1.3; }
.links { display: flex; justify-content: space-between; margin-top: 14px; }
.link { border: 0; background: none; color: #E31837; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 0; }
.link:disabled { color: #9ca3af; cursor: default; }
.msg { margin-top: 16px; font-size: 13px; text-align: center; min-height: 18px; color: #374151; }
.msg.err { color: #b91c1c; }
.msg.ok { color: #047857; }
[hidden] { display: none !important; }

/* marca: Level Group à esquerda, American Tower à direita */
.brand { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #e5e7eb; }
.level { display: flex; align-items: center; gap: 7px; }
.level img { height: 34px; }
.level span { font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.05; color: #4b5563; }
.client-logo { height: 52px; margin: -9px 0; }
