pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
  min-height: initial;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
@media screen and (max-width: 767px) {
  .sr-only-mobile {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}

pn--marketweb-input {
  display: inline-flex;
  flex-direction: column;
}

pn-marketweb-input input {
  padding: 0.75em;
  font-size: 1em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  outline: none;
  border-radius: 0.8rem;
  border: 0.1rem solid #5e554a;
  transition: box-shadow 0.15s, border 0.15s;
  color: #000000;
  width: 100%;
}
pn-marketweb-input input::placeholder {
  color: #969087;
  font-weight: normal;
}
pn-marketweb-input input:focus {
  border: 0.1rem solid #005d92;
  box-shadow: 0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92;
}
pn-marketweb-input input:hover {
  border: 0.1rem solid #00a0d6;
}
pn-marketweb-input input:disabled {
  background: #f3f2f2;
  border: none;
}

pn-marketweb-input > .input-container {
  position: relative;
}
pn-marketweb-input > .input-container > button {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #005d92;
  padding: 0.6rem;
  border-radius: 0.8rem;
  outline: none;
  transition: border 0.1s, background 0.2s, color 0.1s;
  border: 0.1rem solid transparent;
}
pn-marketweb-input > .input-container > button:focus {
  border: 0.1rem solid #005d92;
}
pn-marketweb-input > .input-container > button:hover {
  background: #e0f8ff;
}
pn-marketweb-input > .input-container > button:active {
  background: #005d92;
  color: white;
}
pn-marketweb-input > .input-container > svg {
  position: absolute;
  right: 0.75em;
  top: 50%;
  transform: translateY(-50%);
  height: 1.5em;
  width: 1.5em;
  pointer-events: none;
}
pn-marketweb-input > .input-container > svg polyline {
  stroke-linecap: round;
  transition: stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}
pn-marketweb-input > .input-container > svg.pn-input-checkmark polyline {
  stroke: #005e41;
  stroke-dashoffset: 23;
  stroke-dasharray: 23;
}

pn-marketweb-input .label-container {
  margin-bottom: 0.4rem;
  color: #5e554a;
  font-size: 0.875em;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
pn-marketweb-input .label-container label {
  cursor: pointer;
  transition: color 0.2s;
}

.label-container label.char-count {
  flex-shrink: 0;
  padding-left: 0.5em;
}

pn-marketweb-input small {
  font-size: 0.75em;
  font-size: max(.6em, 1.2rem);
  transition: transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);
  margin-top: 0.5em;
  color: #5e554a;
}

pn-input.error {
  color: #a70707;
}
pn-input.error label {
  color: #a70707;
}
pn-input.error small {
  color: #a70707;
}
pn-input.error small > pn-icon {
  margin-right: 0.25em;
}
pn-input.error input {
  border: 0.1rem solid #a70707;
}
pn-input.error input:focus {
  border: 0.1rem solid #a70707;
  box-shadow: 0 0 0 0.2rem #fff, 0 0 0 0.4rem #a70707;
}
pn-input.error input:hover {
  border: 0.1rem solid #f06365;
}

pn-input.valid {
  color: #005e41;
}
pn-input.valid .input-container > svg.pn-input-checkmark polyline {
  stroke-dashoffset: 0;
}
pn-input.valid label {
  color: #005e41;
}
pn-input.valid input {
  border: 0.1rem solid #005e41;
}
pn-input.valid input:focus {
  border: 0.1rem solid #005e41;
  box-shadow: 0 0 0 0.2rem #fff, 0 0 0 0.4rem #005e41;
}
pn-input.valid input:hover {
  border: 0.1rem solid #5ec584;
}

pn-marketweb-input.password input {
  padding-right: 4em;
}

pn-marketweb-input.icon input {
  padding-right: 2.3em;
}