:root{
  --auth-max:520px;
  --auth-radius:26px;
  --auth-txt:rgba(240,245,255,.92);
  --auth-muted:rgba(180,196,224,.72);
  --auth-line:rgba(255,255,255,.10);
  --auth-line2:rgba(255,255,255,.06);
  --auth-green:#22c55e;
  --auth-blue:#3b82f6;
}

*,*::before,*::after{box-sizing:border-box}

html,body{
  height:100%;
  width:100%;
  margin:0;
  padding:0;
  overflow:hidden;
  background:#05070f;
}

body{
  color:var(--auth-txt);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
}

.auth-shell{
  min-height:100vh;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 18px;
  background:
    radial-gradient(1200px 700px at 50% 118%, rgba(37,99,235,.32), transparent 58%),
    radial-gradient(980px 560px at 18% 110%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(980px 560px at 82% 112%, rgba(99,102,241,.14), transparent 62%),
    linear-gradient(180deg, #05070f 0%, #05070f 55%, #05070f 100%);
}

@keyframes auth-enter{
  from{opacity:0;transform:translateY(6px) scale(.996)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

main.auth-card{
  width:100%;
  max-width:var(--auth-max);
  border-radius:var(--auth-radius);
  padding:1px;
  border:1px solid transparent;
  outline:0 !important;
  box-shadow:0 22px 70px rgba(0,0,0,.62);
  background:
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.02)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04), rgba(59,130,246,.14)) border-box;
  animation:auth-enter 210ms cubic-bezier(.16,1,.3,1) both;
}

main.auth-card:focus,
main.auth-card:focus-visible{
  outline:0 !important;
}

.auth-panel{
  border-radius:calc(var(--auth-radius) - 2px);
  padding:28px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(900px 520px at 50% 120%, rgba(37,99,235,.18), transparent 62%),
    rgba(10,12,18,.62);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.auth-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(255,255,255,.10), transparent 35%, transparent 72%, rgba(255,255,255,.06));
  opacity:.18;
  pointer-events:none;
}

.auth-head,.auth-form,.auth-alert,.auth-foot{position:relative;z-index:1}

.auth-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

.auth-mark{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--auth-green);
  box-shadow:0 0 0 8px rgba(34,197,94,.14);
}

.auth-name{
  font-weight:650;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:11px;
  opacity:.92;
}

.auth-title{
  margin:0 0 6px;
  font-size:32px;
  font-weight:760;
  letter-spacing:-0.7px;
}

.auth-sub{
  margin:0 0 18px;
  font-size:13px;
  line-height:1.45;
  color:var(--auth-muted);
}

.auth-alert{
  border-radius:16px;
  border:1px solid rgba(239,68,68,.28);
  background:rgba(239,68,68,.10);
  color:rgba(254,226,226,.95);
  padding:12px 14px;
  margin:0 0 14px;
}

.auth-alert__title{
  font-weight:650;
  margin-bottom:6px;
  font-size:12.5px;
}

.auth-alert__list{
  margin:0;
  padding-left:18px;
  font-size:12.5px;
  opacity:.95;
}

.auth-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.auth-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.auth-field-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.auth-label{
  font-size:12px;
  color:rgba(226,232,240,.90);
}

.auth-caps{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(251,191,36,.26);
  background:rgba(251,191,36,.10);
  color:rgba(254,243,199,.95);
}

.auth-input-wrap{position:relative}

.auth-input{
  width:100%;
  height:46px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(5,7,15,.52);
  color:rgba(240,245,255,.92);
  outline:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-input::placeholder{color:rgba(180,196,224,.52)}

.auth-input:focus{
  border-color:rgba(59,130,246,.55);
  box-shadow:0 0 0 4px rgba(59,130,246,.14), inset 0 0 0 1px rgba(255,255,255,.03);
  background:rgba(5,7,15,.60);
}

.auth-eye{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  height:30px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(240,245,255,.86);
  font-size:12px;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease;
}

.auth-eye:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
}

.auth-row{
  display:flex;
  justify-content:flex-end;
}

.auth-link{
  font-size:12.5px;
  color:rgba(226,232,240,.86);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.22);
  padding-bottom:2px;
}

.auth-link:hover{border-color:rgba(59,130,246,.55)}

/* BOTÃO — NEUTRO PREMIUM (como no exemplo) */
.auth-btn{
  margin-top:10px;
  height:48px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  font-weight:760;
  letter-spacing:-0.2px;
  color:rgba(240,245,255,.92);
  background:rgba(255,255,255,.07);
  box-shadow:0 16px 44px rgba(0,0,0,.45);
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}

.auth-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.14);
}

.auth-btn:active{
  transform:translateY(0);
  background:rgba(255,255,255,.06);
}

.auth-foot{
  margin-top:12px;
  font-size:12px;
  text-align:center;
  color:rgba(180,196,224,.70);
}

@media (max-width:420px){
  .auth-shell{padding:22px 14px}
  .auth-panel{padding:20px}
  .auth-title{font-size:28px}
}
