/* Shared with bookfit-website so the browser handoff stays visually continuous. */
.auth-transition {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    radial-gradient(ellipse at 15% 85%, #e6edff 0, transparent 55%),
    radial-gradient(ellipse at 95% 100%, #fff0d9 0, transparent 45%), #f8faff;
  color: #17243c;
  font-family: Inter, Arial, sans-serif;
  box-sizing: border-box;
}
.auth-transition__card {
  box-sizing: border-box;
  width: min(100%, 440px);
  padding: 48px 32px;
  border: 1px solid #e5eaf5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px -24px #1650cf26;
  text-align: center;
}
.auth-transition__brand {
  color: #1650cf;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.auth-transition__brand span {
  color: #f4a118;
}
.auth-transition__eyebrow {
  margin: 12px 0 36px;
  color: #6b778e;
  font-size: 12px;
  line-height: 1.5;
}
.auth-transition h1 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 700;
}
.auth-transition p {
  margin: 0 auto;
  max-width: 300px;
  color: #6b778e;
  font-size: 14px;
  line-height: 1.7;
}
.auth-transition__progress {
  margin: 32px auto 0;
  width: 120px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #eaf0ff;
}
.auth-transition__progress span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: #1650cf;
  animation: auth-progress 1.5s ease-in-out infinite;
}
.auth-transition button,
.auth-transition a {
  display: inline-block;
  margin-top: 24px;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  background: #1650cf;
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.auth-transition button:focus-visible,
.auth-transition a:focus-visible {
  outline: 3px solid #f4a118;
  outline-offset: 4px;
}
@keyframes auth-progress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(325%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-transition__progress span {
    animation: none;
    width: 100%;
    opacity: 0.65;
  }
}
@media (max-width: 480px) {
  .auth-transition__card {
    padding: 40px 24px;
  }
}
