.auth-card {
  backdrop-filter: blur(16px);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.animate-toast-in {
  animation: toast-in 180ms ease-out;
}

.otp-slot {
  width: min(56px, calc((100% - 15px) / 6));
  min-width: 46px;
  height: 56px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.otp-slot:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 2px;
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.auth-user-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.auth-user-button:hover,
.auth-user-button:focus-visible {
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

.auth-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #f97316);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
}

.auth-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(92vw, 320px);
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.auth-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.auth-menu-item:hover,
.auth-menu-item:focus-visible {
  background: #eff6ff;
  transform: translateY(-1px);
}

@media (max-width: 639px) {
  .otp-slot {
    min-width: 44px;
    height: 52px;
    font-size: 1.25rem;
  }
}
