/** Career WINners v163 authentication controls. */
#apus_login_forgot_form .cw-password-field-wrap,
#apus_register_form .cw-password-field-wrap,
.cw-auth-wrapper .cw-password-field-wrap,
.cw-auth-register-wrapper .cw-password-field-wrap,
#loginform .cw-password-field-wrap,
#registerform .cw-password-field-wrap,
#resetpassform .cw-password-field-wrap,
.change-password-form .cw-password-field-wrap,
.delete-profile-form .cw-password-field-wrap,
.employer-add-employees-form .cw-password-field-wrap {
  position:relative!important;
  display:block!important;
  width:100%!important;
}

#apus_login_forgot_form input[data-cw-password-field="1"],
#apus_register_form input[data-cw-password-field="1"],
.cw-auth-wrapper input[data-cw-password-field="1"],
.cw-auth-register-wrapper input[data-cw-password-field="1"],
#loginform input[data-cw-password-field="1"],
#registerform input[data-cw-password-field="1"],
#resetpassform input[data-cw-password-field="1"],
.change-password-form input[data-cw-password-field="1"],
.delete-profile-form input[data-cw-password-field="1"],
.employer-add-employees-form input[data-cw-password-field="1"] {
  padding-inline-end:58px!important;
}

.cw163-password-toggle,
#apus_login_forgot_form .cw163-password-toggle,
#apus_register_form .cw163-password-toggle,
.cw-auth-wrapper .cw163-password-toggle,
.cw-auth-register-wrapper .cw163-password-toggle {
  position:absolute!important;
  z-index:90!important;
  inset-inline-end:10px!important;
  inset-block-start:50%!important;
  transform:translateY(-50%)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#52627a!important;
  box-shadow:none!important;
  cursor:pointer!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  appearance:none!important;
}

.cw163-password-toggle:hover {
  background:#eef5ff!important;
  color:#145fc7!important;
}

.cw163-password-toggle:focus-visible {
  outline:3px solid rgba(23,103,232,.28)!important;
  outline-offset:1px!important;
  background:#eef5ff!important;
  color:#145fc7!important;
}

.cw163-password-toggle svg {
  display:block!important;
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.1!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}

.cw163-auth-message {
  margin:0 0 16px!important;
  padding:12px 14px!important;
  border:1px solid!important;
  border-radius:12px!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.45!important;
}
.cw163-auth-message.is-error {
  border-color:#f0b7b2!important;
  background:#fff3f2!important;
  color:#8d2018!important;
}
.cw163-auth-message.is-success {
  border-color:#9fd8b8!important;
  background:#effbf4!important;
  color:#155d37!important;
}
form.cw163-auth-loading button[type="submit"],
form.cw163-auth-loading input[type="submit"] {
  cursor:wait!important;
}

/* Preserve browser autofill while keeping the approved field surface visually stable. */
#apus_login_forgot_form input:-webkit-autofill,
#apus_login_forgot_form input:-webkit-autofill:hover,
#apus_login_forgot_form input:-webkit-autofill:focus,
#apus_register_form input:-webkit-autofill,
#apus_register_form input:-webkit-autofill:hover,
#apus_register_form input:-webkit-autofill:focus,
.cw-auth-wrapper input:-webkit-autofill,
.cw-auth-register-wrapper input:-webkit-autofill {
  -webkit-text-fill-color:#172033!important;
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  caret-color:#172033!important;
  transition:background-color 9999s ease-out 0s!important;
}
#apus_login_forgot_form input:autofill,
#apus_register_form input:autofill,
.cw-auth-wrapper input:autofill,
.cw-auth-register-wrapper input:autofill {
  background:#fff!important;
  color:#172033!important;
}


/* v203 cross-browser auth field state */
#apus_login_forgot_form input.form-control,
#apus_register_form input.form-control,
.cw-auth-wrapper input.form-control,
.cw-auth-register-wrapper input.form-control {
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  appearance:none!important;
  background-color:#fff!important;
  background-image:none!important;
  color:#172033!important;
  caret-color:#172033!important;
  outline:none!important;
  filter:none!important;
}
#apus_login_forgot_form input.form-control:focus,
#apus_register_form input.form-control:focus,
.cw-auth-wrapper input.form-control:focus,
.cw-auth-register-wrapper input.form-control:focus {
  border-color:#1767e8!important;
  box-shadow:0 0 0 4px rgba(23,103,232,.14)!important;
  outline:2px solid transparent!important;
}
#apus_login_forgot_form input.form-control:focus-visible,
#apus_register_form input.form-control:focus-visible,
.cw-auth-wrapper input.form-control:focus-visible,
.cw-auth-register-wrapper input.form-control:focus-visible {
  border-color:#1767e8!important;
  box-shadow:0 0 0 4px rgba(23,103,232,.14)!important;
  outline:3px solid rgba(23,103,232,.30)!important;
  outline-offset:2px!important;
}
#apus_login_forgot_form input.form-control:-moz-autofill,
#apus_register_form input.form-control:-moz-autofill,
.cw-auth-wrapper input.form-control:-moz-autofill,
.cw-auth-register-wrapper input.form-control:-moz-autofill {
  background-color:#fff!important;
  background-image:none!important;
  color:#172033!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  filter:none!important;
}
#apus_login_forgot_form input.form-control:-moz-ui-invalid,
#apus_register_form input.form-control:-moz-ui-invalid,
.cw-auth-wrapper input.form-control:-moz-ui-invalid,
.cw-auth-register-wrapper input.form-control:-moz-ui-invalid {
  box-shadow:none!important;
}
#apus_login_forgot_form input.form-control:-webkit-autofill,
#apus_login_forgot_form input.form-control:-webkit-autofill:hover,
#apus_login_forgot_form input.form-control:-webkit-autofill:focus,
#apus_register_form input.form-control:-webkit-autofill,
#apus_register_form input.form-control:-webkit-autofill:hover,
#apus_register_form input.form-control:-webkit-autofill:focus,
.cw-auth-wrapper input.form-control:-webkit-autofill,
.cw-auth-register-wrapper input.form-control:-webkit-autofill {
  -webkit-text-fill-color:#172033!important;
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  caret-color:#172033!important;
  filter:none!important;
}

/* v203.9 registration panes: the active account type must always expose its form. */
#apus_register_form .cw-auth-register-tabs > .tab-pane,
#apus_register_form .tab-content > .tab-pane {
  display:none!important;
}
#apus_register_form .cw-auth-register-tabs > .tab-pane.active,
#apus_register_form .tab-content > .tab-pane.active {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
#apus_register_form .cw-auth-role-tabs > li > button {
  appearance:none!important;
  -webkit-appearance:none!important;
  cursor:pointer!important;
}

/* v203.9 account type controls and consent: compact, predictable, keyboard-safe. */
#apus_register_form .cw-auth-role-tabs > li > button {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:54px!important;
  padding:10px 14px!important;
  border:1px solid #bfd5f6!important;
  border-radius:18px!important;
  background:#eef5ff!important;
  color:#1558d6!important;
  font:inherit!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-align:center!important;
  box-shadow:none!important;
}
#apus_register_form .cw-auth-role-tabs > li > button[aria-selected="true"],
#apus_register_form .cw-auth-role-tabs > li.active > button {
  background:#1767e8!important;
  border-color:#1767e8!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(23,103,232,.20)!important;
}
#apus_register_form .cw-auth-role-tabs > li > button:focus-visible {
  outline:3px solid rgba(23,103,232,.32)!important;
  outline-offset:3px!important;
}
#apus_register_form .cw-auth-consent {
  margin-top:4px!important;
  margin-bottom:16px!important;
}
#apus_register_form .cw-auth-consent > label {
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  color:#52627a!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:600!important;
  cursor:pointer!important;
}
#apus_register_form .cw-auth-consent input[type="checkbox"] {
  flex:0 0 auto!important;
  width:18px!important;
  height:18px!important;
  margin:2px 0 0!important;
  accent-color:#1767e8!important;
}
#apus_register_form .cw-auth-consent a {
  color:#1558d6!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}


/* v203.10 single-owner registration state.
 * The selected pane and its form are visible together; historical form-level
 * rules cannot hide Employer fields inside an active pane. */
#apus_register_form .cw-auth-register-tabs > .tab-pane,
#apus_register_form .tab-content > .tab-pane {
  display:none!important;
}
#apus_register_form .cw-auth-register-tabs > .tab-pane.active,
#apus_register_form .tab-content > .tab-pane.active {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
#apus_register_form .cw-auth-register-tabs > .tab-pane.active > form.register-form,
#apus_register_form .tab-content > .tab-pane.active > form.register-form,
#apus_register_form .cw-auth-register-tabs > .tab-pane.active > form.cw-auth-register-form,
#apus_register_form .tab-content > .tab-pane.active > form.cw-auth-register-form {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
#apus_register_form .cw-auth-register-tabs > .tab-pane:not(.active) > form.register-form,
#apus_register_form .tab-content > .tab-pane:not(.active) > form.register-form {
  display:none!important;
}
