/* ===========================================================
   WINR v15 — REAL AUTH FORM
   Adds password / confirm / Terms / strength / magic-link toggle
   on top of existing .auth-modal styles.
   =========================================================== */

.auth-form-real { gap: 14px; }

.auth-field { display: flex; flex-direction: column; gap: 6px; }

.auth-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.auth-forgot {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange, #FFFFFF);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}
.auth-forgot:hover { color: #fff; }

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-wrap .auth-input {
  flex: 1;
  padding-right: 44px;
}
.auth-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.auth-eye:hover { color: #fff; background: rgba(255,255,255,0.06); }

.auth-field-error {
  font-size: 11px;
  color: #ff5b67;
  min-height: 0;
  line-height: 1.3;
  display: none;
}
.auth-field.has-error .auth-input { border-color: rgba(255,91,103,0.55); }
.auth-field.has-error .auth-field-error { display: block; }

.auth-form-error {
  font-size: 12px;
  color: #ff5b67;
  background: rgba(255,91,103,0.08);
  border: 1px solid rgba(255,91,103,0.25);
  border-radius: 10px;
  padding: 8px 12px;
  display: none;
}
.auth-form-error.show { display: block; }
.auth-form-error.ok {
  color: #39FF14;
  background: rgba(57,255,20,0.08);
  border-color: rgba(57,255,20,0.25);
  display: block;
}

/* Strength meter */
.auth-strength { margin-top: 4px; }
.auth-strength-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.auth-strength-fill {
  height: 100%;
  width: 0%;
  background: #ff5b67;
  border-radius: 2px;
  transition: width .2s ease, background .2s ease;
}
.auth-strength-fill.s1 { width: 25%; background: #ff5b67; }
.auth-strength-fill.s2 { width: 50%; background: #fbbf24; }
.auth-strength-fill.s3 { width: 75%; background: #60a5fa; }
.auth-strength-fill.s4 { width: 100%; background: #39FF14; }

.auth-strength-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* Terms */
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
}
.auth-terms input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange, #FFFFFF);
  cursor: pointer;
  flex: 0 0 16px;
}
.auth-terms-text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
}
.auth-terms-text a:hover { text-decoration-color: #fff; }

/* Disabled submit */
.auth-submit:disabled,
.auth-submit[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.auth-submit.loading {
  opacity: 0.7;
  cursor: progress;
}

/* Magic-link toggle button */
.auth-link-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
}
.auth-link-toggle:hover { color: #fff; }
