/* ATC 1.4.6 – refinement exclusively for the existing registration UI.
   No changes to fields, validation, consent, submission or user data. */

/* The ATC visibility button is positioned inside the password input instead
   of displaying as an extra text button below the input. Existing event
   listener stays attached to the original button (JS moves, never clones). */
html body.atc-account-registration-3588 .um-register .um-field-area:has(> .atc-reg-pass-switch-3627.atc146-eye-control) {
  position:relative!important;
  isolation:isolate;
}
html body.atc-account-registration-3588 .um-register .atc-reg-pass-switch-3627.atc146-eye-control {
  display:flex!important;
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:20!important;
  width:38px!important;
  height:38px!important;
  min-height:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  box-shadow:none!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  background:transparent!important;
  font-size:0!important;
  line-height:0!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
html body.atc-account-registration-3588 .um-register .atc-reg-pass-switch-3627.atc146-eye-control::before {
  content:''!important;
  display:block!important;
  width:20px!important;
  height:20px!important;
  background-color:#284d66!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")!important;
  -webkit-mask-size:contain!important;mask-size:contain!important;
  -webkit-mask-position:center!important;mask-position:center!important;
  -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
}
html body.atc-account-registration-3588 .um-register .atc-reg-pass-switch-3627.atc146-eye-control[aria-pressed='true']::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.1c.46-.07.93-.1 1.4-.1 6.4 0 10 7 10 7a17 17 0 0 1-3.16 3.91'/%3E%3Cpath d='M6.64 6.63A18.5 18.5 0 0 0 2 12s3.6 7 10 7c1.5 0 2.87-.38 4.07-1.02'/%3E%3Cpath d='M9.88 9.89a3 3 0 0 0 4.23 4.23'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.1c.46-.07.93-.1 1.4-.1 6.4 0 10 7 10 7a17 17 0 0 1-3.16 3.91'/%3E%3Cpath d='M6.64 6.63A18.5 18.5 0 0 0 2 12s3.6 7 10 7c1.5 0 2.87-.38 4.07-1.02'/%3E%3Cpath d='M9.88 9.89a3 3 0 0 0 4.23 4.23'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E")!important;
}
html body.atc-account-registration-3588 .um-register .atc-reg-pass-switch-3627.atc146-eye-control:hover{background:#ecf4f9!important}
html body.atc-account-registration-3588 .um-register .atc-reg-pass-switch-3627.atc146-eye-control:focus-visible{outline:2px solid #217ab1!important;outline-offset:1px!important}

/* Keep the neutral confirmation placeholder out of the visual layout, while
   keeping actual mismatch, match and partial validation messages visible. */
html body.atc-account-registration-3588 .um-register .atc-reg-confirm-status:not(.atc-status-valid):not(.atc-status-invalid) {
  display:none!important;
}

/* Bring the language selector, including common UM/select2 renderers, into
   line with the input fields without altering selection or plugin events. */
html body.atc-account-registration-3588 .um-register .atc145-language select,
html body.atc-account-registration-3588 .um-register .atc-reg-language-144 select,
html body.atc-account-registration-3588 .um-register .um-field:has(select) select {
  width:100%!important;
  box-sizing:border-box!important;
  min-height:45px!important;
  border:1px solid #d4e4ef!important;
  border-radius:9px!important;
  background-color:#fff!important;
  color:#244c68!important;
  font-size:15px!important;
  padding:9px 39px 9px 13px!important;
}
html body.atc-account-registration-3588 .um-register .um-field:has(select) .select2-container,
html body.atc-account-registration-3588 .um-register .um-field:has(select) .select2-selection--single{
  width:100%!important;box-sizing:border-box!important;min-height:45px!important;
  border-radius:9px!important;border-color:#d4e4ef!important;background-color:#fff!important;
}
html body.atc-account-registration-3588 .um-register .um-field:has(select) .select2-selection__rendered{line-height:43px!important;padding-left:13px!important}
@media(max-width:759px){
  html body.atc-account-registration-3588 .um-register .atc-reg-pass-switch-3627.atc146-eye-control{
    width:42px!important;min-width:42px!important;max-width:42px!important;
    height:42px!important;min-height:42px!important;
  }
}
