/* CG_LOGIN_EYE_CREATE_POLISH_ONLY_V1 */

/*
  Scope: /customer/account/login/ only.
  Fixes:
  1. Center password eye icon in the password input.
  2. Make the Create account link a premium, well-placed pill in the login heading.
*/

html body.customer-account-login .login-container .control.password-wrapper {
  box-sizing: border-box !important;
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

html body.customer-account-login .login-container .control.password-wrapper input#pass,
html body.customer-account-login .login-container .control.password-wrapper input[name="login[password]"] {
  box-sizing: border-box !important;
  padding-right: 58px !important;
  width: 100% !important;
}

html body.customer-account-login .login-container .control.password-wrapper .password-actions {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  bottom: auto !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  display: flex !important;
  height: 42px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 42px !important;
  z-index: 4 !important;
}

html body.customer-account-login .login-container .control.password-wrapper .password-actions i,
html body.customer-account-login .login-container .control.password-wrapper #togglePassword {
  align-items: center !important;
  background: rgba(45, 51, 127, .065) !important;
  border: 1px solid rgba(45, 51, 127, .12) !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  color: #2d337f !important;
  cursor: pointer !important;
  display: flex !important;
  float: none !important;
  font-size: 17px !important;
  height: 34px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  transform: none !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease !important;
  vertical-align: middle !important;
  width: 34px !important;
}

html body.customer-account-login .login-container .control.password-wrapper .password-actions i:hover,
html body.customer-account-login .login-container .control.password-wrapper #togglePassword:hover,
html body.customer-account-login .login-container .control.password-wrapper .password-actions i:focus,
html body.customer-account-login .login-container .control.password-wrapper #togglePassword:focus {
  background: rgba(212, 175, 55, .18) !important;
  border-color: rgba(212, 175, 55, .70) !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .18) !important;
  color: #15194d !important;
  outline: 0 !important;
}

/* Premium heading placement */
html body.customer-account-login .login-container .block-title.text-center {
  align-items: center !important;
  background:
    linear-gradient(135deg, rgba(45, 51, 127, .055), rgba(212, 175, 55, .12)) !important;
  border: 1px solid rgba(45, 51, 127, .12) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(31, 35, 71, .07) !important;
  box-sizing: border-box !important;
  display: flex !important;
  gap: 8px !important;
  justify-content: space-between !important;
  margin: 0 0 22px !important;
  padding: 7px !important;
  text-align: left !important;
  width: 100% !important;
}

html body.customer-account-login .login-container .block-title.text-center .active.title {
  align-items: center !important;
  background: #2d337f !important;
  border: 1px solid #2d337f !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 24px rgba(45, 51, 127, .20) !important;
  box-sizing: border-box !important;
  color: #fff !important;
  display: inline-flex !important;
  flex: 1 1 auto !important;
  font-family: var(--cg-font, "Inter", "Helvetica Neue", sans-serif) !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

html body.customer-account-login .login-container .block-title.text-center a.title,
html body.customer-account-login .login-container .block-title.text-center a[href*="/customer/account/create"] {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid rgba(45, 51, 127, .16) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(31, 35, 71, .06) !important;
  box-sizing: border-box !important;
  color: #2d337f !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-family: var(--cg-font, "Inter", "Helvetica Neue", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 44px !important;
  padding: 0 17px !important;
  position: static !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  transform: none !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease !important;
  white-space: nowrap !important;
}

html body.customer-account-login .login-container .block-title.text-center a.title:hover,
html body.customer-account-login .login-container .block-title.text-center a[href*="/customer/account/create"]:hover,
html body.customer-account-login .login-container .block-title.text-center a.title:focus-visible,
html body.customer-account-login .login-container .block-title.text-center a[href*="/customer/account/create"]:focus-visible {
  background: #fffaf0 !important;
  border-color: rgba(212, 175, 55, .75) !important;
  box-shadow: 0 12px 26px rgba(31, 35, 71, .11) !important;
  color: #15194d !important;
  outline: 0 !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 520px) {
  html body.customer-account-login .login-container .block-title.text-center {
    align-items: stretch !important;
    border-radius: 22px !important;
    flex-direction: column !important;
  }

  html body.customer-account-login .login-container .block-title.text-center .active.title,
  html body.customer-account-login .login-container .block-title.text-center a.title,
  html body.customer-account-login .login-container .block-title.text-center a[href*="/customer/account/create"] {
    width: 100% !important;
  }
}
