/* Google Login Style CSS */

body.login {
  font-family: "Roboto", "Google Sans", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #202124;
  color: #e8eaed;
}

#login {
  padding: 48px 40px 36px;
  width: 450px;
  background-color: #202124;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.login h1 {
  text-align: center;
  margin-bottom: 0;
}

.login h1 a {
  display: none !important;
}

.google-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.google-logo svg {
  width: 75px;
  height: 75px;
}

.login-title {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3333;
  margin-bottom: 8px;
  text-align: center;
  color: #e8eaed;
}

.login-subtitle {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1px;
  line-height: 1.5;
  margin-bottom: 32px;
  text-align: center;
  color: #e8eaed;
}

.login form {
  box-shadow: none;
  padding: 0;
  background: transparent;
  border: none;
  margin-top: 0;
}

.login label {
  font-size: 14px;
  color: #e8eaed;
  font-weight: 400;
  display: none;
}

.login form .input,
.login input[type="text"],
.login input[type="password"] {
  background-color: transparent;
  border: 1px solid #5f6368;
  border-radius: 4px;
  color: #e8eaed;
  font-size: 16px;
  height: 54px;
  margin: 1px 1px 0 1px;
  padding: 13px 15px;
  width: 100%;
  box-sizing: border-box;
}

.login form .input:focus,
.login input[type="text"]:focus,
.login input[type="password"]:focus {
  border-color: #8ab4f8;
  outline: none;
}

.login form .forgetmenot {
  display: none;
}

.forgot-email {
  display: block;
  margin-top: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.forgot-email a {
  color: #8ab4f8;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-decoration: none;
  font-size: 14px;
}

.forgot-email a:hover {
  text-decoration: underline;
}

.private-computer-text {
  color: #e8eaed;
  font-size: 14px;
  line-height: 1.4286;
  margin-top: 32px;
}

.private-computer-text a {
  color: #8ab4f8;
  text-decoration: none;
}

.private-computer-text a:hover {
  text-decoration: underline;
}

.login-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.create-account {
  color: #8ab4f8;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-weight: 500;
  letter-spacing: 0.25px;
  font-size: 14px;
  text-decoration: none;
}

.create-account:hover {
  text-decoration: underline;
}

.wp-core-ui .button-primary {
  background-color: #8ab4f8;
  border: none;
  border-radius: 4px;
  color: #202124;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  letter-spacing: 0.25px;
  line-height: 36px;
  min-width: 96px;
  padding: 0 24px;
  text-transform: none;
}

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

.wp-core-ui .button-primary:focus {
  background-color: #aecbfa;
  box-shadow: none;
}

.login #nav,
.login #backtoblog {
  display: none;
}

.login-footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 0 40px;
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
}

.login-footer-links a {
  color: #bdc1c6;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.login-footer-links a:hover {
  text-decoration: underline;
}

.language-selector {
  color: #bdc1c6;
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* Step 2 styles - Password screen */
.login-step-2 .password-container {
  margin-top: 24px;
}

.login-step-2 .user-identifier {
  display: flex;
  align-items: center;
  background-color: #303134;
  border-radius: 16px;
  color: #e8eaed;
  font-size: 14px;
  height: 32px;
  line-height: 32px;
  margin-bottom: 24px;
  padding: 0 12px;
  width: fit-content;
}

.login-step-2 .user-identifier-text {
  margin-right: 8px;
}

.login-step-2 .user-identifier-dropdown {
  color: #8ab4f8;
  cursor: pointer;
}

.login-step-2 .user-identifier-dropdown:hover {
  text-decoration: underline;
}

/* Error messages */
.login #login_error,
.login .message,
.login .success {
  background-color: #303134;
  border-left: 4px solid #ea4335;
  color: #e8eaed;
  box-shadow: none;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 20px;
}

.login .success {
  border-left-color: #34a853;
}

.login .message {
  border-left-color: #4285f4;
}

/* Light mode overrides */
body.login.light-mode {
  background-color: #ffffff;
  color: #202124;
}

.light-mode #login {
  background-color: #ffffff;
}

.light-mode .login-title,
.light-mode .login-subtitle {
  color: #202124;
}

.light-mode .login form .input,
.light-mode .login input[type="text"],
.light-mode .login input[type="password"] {
  border-color: #dadce0;
  color: #202124;
}

.light-mode .login form .input:focus,
.light-mode .login input[type="text"]:focus,
.light-mode .login input[type="password"]:focus {
  border-color: #1a73e8;
}

.light-mode .forgot-email a,
.light-mode .private-computer-text a,
.light-mode .create-account {
  color: #1a73e8;
}

.light-mode .wp-core-ui .button-primary {
  background-color: #1a73e8;
  color: #ffffff;
}

.light-mode .wp-core-ui .button-primary:hover,
.light-mode .wp-core-ui .button-primary:focus {
  background-color: #1765cc;
}

.light-mode .login-step-2 .user-identifier {
  background-color: #f1f3f4;
  color: #202124;
}

.light-mode .login-step-2 .user-identifier-dropdown {
  color: #1a73e8;
}

.light-mode .login-footer-links a,
.light-mode .language-selector {
  color: #5f6368;
}

.light-mode .login #login_error,
.light-mode .login .message,
.light-mode .login .success {
  background-color: #f8f9fa;
}

