/* ============================
   PAGE LAYOUT
   ============================ */

.overlay {
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.content {
  max-width: 720px;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(6px);
}


/* ============================
   HEADINGS
   ============================ */

.content h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.8rem;
  text-align: center;
}

.content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  margin-top: 1.8rem;
}


/* ============================
   TEXT & PARAGRAPHS
   ============================ */

.content p {
  color: #dcdcdc;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.content strong {
  color: #fff;
}

.content em {
  color: #e0e0e0;
}


/* ============================
   SECTIONS
   ============================ */

.section {
  margin-bottom: 1.6rem;
}


/* ============================
   LISTS
   ============================ */

.section ul {
  margin-left: 1.2rem;
  margin-top: 0.5rem;
}

.section ul li {
  color: #d0d0d0;
  margin-bottom: 0.45rem;
  line-height: 1.45;
}


/* ============================
   FORM ELEMENTS
   ============================ */

form {
  margin-top: 2rem;
}

form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #e6e6e6;
}

form input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  transition: border 0.2s ease, background 0.2s ease;
}

form input[type="text"]:focus {
  border-color: rgba(255,255,255,0.35);
  background: #1a1a1a;
  outline: none;
}


/* ============================
   CAPTCHA BOX
   ============================ */

.captcha-box {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden; /* ensures rounding applies */
  margin-bottom: 0.8rem;
}

.captcha-box img {
  display: block;
  border-radius: 6px;
  filter: brightness(0.85) contrast(1.1);
}

/* Make the CAPTCHA answer box compact */
#captcha {
  width: 6rem;              /* ← small, intentional */
  text-align: center;       /* ← fits the math vibe */
  margin: 0 auto 1.2rem;    /* ← centers it */
  display: block;           /* ← required for centering */
}
