/* EA User Registration & Dashboard - WP Login (Lost Password) Styling (v1.9.1)
   Styles wp-login.php lost password + reset screens to match the plugin auth card.
*/

/* Prevent mobile Safari zoom / text autosizing quirks */
html,
body.login{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Page background */
body.login{
  background: #0b0b0d;
  font-size: 16px;
}

/* Centering + width */
body.login #login{
  width: 100%;
  max-width: 420px;
  padding: 24px 16px 32px;
}

/* Make the card feel less “zoomed” on small phones */
@media (max-width: 420px){
  body.login #login{
    max-width: 360px;
    padding: 18px 12px 26px;
  }
  body.login #login h1 a{
    width: 210px;
    height: 70px;
  }
  body.login #loginform,
  body.login #lostpasswordform,
  body.login #resetpassform,
  body.login #registerform{
    padding: 18px;
  }
}

/* Keep the WP logo area from shouting */
body.login #login h1{
  margin-bottom: 14px;
}
body.login #login h1 a{
  opacity: 0.98;
  filter: none;
  background-image: url('https://expertadvisor.co.za/wp-content/uploads/2025/12/logo-EA-1.png');
  width: 240px;
  height: 80px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Remove the "Go to …" link */
body.login #backtoblog{
  display: none;
}

/* Card look */
body.login #loginform,
body.login #lostpasswordform,
body.login #resetpassform,
body.login #registerform{
  background: #181818;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 54px rgba(0,0,0,0.55);
  border-radius: 12px;
  padding: 22px;
}

/* Labels */
body.login label{
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  font-size: 14px;
}

/* Inputs */
body.login input[type="text"],
body.login input[type="email"],
body.login input[type="password"]{
  border-radius: 8px;
  border-color: rgba(45,123,255,0.22);
  background: #0D0D0D;
  background-color: #0D0D0D;
  color: #ffffff;
  height: 42px;
  font-size: 16px;
  line-height: 1.2;
  padding: 12px 14px;
  box-sizing: border-box;
  box-shadow: none;
}

/* iOS Safari zoom fix: keep inputs at 16px on small screens */
@media (max-width: 782px){
  body.login input[type="text"],
  body.login input[type="email"],
  body.login input[type="password"]{
    font-size: 16px;
  }
  body.login #wp-submit{
    font-size: 16px;
  }
}

body.login input[type="text"]:focus,
body.login input[type="email"]:focus,
body.login input[type="password"]:focus{
  border-color: rgba(45,123,255,0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45,123,255,0.15);
}

/* Main button */
body.login #wp-submit{
  margin-top: 14px;
  width: 100%;
  background: #ffffff;
  color: #0b0b0d;
  height: 42px;
  font-size: 16px;
  font-weight: 800;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  text-shadow: none;
}

body.login #wp-submit:hover{
  filter: brightness(0.98);
}

/* Links + nav */
body.login #nav,
body.login #backtoblog{
  text-align: center;
}

body.login #nav a,
body.login #backtoblog a{
  color: rgba(255,255,255,0.52);
  text-decoration: none;
}

body.login #nav a:hover,
body.login #backtoblog a:hover{
  text-decoration: underline;
}

/* Helper text */
body.login p,
body.login .privacy-policy-page-link{
  color: rgba(255,255,255,0.55);
}

/* Messages */
body.login .message,
body.login #login_error,
body.login .success{
  border-left: 4px solid rgba(45,123,255,0.75);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border-radius: 10px;
  padding: 14px;
}

/* Remove the heavy WP shadow on form wrappers */
body.login .wp-core-ui .button,
body.login .wp-core-ui .button-primary{
  box-shadow: none;
}
