/* ========= BASE LAYOUT ========= */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

/* ========= SIGNUP PAGE BACKGROUND ========= */
body.auth-page {
  font-family: 'Creepster', cursive;
  color: #15fb00;

  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 0 40px;

  /* 👇 your creepy lab background */
  background: #000
    url('../assets/images/creepy-lab-background.jpeg')
    no-repeat top center;
  background-size: cover;
  background-attachment: scroll;  /* important for mobile */
  overflow-y: auto;
}

/* On smaller phones, show more of the image (less zoom) */
@media (max-width: 600px) {
  body.auth-page {
    background-size: contain;
    background-color: #000;
    padding-top: 24px;
  }
}

/* ========= FORM CARD ========= */
.form-container {
  background: rgba(0, 0, 0, 0.85);
  padding: 24px;
  border: 2px solid #15fb00;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 15px #15fb00;
  margin: 0 auto;
}

/* ========= FIELDS & BUTTONS ========= */

:root{
  --field-h: 56px;
  --field-pad-y: 10px;
  --field-pad-x: 14px;
  --field-fs: 22px;
}

/* Inputs + selects */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form select {
  box-sizing: border-box;
  width: 100%;
  height: var(--field-h);
  padding: var(--field-pad-y) var(--field-pad-x);
  margin-top: 8px;
  margin-bottom: 12px;
  border: 2px solid #15fb00;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #15fb00;
  font-family: 'Creepster', cursive;
  font-size: var(--field-fs);
  line-height: 1.2;
  box-shadow: 0 0 10px #15fb00;
  transition: 0.3s ease;
}

/* Select arrow */
form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image:
    url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%2315fb00'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}

/* Focus glow */
form input:focus,
form select:focus {
  outline: none;
  box-shadow: 0 0 18px #15fb00, inset 0 0 5px #15fb00;
  background-color: rgba(10, 10, 10, 0.9);
}

/* Submit button */
button[type="submit"],
button {
  width: 100%;
  height: var(--field-h);
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #15fb00;
  color: #000;
  font-family: 'Creepster', cursive;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 15px #15fb00;
  transition: 0.3s ease;
}

button[type="submit"]:hover,
button:hover {
  background-color: #0a0;
  box-shadow: 0 0 25px #15fb00;
}

/* Groups, labels, placeholders */
.group {
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.group label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #15fb00;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px 1px 0 #000, 1px 1px 0 #000;
}

form input::placeholder {
  color: #15fb00;
  opacity: 0.8;
}

/* Referral/help text */
.inline-help {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}

/* Consent checkboxes */
.consent label {
  display: block;
  margin: 0.35rem 0;
  line-height: 1.4;
}

.consent a {
  color: #15fb00;
  text-decoration: underline;
}

/* Conditional inputs (Other…) */
.conditional {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: var(--field-h);
  padding: var(--field-pad-y) var(--field-pad-x);
  border: 2px solid #15fb00;
  border-radius: 6px;
  background-color: rgba(0,0,0,0.8);
  color: #15fb00;
  font-family: 'Creepster', cursive;
  font-size: var(--field-fs);
  margin-top: 10px;
  position: relative;
  z-index: 10001;
  pointer-events: auto;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Error message */
.error-msg {
  color: #ff2e2e;
  font-family: 'Creepster', cursive;
  text-align: center;
  margin-top: 10px;
}

/* Location block specifically */
#locationGroup select,
#locationGroup input[type="text"] {
  margin-top: 8px;
}
#locationGroup label {
  margin-top: 10px;
}

@media (max-width: 600px) {
  body.auth-page {
    background-size: contain;   /* fit whole image */
    background-color: #000;     /* bars blend into site */
    padding-top: 24px;
  }

  .form-container {
    padding: 20px;
    margin: 0 12px 32px;
  }
}

/* ========= PROGRESS HEADER ========= */
.onboard-progress{
  text-align: left;
  border: 2px solid rgba(21,251,0,.55);
  border-radius: 12px;
  padding: 12px 12px 10px;
  margin-bottom: 14px;
  background: rgba(0,0,0,.55);
  box-shadow: 0 0 12px rgba(21,251,0,.35);
}

.progress-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}

.step-label{
  font-size: 1rem;
  opacity: .95;
}

.step-name{
  font-size: 1rem;
  opacity: .85;
}

.progress-bar{
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(21,251,0,.65);
  background: rgba(0,0,0,.7);
  overflow:hidden;
  margin-top: 8px;
}

.progress-fill{
  height: 100%;
  background: #15fb00;
  box-shadow: 0 0 10px rgba(21,251,0,.8);
  border-radius: 999px;
}

.microcopy{
  margin: 10px 0 0;
  font-size: .95rem;
  opacity: .9;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px 1px 0 #000, 1px 1px 0 #000;
}

/* ========= HELP TEXT FIX (your file used <large>; we normalize it) ========= */
.help-text{
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
  margin-top: 8px;
}

/* ========= PACT BOX (checkbox section) ========= */
.pact .pact-box{
  border: 2px solid rgba(21,251,0,.55);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0,0,0,.55);
  text-align: left;
}

.pact-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 10px 0;
  line-height: 1.35;
}

.pact-item input[type="checkbox"]{
  margin-top: 4px;
  transform: scale(1.15);
  accent-color: #15fb00;
}

.pact-secondary{
  opacity: .9;
}

.pact-help{
  margin-top: 10px;
  font-size: .9rem;
  opacity: .9;
}

.pact-help a{
  color:#15fb00;
  text-decoration: underline;
}
