body.login {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
}

body.login:after {
  content: "";
  display: block;
  flex: 2;
  height: 100%;
  background: url("../img/login_bg.webp") no-repeat center center;
  background-size: cover;
  margin: 0;
}

#login {
  /* flex-basis: 40%; */
  max-width: 420px;
  width: inherit;
  background: #fff;
  padding: min(15%, 150px) 30px;
  box-sizing: border-box;
  margin: 0 auto;
}

.login .message,
.login .notice,
.login .success {
  border-left: none;
  padding: initial;
  box-shadow: none;
}

.login h1 {
  display: none;
}

.login form {
  /* margin-top: 20px; */
  padding: initial;
  border: none;
  box-shadow: none;
  margin: initial;
}

.login form .input,
.login input[type="text"] {
  border: none;
  border-color: #fff;
  border-radius: 10px;
  /* box-shadow: none; */
  padding: 0.25rem 0.7rem;
  background: #eee !important;
  outline: 0;
  box-shadow: 0 0 0px 999px #eeeeee inset;
}

.login form input[type="checkbox"] {
  border: none;
  background: #dddddd;
  box-shadow: none;
}

#login form p.submit {
  display: block;
  max-width: initial;
  text-align: right;
}

.login form .forgetmenot {
  float: initial;
}

.wp-core-ui .button-primary {
  background: #27afd8;
  border: none;
  border-radius: 20px;
  padding: 0 1.1rem !important;
  min-height: 38px !important;
  transition: background 0.3s;
  border: none;
  box-shadow: none;
  float: initial;
}

.wp-core-ui .button-primary:hover {
  background-color: #b2b2b2;
}

.wp-core-ui .button-primary.focus,
.wp-core-ui .button-primary:focus {
  border: none;
  box-shadow: none;
}

.login .button.wp-hide-pw:focus {
  border: none;
  box-shadow: none;
}

.login #nav a[href*="lostpassword"] {
  display: none;
}

.login #backtoblog {
  display: none;
}

.login .language-switcher {
  display: none;
}

#my_custom_dashboard_widget .postbox-header {
  display: none;
}

@media screen and (max-width: 767px) {
  body.login {
    flex-direction: column;
  }
}
