/* === Signup page === */
.auth-wrap{
  min-height: calc(100dvh - 120px);
  display: grid; place-items: center;
  padding: 40px 16px;
}
.auth-card{
  width: min(500px, 100%);
  background: var(--block-bg);
  color: var(--text-color);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 0 36px var(--color-bmx-shadow);
}
.auth-title{
  margin: 0 0 12px; font-size: 28px; font-weight: 800;
}
.field-label{ display:block; margin:14px 0 6px; font-size: 12px; opacity:.9; }

.form-group{ position: relative; }
.input-field{
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  outline: none;
  caret-color: var(--color-bmx-darker);
}
.input-field:focus{
  border-color: var(--color-bmx-darker);
  box-shadow: 0 0 0 3px var(--color-bmx-shadow2);
}

/* Placeholder hafif soluk */
.input-field::placeholder{ color: var(--text-color); opacity: .55; }

/* Hata/başarı yardımcı metni */
.hint{ font-size: 12px; margin-top: 6px; min-height: 16px; opacity:.85; }
.is-invalid{ border-color: var(--color-bmx-red); }
.hint.error{ color: var(--color-bmx-red); }
.hint.ok{ color: var(--color-bmx-green); }

/* Input + eye aynı hücrede (login ile aynı yapı) */
.input-wrap{ display: grid; --eye-offset-y: 8px; }
.input-wrap .input-field{
  grid-area: 1 / 1;
  padding-right: 44px;    /* eye alanı */
}

/* Eye buton – piksel bazlı dikey ayar */
.eye-btn{
  grid-area: 1 / 1;
  justify-self: end;
  align-self: start;
  margin-top: var(--eye-offset-y);
  margin-right: 12px;

  position: relative;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  padding: 0; border: 0; background: transparent; cursor: pointer;
}
.eye-btn::before{
  content: "";
  width: 18px; height: 18px;
  background-color: var(--text-color);
  -webkit-mask: url("../images/eye.png") no-repeat center / contain;
          mask: url("../images/eye.png") no-repeat center / contain;
  transition: background-color .18s ease;
}
.eye-btn:hover::before,
.eye-btn:focus-visible::before,
.eye-btn[aria-pressed="true"]::before{
  background-color: var(--color-bmx-darker);
}

/* Terms row */
.agree-row{
  display:flex; align-items:center; gap:10px;
  margin: 10px 0 14px;
  user-select: none;
}
.agree-row input{ width:18px; height:18px; }

/* Continue button */
.btn-auth{ width: 100%; height: 44px; border-radius: 10px; font-weight: 700; }
#su-continue:disabled{ opacity:.6; cursor:not-allowed; }

button#su-continue {
    margin-top: 20px;
}
/* Alt linkler ortalı */
.auth-foot{
  text-align: center; margin-top: 40px;
}
.link{ color: var(--color-bmx-darker); text-decoration: none; font-weight: 700; }
.link:hover{ text-decoration: underline; }
