/* ---------------------------------
-----  dimension variables --------
---------------------------------- */
/* ------  standard elements padding & margin  ------- */
/* spacing */
/**
**  Official Font sizes
------------------------------- */
/**
** Line-heights
------------------------------- */
/*
  Mixin to progressively-enhance :focus-visible, keeping :focus where not supported
  Add an arbitrary list of selectors into the arguments, and the styling in the block.
  I you pass no selectors to the mixin the parent ("ampersand") operator is used instead.

  There are two mixins:
  - focus-visible: a generic focus-visible, giving you "slots" to decide what to render for :focus, :focus reset, and :focus-visible
  - focus-visible-outline: a focus-visible, which only resets the outline. If you don't need more custom resets, use this one!

  Use focus-visible:
  The key thing here is checking which slot is being rendered.
  For example, you can reset box-shadow here, or anything else.

  @include focus-visible using ($slot) {
      @if $slot == focus {
          outline: 2px solid transparent;
          box-shadow: 0 0 0 4px blue;
      }
      @if $slot == focusReset {
          box-shadow: none;
      }
      @if $slot == focusVisible {
          box-shadow: 0 0 0 4px blue;
      }
  }

  Use focus-visible-outline:
  @include focus-visible-outline("button", "a[href]") {
      outline: 2px solid blue;
  }

  Resulting CSS (compressed):

  button:focus,
  a[href]:focus {
      outline: 2px solid blue;
  }

  button:focus:not(:focus-visible),
  a[href]:focus:not(:focus-visible) {
      outline: none;
  }
  button:focus-visible,
  a[href]:focus-visible {
      outline: 2px solid blue;
  }
*/
.ux-password-input {
  display: block;
  position: relative;
  width: 100%;
}
.ux-password-input__inner {
  background-color: var(--ux-input-background-color);
}
.ux-password-input .ux-input {
  border: var(--ux-input-border-width) solid var(--ux-input-border-color);
  height: var(--ux-input-height);
}
.ux-password-input .ux-input:hover {
  background-color: var(--ux-input-hover-bg);
  border-color: var(--ux-input-hover-border-color);
}
.ux-password-input .ux-input:hover:not(:focus) {
  color: var(--ux-input-hover-text-color);
}
.ux-password-input .ux-input:active {
  background: var(--ux-input-active-bg);
  border-color: var(--ux-input-active-border-color);
  color: var(--ux-input-active-text-color);
}
.ux-password-input .ux-input:focus {
  color: var(--ux-input-focus-text-color);
  outline: var(--ux-input-outline-width) solid var(--ux-input-focus-border-color);
  outline-offset: var(--ux-input-outline-offset);
}
.ux-password-input .ux-input:disabled {
  background: var(--ux-input-disabled-bg);
  border-color: var(--ux-input-disabled-border-color);
  color: var(--ux-input-disabled-text-color);
  opacity: var(--ux-input-disabled-opacity);
}
.ux-password-input .ux-input::placeholder {
  color: var(--ux-input-placeholder-color);
  font-weight: var(--ux-input-placeholder-font-weight);
}
.ux-password-input--disabled .ux-input {
  background-color: var(--ux-input-disabled-bg);
  border-color: var(--ux-input-disabled-border-color);
  color: var(--ux-input-disabled-text-color);
}
.ux-password-input--error .ux-input {
  border-color: var(--ux-input-error-border-color);
}
.ux-password-input--error .ux-input:not(:disabled):not(:focus):hover {
  border-color: var(--ux-input-error-border-color);
}
.ux-password-input[label] .ux-password-input__toggle-visibility {
  display: block;
  height: 0;
  right: 0;
  top: 0;
}
.ux-password-input[label] input {
  padding-right: 20px;
}

.ux-password-input__input-wrapper {
  position: relative;
  width: 100%;
}
.ux-password-input__input-wrapper:first-of-type {
  margin-bottom: 30px;
}
.ux-password-input__input-wrapper:only-of-type {
  margin-bottom: 0;
}
@media only screen and (min-width: 768px) {
  .ux-password-input__input-wrapper:first-of-type {
    margin-bottom: 0;
    margin-right: 15px;
  }
  .ux-password-input__input-wrapper:last-of-type {
    margin-left: 15px;
  }
  .ux-password-input__input-wrapper:only-of-type {
    margin: 0;
  }
}
.ux-password-input__input-wrapper label {
  width: calc(100% - 20px);
}

.ux-password-input__toggle-visibility {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  height: 100%;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 0;
}
.ux-password-input__toggle-visibility ux-icon {
  cursor: pointer;
  transition: fill 0.25s ease;
}

.ux-password-input__toggle-visibility.active ux-icon {
  fill: #bbd03a;
}

.ux-input.ux-password-input__input--success {
  border-color: #bbd03a;
  color: #bbd03a;
}
.ux-input.ux-password-input__input--success:focus {
  border-color: #bbd03a;
}

.ux-password-input__tooltip-headline {
  font-family: Frutiger-Bold, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  font-weight: 400;
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ux-password-input__tooltip-text {
  font-family: Frutiger-Light, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  font-weight: 400;
  color: #727272;
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}
.ux-password-input__tooltip-text:last-child {
  margin-bottom: 0;
}
.ux-password-input__tooltip-text--is-valid {
  font-family: Frutiger-Bold, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  font-weight: 400;
  color: #bbd03a;
}