/* Responsive Drawer Container */

.web-drawer-animation-enter {
  transform: translateX(100%);
}
.web-drawer-animation-enter-active {
  transform: translateX(0);
  transition: transform 750ms;
}
.web-drawer-animation-exit {
  transform: translateX(0);
  position: absolute;
}
.web-drawer-animation-exit-active {
  transform: translateX(100%);
  transition: transform 750ms;
}

.base-drawer-animation-enter {
  opacity: 0;
}
.base-drawer-animation-enter-active {
  opacity: 1;
  transition: opacity 750ms;
}
.base-drawer-animation-exit {
  opacity: 1;
  position: absolute;
}
.base-drawer-animation-exit-active {
  opacity: 0;
  transition: opacity 750ms;
}
/* stylelint-disable-next-line a11y/no-display-none */
.base-drawer-animation-exit-done {
  display: none;
}

/* Drawer */

.mobile-drawer-overlay {
  position: fixed;
}

.mobile-drawer {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  position: fixed;
}

.mobile-drawer-animation-enter {
  transform: translateY(100%);
}
.mobile-drawer-animation-enter-active {
  transform: translateY(0);
  transition: transform 500ms;
}
.mobile-drawer-animation-exit {
  transform: translateY(0);
}
.mobile-drawer-animation-exit-active {
  transform: translateY(100%);
  transition: transform 500ms;
}

/* Header */

.header-body {
  overflow-wrap: break-word;
}

/* Input Code */

.input-container {
  /* Prevent the -1px margin of TextInput from cutting off focus border */
  padding: 0 1px;
}

.input-wrapper input {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  height: 55px;
  max-width: 55px;
  flex-shrink: 1;
}
.input-wrapper input:-webkit-autofill {
  transition: background-color 50000s ease-in-out 0s, color 50000s ease-in-out 0s;
}

/* Warning */

.warning-style {
  background: rgb(var(--yellow5));
}

/* IDV Save Code Prompt */

.idv-code-container {
  cursor: pointer;
}

.idv-code-container h2 {
  letter-spacing: 0.05em;
}

