*{
  margin:0;
  padding:0;
  box-sizing:border-box
}

body{
  display:flex;
  flex-direction:column;
  min-height:100dvh;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  background:#fff; 
  color:#111827;
}

header{
  display:flex;
  justify-content:center;
  align-items:center;
  height:75px;
  width:100%;
  padding:10px 20px;
  background:#fff;
  border-bottom:1px solid #ebe8e8; 
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.nav-bar{
  max-width:1200px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between
}

.logo{
  height:34px;
  width:auto;
  transition:transform .2s ease;
  cursor:pointer
}

.logo:hover{
  transform:translateY(-1px)
}

.conteudo{
  min-height:calc(100dvh - 75px);
  width:100%;
  display:grid;
  place-items:center;
  padding:24px 16px;
}

.register{
  width:min(420px,92%);
  padding:32px 24px 24px;
  text-align:center;
  background:#fff;
  border:1px solid #eef1f6;
  border-radius:20px;
  box-shadow:0 12px 32px rgba(17,24,39,.08);
  color:#44546a;
}

.register h2{
  margin:0 0 6px;
  font-size:28px;
  color:#44546a
}

.register>p{
  margin:0 0 18px;
  font-size:14px;
  color:#a5a5a5
}

.grade{
  display:grid;
  gap:14px
}

.icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  fill:#44546a;
  opacity:.9;
  pointer-events:none;
}

.username,.password, .email, .confirmpassword{
  position:relative;
  text-align:left
}

.username input,.password input, .email input, .confirmpassword input{
  width:100%;
  height:52px;
  padding:0 14px 0 44px;
  background:#fff;
  color:#111827;
  border:1px solid #e6e9f0;
  border-radius:12px;
  outline:0;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.username input:focus,.password input:focus, .confirmpassword input:focus, .email input:focus{
  border-color:#eebc5b;
  box-shadow:0 0 0 4px rgba(238,188,91,.25)
}

.username label,.password label, .email label, .confirmpassword label{
  position:absolute;
  left:44px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  color:#6b7280;
  pointer-events:none;
  transition:transform .18s ease,font-size .18s ease,color .18s ease;
}

.username input:focus+label,.password input:focus+label, .username input:not(:placeholder-shown)+label,.password input:not(:placeholder-shown)+label, .email input:focus+label,.confirmpassword input:focus+label, .email input:not(:placeholder-shown)+label,.confirmpassword input:not(:placeholder-shown)+label{
  transform:translate(0,-26px) scale(.95);
  font-size:12px;
  color:#44546a;
}

.hidden{ 
    display:none; 
}

.pw-rules{
  text-align:left;
  margin:8px 0 0;
  padding-left:24px;
  color:#6b7280;
  font-size:13px;
  line-height:1.4;
}

.pw-rules li{ 
    margin:4px 0; 
}

.pw-rules li.ok{ 
    color:#138000; 
}

.pw-rules li.ok::before{ 
    content:"✓ "; 
}

.pw-rules li::before{ 
    content:"• "; color:#a5a5a5; 
}

.pw-meter{ 
    margin-top:8px; 
}

.pw-meter-bar{
  height:8px;
  width:0%;
  background:#e6e9f0;
  border-radius:8px;
  transition:width .25s ease, background-color .25s ease;
}

.pw-meter-label{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#6b7280;
}

.pw-meter-bar.weak   {
    background:#d9534f; 
    width:33%; 
}   

.pw-meter-bar.medium { 
    background:#f0ad4e; width:66%; 
} 

.pw-meter-bar.strong { 
    background:#138000; width:100%; 
}

.butao{
  margin-top:10px;
  margin-bottom:15px;
  height:52px;
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  background:#44546a;
  color:#fff;
  font-weight:600;
  box-shadow:0 10px 24px rgba(68,84,106,.25);
  transition:transform .06s ease, box-shadow .2s ease,filter .15s ease;
}
.butao:hover{
  filter:brightness(1.05)
}

.butao:active{
  transform:translateY(1px)
}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}