Improve password rating and settings
diff --git a/static/main.js b/static/main.js
index eed544b..84ded2f 100644
--- a/static/main.js
+++ b/static/main.js
@@ -96,7 +96,7 @@
 
 TOO_SHORT = 'Password too short, still %% characters needed';
 TOO_LONG = 'Password too long, please remove %% characters';
-INVALID_CHARS = 'Password contains invalid characters';
+INVALID_CHARS = 'Invalid characters: only a-z, A-Z, 0-9 and !@#$%()_+=:;",.?/- are allowed.';
 QUAL_NONE = 'Password is very weak'
 QUAL_LOW = 'Password is weak';
 QUAL_MEDIUM = 'Password is average'
@@ -154,8 +154,8 @@
         var nLength = pass.length;
         if (nLength < 8)
             throw TOO_SHORT.replace('%%', 8 - nLength);
-        if (nLength > 20)
-            throw TOO_LONG.replace('%%', nLength - 20);
+        if (nLength > 128)
+            throw TOO_LONG.replace('%%', nLength - 128);
 
         nScore = 4 * nLength;
 
diff --git a/templates/register.htm b/templates/register.htm
index 26164a3..db06039 100644
--- a/templates/register.htm
+++ b/templates/register.htm
@@ -400,14 +400,14 @@
 
     <?php if(! $CONFERENCE_REGISTRATION ): ?>
     <!-- Password input -->
-    <div id="password-div" class="col-md-8">
+    <div id="password-div" class="col-md-4">
         <label class="form-label fw-bold" for="pw1">Password</label>
         <input required title="Combination of upper and lowercase letters, numbers, punctuation, and special symbols" name="password" type="password" id="pw1" class="form-control fs-4" placeholder="********" oninput="check_password_match()" value="<?php echo isset($_POST['password']) ? htmlspecialchars($_POST['password']) : '' ?>"
         />
     </div>
-    <div class="col-md-4">
+    <div class="col-md-8">
         <label class="form-label" for="pwqinfo">Rating</label>
-        <input class="form-control fs-4" type="text" id="pwqinfo" readonly />
+        <input class="form-control fs-5" type="text" id="pwqinfo" readonly />
     </div>
 
     <div class="col-md-12">
@@ -427,7 +427,7 @@
     </div>
     -->
     <!-- Password confirmation input -->
-    <div id="pwconfirm" class="form-outline col-md-8">
+    <div id="pwconfirm" class="form-outline col-md-4">
         <label class="form-label fw-bold" for="pw2">Confirm your Password</label>
         <input required name="password_confirm" type="password" id="pw2" class="form-control fs-4 <?php if(isset($error) && $error && !isset($_POST['password_confirm'])){echo 'border-danger';}?>" placeholder="********" oninput="check_password_match()" value="<?php echo isset($_POST['password_confirm']) ? htmlspecialchars($_POST['password_confirm']) : '' ?>"
         />