/* Login/register refinement: preserve the established split layout, add a more intentional finish. */
.auth-page:not(.auth-page-carryover) {
  background:
    radial-gradient(ellipse at 5% 5%, rgba(116, 205, 174, .20), transparent 29%),
    radial-gradient(ellipse at 96% 95%, rgba(71, 150, 133, .13), transparent 31%),
    #eef3f1;
}
.auth-page:not(.auth-page-carryover) .auth-wrapper {
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  box-shadow: 0 28px 86px rgba(20, 47, 43, .16), 0 3px 12px rgba(20,47,43,.035);
  transform: translateY(0);
  transition: box-shadow .22s ease, transform .22s ease;
}
.auth-page:not(.auth-page-carryover) .auth-wrapper:hover {
  box-shadow: 0 32px 96px rgba(20,47,43,.18), 0 4px 14px rgba(20,47,43,.045);
}
.auth-page:not(.auth-page-carryover) .auth-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(110, 231, 183, .23), transparent 29%),
    radial-gradient(circle at 20% 95%, rgba(50, 166, 136, .17), transparent 38%),
    linear-gradient(148deg, #0f292e 0%, #143c3a 46%, #17624e 100%);
}
.auth-page:not(.auth-page-carryover) .auth-hero::after {
  content: "✦";
  position: absolute;
  z-index: -1;
  right: 13%;
  top: 19%;
  color: rgba(190, 248, 222, .30);
  font-size: 28px;
  text-shadow: 0 0 32px rgba(114, 231, 183, .25);
  animation: pace-auth-star-drift 7s ease-in-out infinite;
  pointer-events: none;
}
.auth-page:not(.auth-page-carryover) .auth-hero-feature {
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.auth-page:not(.auth-page-carryover) .auth-hero-feature:hover {
  transform: translateX(3px);
  border-color: rgba(142,224,184,.25);
  background: rgba(255,255,255,.085);
}
.auth-page:not(.auth-page-carryover) .auth-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 75%, #fcfefd 100%);
}
.auth-page:not(.auth-page-carryover) .auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #70d6a9, #2d9d7b 52%, #b3ecd3);
}
.auth-page:not(.auth-page-carryover) .auth-logo-mark {
  filter: drop-shadow(0 4px 9px rgba(28,116,91,.12));
}
.auth-page:not(.auth-page-carryover) .auth-submit {
  position: relative;
  overflow: hidden;
  box-shadow: 0 9px 20px rgba(18,116,93,.19), inset 0 1px 0 rgba(255,255,255,.12);
}
.auth-page:not(.auth-page-carryover) .auth-submit::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 34%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: left .45s ease;
  pointer-events: none;
}
.auth-page:not(.auth-page-carryover) .auth-submit:hover::after { left: 120%; }
.auth-page:not(.auth-page-carryover) .auth-form .form-group input {
  box-shadow: inset 0 1px 2px rgba(17,50,41,.025);
}
.auth-page:not(.auth-page-carryover) .auth-form .form-group input:focus {
  border-color: #4fb18b;
  box-shadow: 0 0 0 4px rgba(53,166,122,.11), 0 2px 7px rgba(18,116,93,.045);
}
.auth-page:not(.auth-page-carryover) .auth-internal-notice {
  background: linear-gradient(110deg, #f7fbf8, #f4faf7);
}
@keyframes pace-auth-star-drift {
  0%, 100% { transform: translate3d(0,0,0) rotate(0); opacity: .72; }
  50% { transform: translate3d(-5px,-8px,0) rotate(18deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page:not(.auth-page-carryover) .auth-hero::after { animation: none; }
  .auth-page:not(.auth-page-carryover) .auth-wrapper,
  .auth-page:not(.auth-page-carryover) .auth-hero-feature { transition: none; }
}


/* Subtle forgot-password link: matches the login form instead of looking like a separate CTA. */
.auth-forgot-password-link{display:flex;justify-content:flex-end;margin:-2px 0 14px;font-size:12px;font-weight:650;line-height:1.4}
.auth-forgot-password-link a{color:var(--auth-muted,#667085);text-decoration:none;text-underline-offset:3px;transition:color .16s ease,text-decoration-color .16s ease}
.auth-forgot-password-link a:hover,.auth-forgot-password-link a:focus-visible{color:var(--auth-primary,#356b63);text-decoration:underline}
.auth-forgot-password-link a:focus-visible{outline:2px solid color-mix(in srgb,var(--auth-primary,#356b63) 35%,transparent);outline-offset:3px;border-radius:3px}
