.login-flow {
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.login-track {
  display: flex;
  align-items: flex-start;
  transform: translateX(0);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}
.login-step {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.login-flow.code-visible .login-track {
  transform: translateX(-100%);
}
.login-flow .login-code-form {
  gap: 20px;
  padding: 4px 2px 12px;
}
.login-code-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 3px;
}
.login-code-form h2,
.login-code-description {
  text-align: center;
}
.login-code-form h2 {
  color: #151f6d;
  margin: 0;
}
.login-code-description {
  font-size: 12px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}
.login-code-clock {
  display: grid;
  gap: 7px;
  text-align: center;
  padding: 14px 0 0;
}
.login-code-clock span {
  font-size: 11px;
  color: #64748b;
}
.login-code-clock strong {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  color: #151f6d;
}
.login-code-digits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  margin: 0;
  padding: 4px;
}
.login-code-digits input {
  width: 100%;
  min-width: 0;
  height: 64px;
  padding: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 500;
  color: #151f6d;
  border: 1px solid #dfe2ed;
  border-radius: 12px;
  background: #fff;
  caret-color: #151f6d;
  box-sizing: border-box;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.login-code-digits input:focus {
  outline: none;
  border-color: #151f6d;
  box-shadow:
    0 0 0 3px rgb(163 230 53 / 0.2),
    0 7px 20px rgb(163 230 53 / 0.15);
  transform: translateY(-2px);
}
.login-code-error {
  color: #151f6d;
  background: #f4f5f9;
  border-left: 3px solid #a3e635;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
}
.login-code-error[hidden] {
  display: none;
}
.login-code-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.login-code-footer button {
  font: inherit;
  font-size: 11px;
  color: #151f6d;
  border: 0;
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
}
.login-code-footer button:disabled {
  opacity: 0.5;
  cursor: default;
}
.login-code-footer button:focus-visible {
  outline: 2px solid #a3e635;
  outline-offset: 4px;
}
.login {
  transition:
    opacity 0.32s,
    transform 0.32s;
}
.login.login-leaving {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
#app.panel-arriving {
  animation: ek-panel-arrive 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ek-panel-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 420px) {
  .login-code-digits {
    gap: 9px;
  }
  .login-code-digits input {
    height: 58px;
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .login,
  .login-track,
  .login-flow,
  .login-code-digits input {
    transition: none;
  }
  #app.panel-arriving {
    animation: none;
  }
}

.login-step > p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0 24px;
}
.login-side {
  min-width: 0;
  box-sizing: border-box;
}
.login-track {
  width: 100%;
}
.login-code-form,
.login-code-digits {
  min-width: 0;
}
.login-code-footer {
  flex-wrap: wrap;
}
