/* General Login Page Styling */
body.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #F9FAFA; /* White background */
  font-family: Arial, sans-serif;
}

/* Center the Login Box */
#login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 0;
}

/* Custom Logo */
#login h1 a {
  background: url('/wp-content/themes/zodigitaal/screenshot.png') no-repeat center center; /* Adjust the path if needed */
  background-size: contain;
  width: 300px;
  height: 80px;
  text-indent: -9999px;
  display: block;
  margin: 0 auto 20px;
}

#login h1 a:focus {
  box-shadow: none;
}

/* Login Form Styling */
#login form {
  background: #E7ECEA; /* Green 2 */
  border: none;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Labels */
#login form label {
  font-size: 16px;
  color: #2C2C2C; /* Black */
}

/* Input Fields */
#login form input {
  font-size: 14px;
  color: #2C2C2C; /* Black */
  border: 1px solid #969998; /* Grey */
  border-radius: 5px;
  padding: 10px;
}

/* Primary Button */
#login .submit input {
  background-color: #FFA0A0; /* Pink */
  color: #2C2C2C; /* Black */
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#login .submit input:hover {
  background-color: #2C2C2C; /* Black */
  color: #F9FAFA; /* White */
}

/* Error & Message Box */
#login #login_error,
#login #login-message {
  border-radius: 10px;
  background: #F9FAFA  ; /* White */
  color: #2C2C2C; /* Black */
  box-shadow: 0 0 5px rgba(156, 175, 167, 0.5);
  border: none;
  border-left: 3px solid rgb(0, 110, 255);
  padding: 10px;
}

#login #login_error {
  border-color: rgb(240, 46, 46);
}

/* Navigation Links (Back to Blog & Forgot Password) */
#login #nav,
#login #backtoblog {
  text-align: center;
}

#login #nav a,
#login #backtoblog a,
#login .privacy-policy-page-link a {
  color: #FFA0A0; /* Pink */
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin: 5px;
}

#login #nav a:hover,
#login #backtoblog a:hover,
#login .privacy-policy-page-link a:hover {
  color: #F9FAFA; /* White */
  background-color: #2C2C2C; /* Black */
  border-radius: 5px;
  padding: 5px 10px;
  text-decoration: none;
}

/* Language Switch */
#language-switcher {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

#language-switcher input {
  background-color: #9CAFA7;
  font-weight: 600;
  transition: all 0.3s;
}

#language-switcher input:hover {
  background-color: #2C2C2C;
  color: #E7ECEA;
  cursor: pointer;
}

#language-switcher input,
#language-switcher select {
  height: 100%;
  padding: 10px 15px;
  margin: 0 15px;
  border: none;
  box-shadow: 0 0 5px rgba(156, 175, 167, 0.5);
  border-radius: 10px;
}

/* Focus States */
#login form input:focus {
  border-color: #9CAFA7; /* Green 1 */
  box-shadow: 0 0 5px rgba(156, 175, 167, 0.5);
}

/* Gradients */
.login form {
  background: linear-gradient(100deg, #E7ECEA, #9CAFA76A);
}

/* Mobile Responsiveness */
@media screen and (max-width: 480px) {
  #login form {
      padding: 20px;
  }

  #login h1 a {
      width: 200px;
      height: 60px;
  }
}
