/* npp_login.css — updated 1 April 2026
   Aligned with npp_login.html inline styles.
   No overrides that conflict with the HTML card/input design. */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.login-body {
  font-family: 'Barlow', Arial, sans-serif;
  background: #07111f;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* ── Wrapper ── */
.login-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Card ── */
.login-card {
  background: #0e1c30;
  border: 1px solid rgba(201,168,76,0.2);
  border-top: 3px solid #c9a84c;
  border-radius: 12px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  text-align: center;
}

/* ── Logo ── */
.login-logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 20px;
}

/* ── Headings ── */
h2 {
  color: #e8e0cc;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* ── Inputs ── */
.login-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e8e0cc;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.login-input:focus { border-color: rgba(201,168,76,0.5); }

/* ── Login button ── */
.login-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #f0c040, #c9a84c);
  border: none;
  border-radius: 8px;
  color: #0a1628;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s;
}
.login-btn:hover { filter: brightness(1.08); }

/* ── Links ── */
.reset-link {
  color: #c9a84c;
  cursor: pointer;
  font-size: 0.82rem;
  text-align: center;
  margin-top: 8px;
  transition: color 0.2s;
}
.reset-link:hover { color: #f0c040; }

/* ── Password wrapper ── */
.password-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8070;
  user-select: none;
  transition: color 0.2s;
}
.password-toggle:hover { color: #c9a84c; }

/* ── Password rules ── */
.password-rules {
  font-size: 0.76rem;
  color: #8a8070;
  text-align: left;
  margin-bottom: 15px;
  line-height: 1.6;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px;
}

/* ── Reset modal ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 24px;
}

.modal-content {
  background: #0e1c30;
  border: 1px solid rgba(201,168,76,0.2);
  border-top: 3px solid #c9a84c;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.modal-content h3 {
  color: #e8e0cc;
  margin-bottom: 20px;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .login-card,
  .modal-content {
    padding: 24px 20px;
  }
}