*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.icon { display: inline-block; vertical-align: middle; }
body { font-family: 'Inter','Segoe UI',system-ui,sans-serif; min-height: 100vh; }

.lw {
  min-height: 100vh;
  background: #061206;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.glow-r {
  position: absolute; right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34,197,94,.15) 0%, transparent 60%);
  pointer-events: none;
}
.glow-l {
  position: absolute; left: -60px; bottom: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34,197,94,.07) 0%, transparent 65%);
  pointer-events: none;
}
.glow-top {
  position: absolute; top: -100px; left: 30%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34,197,94,.05) 0%, transparent 65%);
  pointer-events: none;
}

.inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.login-left { flex: 1; max-width: 420px; }

.tagline {
  font-size: 36px; font-weight: 800;
  color: #fff; line-height: 1.2;
  margin-bottom: .9rem; letter-spacing: -.02em;
}
.tagline .g { color: #4ade80; }

.sub {
  font-size: 14px; color: rgba(255,255,255,.4);
  line-height: 1.65; margin-bottom: 2.25rem; max-width: 320px;
}

.mods { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.mod { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mod-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(15,40,15,.9);
  border: 1px solid rgba(74,222,128,.22);
  display: flex; align-items: center; justify-content: center;
}
.mod span { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 500; text-align: center; }

.card {
  width: 340px; flex-shrink: 0;
  background: rgba(8,22,8,.93);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 18px; padding: 1.85rem;
  box-shadow:
    0 0 40px rgba(74,222,128,.07),
    0 24px 64px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(74,222,128,.1);
}
.logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.4rem; }
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.3);
  display: flex; align-items: center; justify-content: center;
}
.logo-text { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.card-title { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 1.4rem; letter-spacing: -.02em; }

.lbl { display: block; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.3); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.inp {
  width: 100%; padding: 10px 13px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px; font-size: 13px; color: #fff;
  outline: none; margin-bottom: 12px; font-family: inherit;
  transition: border-color .15s, background .15s;
}
.inp::placeholder { color: rgba(255,255,255,.2); }
.inp:focus { border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.04); }

.inp-row { position: relative; margin-bottom: 12px; }
.inp-row .inp { margin-bottom: 0; padding-right: 36px; }
.eye {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 0; line-height: 1;
  color: rgba(255,255,255,.3);
}
.eye .eye-svg { width: 15px; height: 15px; display: inline-block; vertical-align: middle; }
.eye .olho-fechado { display: none; }
.eye.mostrando .olho-aberto { display: none; }
.eye.mostrando .olho-fechado { display: inline-block; }

.mod-icon .mod-svg { width: 24px; height: 24px; color: #4ade80; }
.logo-icon .logo-svg { width: 17px; height: 17px; color: #4ade80; }

.opts { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.rem { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.3); cursor: pointer; }
.rem input { accent-color: #4ade80; cursor: pointer; width: 13px; height: 13px; }
.forgot { font-size: 12px; color: rgba(255,255,255,.3); text-decoration: none; }
.forgot:hover { color: #4ade80; }

.btn-login {
  width: 100%; padding: 12px; font-size: 14px; font-weight: 700;
  border-radius: 9px; background: #22c55e; color: #fff;
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(34,197,94,.3);
  font-family: inherit; letter-spacing: .01em;
  transition: opacity .15s, transform .1s;
}
.btn-login:hover { opacity: .9; transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }

.alert-danger {
  background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25);
  color: #fca5a5; border-radius: 8px;
  padding: 9px 12px; font-size: 13px; margin-bottom: 14px;
}

@media (max-width: 800px) {
  .login-left { display: none; }
  .card { width: 100%; max-width: 380px; }
}
