/* ---------------------------------------------------------------------------
   pages/login.css - Login page styles (redesign v2)
   --------------------------------------------------------------------------- */

/* Field header: label + hint on same line */
.field-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.field-required {
  color: var(--err);
  margin-left: 3px;
}

.field-hint-link {
  font-size: 10px;
  color: var(--nova);
  font-weight: 500;
  text-decoration: none;
  transition: color 120ms ease;
}
.field-hint-link:hover { color: var(--nova-hot); }

/* Form layout */
#loginForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Password toggle */
.pwd-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tx-lo);
  padding: 2px;
  flex-shrink: 0;
}
.pwd-toggle:hover { color: var(--tx-md); }

.pwd-toggle .pwd-eye-off { display: none; }
.pwd-toggle.visible .pwd-eye { display: none; }
.pwd-toggle.visible .pwd-eye-off { display: block; }

/* Full-width button helper */
.btn--full { width: 100%; }

/* Form error */
.form-error {
  margin-top: 4px;
  font-size: 11px;
  color: var(--err);
  display: none;
}
.form-error--visible { display: block; }

/* Form group spacing */
.form-group {
  display: flex;
  flex-direction: column;
}
