/* Registration form styles
   Re-uses color variables and font from style.css
*/

:root {
  --panel-bg: rgba(5, 10, 7, 0.6);
  --muted: #6e7f75;
}

/* Reset / base */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #000000 0%, #001a00 100%);
  color: var(--text-white);
}

/* Screen container ---------------------------------------------------- */
.registration-screen {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

/* subtle background noise (optional image) */
.registration-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('images/lines.png');
  background-repeat: repeat;
  background-size: 300px auto;
  opacity: 0.08;
  pointer-events: none;
}

/* Inner column -------------------------------------------------------- */
.reg-inner {
  width: min(480px, 100%);
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 20px 40px;
}

/* Close button (top-right) ------------------------------------------- */
.reg-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(56, 255, 126, 0.15);
  background: transparent;
  color: var(--text-white);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

/* Title ---------------------------------------------------------------- */
.reg-title {
  font-size: 42px;
  line-height: 0.95;
  margin: 50px 0 7px;
  color: #cdefd9;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Input field --------------------------------------------------------- */
.reg-field { display: block; width: 100%; }
.reg-input {
  width: 100%;
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(8, 15, 11, 0.6);
  border: 1px solid rgba(34, 60, 42, 0.5);
  /* color: var(--text-white); */
  color: #cdefd9;
  font-size: 18px;
  outline: none;
  margin-bottom: 50px;
}
.reg-input::placeholder { color: #2f4a3d; }

/* Sections and labels ------------------------------------------------- */
.reg-section { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px;}
.reg-label { color: #cfe8d8; font-weight: 400; font-size: 18px; }

/* Segmented controls -------------------------------------------------- */
.segmented {
  display: flex;
  gap: 20px;
  background: rgba(8, 15, 11, 0.4);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(26, 46, 36, 0.4);
}
.seg-btn {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: #92b9a6;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
}
.seg-btn.active {
  background: linear-gradient(180deg, #0e4f2e 0%, #063117 100%);
  box-shadow: 0 8px 30px rgba(11, 95, 50, 0.18) inset, 0 6px 14px rgba(0, 0, 0, 0.5);
  color: #e0f2e9;
}

/* Submit CTA ---------------------------------------------------------- */
.reg-submit {
  width: 100%;
  height: 65px;
  background: linear-gradient(180deg, #1b5e35 0%, #052912 100%);
  border: 1px solid #2a7a45;
  border-radius: 18px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0;
  animation: btn-pulse 3s infinite ease-in-out;
  transition: transform 0.1s;
  font-family: 'Unbounded', sans-serif;
  text-transform: uppercase;
}

/* Spacing to push CTA toward bottom on tall screens -------------------- */
@media (min-height: 800px) {
  .reg-inner { padding-bottom: 48px; }
}

/* Responsive tweaks --------------------------------------------------- */
@media (max-width: 420px) {
  .reg-title { font-size: 30px; }
  .reg-input { font-size: 16px; }
  .seg-btn { font-size: 15px; }
}
