/* 1) Import Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* 2) Reset & box‑sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 3) Base type */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  padding: 1rem;
  background: #1a2643;   /* dark navy primary */
  color: #fff;           /* white text for contrast */
}

/* 4) Headings */
h1, h2, h3 {
  font-weight: 600;
}

/* 5) Header & Footer */
header, footer {
  padding: 1rem;
  text-align: center;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* 6) Nav styling */
header nav {
  text-align: left;
  margin-top: 1rem;
}
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header nav ul li {
  margin-bottom: 0.5rem;
}

/* 7) Main content */
main {
  margin: 2rem 0;
}

/* 8) Links */
a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
}

/* 9) Password reveal hack */
#toggle-pass {
  display: none;
}
.reveal-btn {
  cursor: pointer;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.2em 0.5em;
  font-size: 0.9em;
  border-radius: 9999px;
  margin-left: 0.5em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.password {
  color: transparent;
  background: inherit;
  border-radius: 3px;
  padding: 0 0.2em;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

/* Hide the button when showing the password */
#toggle-pass:checked + .reveal-btn {
  display: none;
}

/* Reveal the password in the same spot */
#toggle-pass:checked + .reveal-btn + .password {
  color: #fff;
  background: none;
}

