.soro-password-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.soro-password-field > label {
  margin: 0 !important;
  min-width: 0;
}

.soro-password-control {
  position: relative;
  min-width: 0;
  width: 100%;
}

.soro-password-control > input[data-soro-password-input] {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding-inline-end: 54px;
}

.soro-password-control > .soro-password-toggle {
  position: absolute;
  inset-inline-end: 2px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #244d77;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.soro-password-control > .soro-password-toggle:hover:not(:disabled) {
  background: #edf3fa;
  color: #082d5c;
}

.soro-password-control > .soro-password-toggle:focus-visible {
  outline: 3px solid #246ba3;
  outline-offset: 1px;
}

.soro-password-control > .soro-password-toggle:disabled {
  color: #8a98a9;
  cursor: not-allowed;
}

.soro-password-toggle > svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.soro-password-field[hidden],
.soro-password-control[hidden] {
  display: none !important;
}

@media (forced-colors: active) {
  .soro-password-control > .soro-password-toggle {
    color: ButtonText;
    border: 1px solid ButtonText;
  }
  .soro-password-control > .soro-password-toggle:disabled {
    color: GrayText;
    border-color: GrayText;
  }
}
