.rc-password-field {
  position: relative !important;
  display: block !important;
  width: 100%;
  min-width: 0;
  isolation: isolate;
}

.rc-password-field > input {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  padding-right: 46px !important;
}

.rc-password-field > input::-ms-reveal,
.rc-password-field > input::-ms-clear {
  display: none;
}

button.rc-password-field__toggle,
button.rc-password-toggle,
.rc-password-field__toggle,
.rc-password-toggle {
  position: absolute !important;
  z-index: 3;
  inset: 0 4px 0 auto !important;
  top: 0 !important;
  right: 4px !important;
  bottom: 0 !important;
  left: auto !important;
  display: grid !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  transform: none !important;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  color: #667085;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rc-password-field__toggle:hover,
.rc-password-toggle:hover {
  background: #eef4ff !important;
  color: #0b6fe8;
}

.rc-password-field__toggle:focus-visible,
.rc-password-toggle:focus-visible {
  outline: 2px solid #0b6fe8;
  outline-offset: 1px;
}

.rc-password-field__toggle svg,
.rc-password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .rc-password-field > input {
    padding-right: 48px !important;
  }

  .auth-panels .rc-password-field__toggle,
  .auth-panels .rc-password-toggle,
  #changePasswordForm .rc-password-field__toggle,
  #changePasswordForm .rc-password-toggle,
  .rc-password-field__toggle,
  .rc-password-toggle {
    top: 0 !important;
    right: 2px !important;
    bottom: 0 !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
  }
}

/* restaurant switcher stays next to the messenger */
#appView #networkContextToggle {
  display: inline-grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#appView .nw-context-switch {
  display: block !important;
  visibility: visible !important;
}

html body button,
html body [role="button"],
html body summary {
  transition: filter 90ms ease, transform 90ms ease, background-color 90ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(11, 111, 232, 0.22);
}
html body button:active:not(:disabled),
html body [role="button"]:active,
html body summary:active {
  filter: brightness(0.78) !important;
}
#appView button:active:not(:disabled),
#authView button:active:not(:disabled),
#mobileBottomNav button:active:not(:disabled),
#planMasterPanel button:active:not(:disabled),
#planMetricsAccessSection button:active:not(:disabled) {
  transform: scale(0.96) !important;
}
