/* The message box is shown when the user clicks on the password field */
#message {
    display:none;
    background: transparent;
    color: #ccc;
    position: relative;
    padding: 20px;
    margin-top: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #message h3 {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 18px;
  }
  
  #message p {
    padding: 5px 35px;
    font-size: 14px;
    margin: 5px 0;
    font-weight: 500;
  }
  
  /* Explicitly control colors with higher specificity so they toggle correctly */
  #message p.invalid { color: #f87171; }
  #message p.valid { color: #4ade80; }
  
  /* Add a green text color and a checkmark when the requirements are right */
  .valid {
    color: #4ade80;
    font-weight: 500;
  }
  
  .valid:before {
    position: relative;
    left: -35px;
    content: "✓";
    font-weight: bold;
    font-size: 18px;
  }
  
  /* Add a red text color and an "x" when the requirements are wrong */
  .invalid {
    color: #f87171;
    font-weight: 500;
  }
  
  .invalid:before {
    position: relative;
    left: -35px;
    content: "✗";
    font-weight: bold;
    font-size: 18px;
  }