/* General reset */
:root {
  --primary-color: #222D32;
  --secondary-color: #000;
  --error-color: #ff0000;
  --border-color: #7429ec;
  --white-color: #ffffff;
  --box-shadow-color: rgba(0, 0, 0, 0.5);
  --text-font-size: 16px;
  --logo-url: url("https://najeebmedia.com/_next/image?url=%2Fimages%2Flogo%2FNM-Logo-Ready.png&w=64&q=75");
  --bg-imge-url: "";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body.login {
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: var(--text-font-size);
}

#login {
  background-color: var(--secondary-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5x 5px rgba(0, 0, 0, 0.5);
  width: 320px;
}

#login h1 a {
  display: block;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-image: var(--logo-url);
  background-size: cover;
  text-indent: -9999px;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

#login h1 {
  text-align: center;
  margin-bottom: 30px;
}

#login-message {
  background-color: transparent;
  color: #9e9e9e;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

#login form {
  margin-bottom: 20px;
}

#loginform label {
  color: #9e9e9e;
  font-size: 12px;
}

#loginform input.input {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #0db8de;
  padding: 10px;
  margin-bottom: 20px;
  color: white;
  width: 100%;
}

#loginform input.input::placeholder {
  color: #9e9e9e;
}

#loginform input.input:focus {
  border: none;
  outline: none;
  border-bottom: 2px solid #0db8de;
}

.login .wp-pwd {
  margin-top: 0;
  position: relative;
}

.login .button.wp-hide-pw .dashicons {
  width: 1.25rem;
  height: 1.25rem;
  top: 0.25rem;
}

.login .button.wp-hide-pw {
  background: 0 0;
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 14px;
  line-height: 2;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 5px 9px;
  position: absolute;
  right: 0;
  top: 0;
}

#loginform .wp-pwd button {
  position: absolute;
  right: 1px;
  top: 2px;
  background-color: transparent;
  border: none;
  color: #1f9ee6;
}

.loginform .wp-pwd button:hover {
  color: white;
}

.forgetmenot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit {
  text-align: end;
}

#loginform input[type="submit"] {
  background-color: transparent;
  color: #1f9ee6;
  border: 2px solid #1f9ee6;
  padding: 10px;
  width: 30%;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

#loginform input[type="submit"]:hover {
  background-color: #1f9ee6;
  color: white;
}

#footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#login #nav,
#login #backtoblog {
  text-align: center;
}

#login #nav a,
#login #backtoblog a {
  color: #1f9ee6;
  text-decoration: none;
  font-size: 13px;
}

#login #nav a:hover,
#login #backtoblog a:hover {
  color: white;
}
