/* ==========================================================================
   HIDDENS · estilos das páginas de login e cadastro
   Design system igual ao hiddensbypass.com.br
   ========================================================================== */

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  min-height:100vh;
  background:#050507;
  color:#f4f4f5;
  font-family:'Montserrat',ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-feature-settings:"cv11","ss01";
  -webkit-font-smoothing:antialiased;
  letter-spacing:-0.01em;
}
a{color:inherit;text-decoration:none}

/* ---------- fundo ---------- */
.np-login-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.np-login-bg::before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%,rgba(59,130,246,0.15),transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%,rgba(37,99,235,0.08),transparent 70%);
}
.np-login-bg::after{
  content:"";
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
  background-size:64px 64px;
  opacity:.5;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000,transparent);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000,transparent);
}

/* ---------- layout ---------- */
.np-login-page{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:100vh;padding:2.5rem 1rem;
}
.np-login-content{width:100%;max-width:420px}
.np-brand{display:inline-flex;align-items:center;justify-content:center;margin-bottom:2rem}
.np-brand img{display:block;height:2.5rem;width:auto;filter:brightness(0) invert(1);opacity:0.9}

.np-card{
  width:100%;
  background:rgba(13,15,20,0.95);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:16px;
  padding:2.5rem 2rem;
  box-shadow:0 12px 30px -14px rgba(0,0,0,0.6);
  backdrop-filter:blur(20px);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.np-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,0.12);
  box-shadow:0 18px 40px -18px rgba(0,0,0,0.7);
}
.np-title{margin:0 0 0.5rem;font-size:1.75rem;line-height:1.2;font-weight:700;letter-spacing:-0.02em;color:rgba(255,255,255,0.92)}
.np-sub{margin:0 0 1.75rem;font-size:0.9375rem;line-height:1.5;color:rgba(255,255,255,0.55);font-weight:400}

.np-alert{display:none;align-items:flex-start;gap:0.75rem;margin-bottom:1.25rem;padding:0.875rem 1rem;border-radius:12px;
  border:1px solid rgba(239,68,68,0.3);background:rgba(239,68,68,0.08);font-size:0.875rem;line-height:1.5;color:#fca5a5}
.np-alert[data-show="1"]{display:flex;animation:np-in .25s ease}
.np-alert strong{font-weight:600;color:#fecaca}
.np-alert a{text-decoration:underline}
@keyframes np-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

/* ---------- botões ---------- */
.np-providers{display:flex;flex-direction:column;gap:0.75rem;margin-top:1.5rem}
.np-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:0.65rem;width:100%;min-height:2.75rem;
  border:1px solid rgba(255,255,255,0.06);border-radius:10px;
  background:rgba(18,21,28,0.8);color:rgba(255,255,255,0.92);font-family:inherit;font-size:0.9375rem;font-weight:600;
  padding:0.625rem 0.875rem;text-align:center;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .12s ease;
  box-shadow:0 1px 2px rgba(0,0,0,0.4);
}
.np-btn:hover{
  background:rgba(13,15,20,0.9);
  border-color:rgba(255,255,255,0.12);
  transform:translateY(-1px);
}
.np-btn:active{transform:scale(0.98)}
.np-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,0.2);border-color:rgba(59,130,246,0.5)}
.np-btn-primary{
  border:1px solid transparent;
  background:#3b82f6;
  color:#ffffff;
  box-shadow:0 4px 14px -2px rgba(59,130,246,0.3);
  font-weight:700;
}
.np-btn-primary:hover{
  background:#2563eb;
  transform:translateY(-1px);
  box-shadow:0 8px 22px -4px rgba(59,130,246,0.4);
}
.np-btn-primary:active{transform:scale(0.98)}
.np-btn svg{flex:none}
.np-spin{width:1rem;height:1rem;border-radius:50%;border:2px solid currentColor;border-top-color:transparent;
  animation:np-rot .7s linear infinite}
@keyframes np-rot{to{transform:rotate(360deg)}}

.np-divider{display:flex;align-items:center;gap:0.875rem;margin:1.5rem 0}
.np-divider::before,.np-divider::after{content:"";height:1px;flex:1;background:rgba(255,255,255,0.06)}
.np-divider span{font-size:0.8125rem;color:rgba(255,255,255,0.45);white-space:nowrap;font-weight:500}

/* ---------- formulário ---------- */
.np-form{display:flex;flex-direction:column;gap:1.25rem}
.np-field{display:flex;flex-direction:column;gap:0.5rem}
.np-label{font-size:0.8125rem;font-weight:600;color:rgba(255,255,255,0.92);letter-spacing:-0.01em}
.np-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:0.5rem}
.np-link-xs{font-size:0.8125rem;color:#3b82f6;text-decoration:none;font-weight:500;transition:opacity .15s}
.np-link-xs:hover{opacity:0.8;text-decoration:underline}
.np-input{
  width:100%;min-height:2.75rem;
  border:1px solid rgba(255,255,255,0.06);
  border-radius:10px;
  background:rgba(18,21,28,0.8);
  color:rgba(255,255,255,0.92);font-family:inherit;font-size:0.9375rem;
  padding:0.625rem 0.875rem;outline:none;
  transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease;
}
.np-input::placeholder{color:rgba(255,255,255,0.4);font-weight:400}
.np-input:hover{border-color:rgba(255,255,255,0.12)}
.np-input:focus{
  border-color:#3b82f6;
  box-shadow:0 0 0 3px rgba(59,130,246,0.12);
  background:rgba(13,15,20,0.9);
}
.np-hint{font-size:0.75rem;color:rgba(255,255,255,0.45);font-weight:400}
.np-password{position:relative}
.np-password .np-input{padding-right:2.75rem}
.np-eye{position:absolute;right:0.5rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;
  justify-content:center;width:2rem;height:2rem;border:none;border-radius:6px;background:transparent;
  color:rgba(255,255,255,0.45);cursor:pointer;transition:color .15s ease,background-color .15s ease}
.np-eye:hover{color:rgba(255,255,255,0.9);background:rgba(18,21,28,0.8)}
.np-eye:focus-visible{outline:none;box-shadow:0 0 0 2px rgba(59,130,246,0.4)}

.np-check{display:flex;align-items:flex-start;gap:0.55rem;font-size:0.8125rem;line-height:1.5;color:rgba(255,255,255,0.55)}
.np-check input{margin:0.15rem 0 0;width:1rem;height:1rem;flex:none;accent-color:#3b82f6;cursor:pointer}
.np-check a{color:rgba(255,255,255,0.92);font-weight:600;text-decoration:underline}

.np-alt{margin:1.5rem 0 0;font-size:0.875rem;text-align:center;color:rgba(255,255,255,0.55);font-weight:500}
.np-alt a{font-weight:600;color:#3b82f6;transition:opacity .15s ease}
.np-alt a:hover{opacity:0.8;text-decoration:underline}

/* ---------- sucesso ---------- */
.np-done-head{display:flex;align-items:center;gap:1rem}
.np-avatar{width:3.2rem;height:3.2rem;flex:none;border-radius:50%;object-fit:cover;background:rgba(255,255,255,0.04);
  border:1.5px solid rgba(255,255,255,0.08);box-shadow:0 4px 14px -6px rgba(0,0,0,0.5)}
.np-avatar-fallback{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.2rem;
  background:rgba(255,255,255,0.06);color:#3b82f6}
.np-done-name{margin:0;font-size:1.05rem;font-weight:700;overflow-wrap:anywhere;letter-spacing:-0.01em;color:rgba(255,255,255,0.92)}
.np-done-mail{margin:0.2rem 0 0;font-size:0.85rem;color:rgba(255,255,255,0.55);overflow-wrap:anywhere}
.np-badge{
  display:inline-flex;align-items:center;gap:0.4rem;margin-top:1rem;
  border:1px solid rgba(59,130,246,0.35);
  border-radius:999px;padding:0.3rem 0.75rem;font-size:0.78rem;font-weight:600;color:rgba(255,255,255,0.55);
  background:rgba(59,130,246,0.08);
}
.np-done-actions{display:flex;flex-direction:column;gap:0.6rem;margin-top:1.35rem}

/* ---------- rodapé ---------- */
.np-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0.55rem;
  font-size:0.8125rem;color:rgba(255,255,255,0.45);padding-top:0.4rem;font-weight:400}
.np-foot a{transition:color .15s ease}
.np-foot a:hover{color:rgba(255,255,255,0.85)}
.np-foot .np-dot{opacity:0.5}

/* ---------- responsivo ---------- */
@media (max-width:480px){
  .np-card{padding:2rem 1.5rem;border-radius:14px}
  .np-title{font-size:1.5rem}
}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:0.001ms!important;transition-duration:0.001ms!important}
}
