/* SATH CRM v17.8.61 — login motion package. Load LAST.
   Respects prefers-reduced-motion. Does not change form handlers. */
@keyframes s61BackdropTravel {
  from {background-position:48% 50%}
  to {background-position:52% 50%}
}
@keyframes s61CardGlow {
  0%,100% {box-shadow:0 15px 35px rgba(0,10,26,.25),0 0 0 1px rgba(239,209,153,.03)}
  50% {box-shadow:0 18px 43px rgba(0,10,26,.29),0 0 22px rgba(132,188,206,.095)}
}
@keyframes s61CardLightSweep {
  0% {transform:translateX(-125%) skewX(-15deg);opacity:0}
  10% {opacity:.07}
  50% {opacity:.14}
  90% {opacity:.07}
  100% {transform:translateX(125%) skewX(-15deg);opacity:0}
}
@keyframes s61ButtonSatin {
  0%,100% {box-shadow:0 4px 14px rgba(0,135,151,.15);filter:brightness(1)}
  50% {box-shadow:0 6px 20px rgba(0,135,151,.24);filter:brightness(1.045)}
}
@keyframes s61ButtonSweep {
  from {transform:translateX(-180%) skewX(-20deg)}
  to {transform:translateX(480%) skewX(-20deg)}
}
@keyframes s61Entrance {
  from {opacity:0;transform:translateY(11px)}
  to {opacity:1;transform:translateY(0)}
}
@keyframes s61Halo {
  0%,100% {opacity:.35;transform:scale(.98)}
  50% {opacity:.65;transform:scale(1.02)}
}
/* Fullscreen city image shifts smoothly; retain original photographic background. */
html body .login-screen {
  background-size:cover!important;
  animation:s61BackdropTravel 36s linear infinite alternate!important;
}
/* Preserve reference geometry. Soft continuous moving panel highlight. */
html body #login .login-card {
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  animation:s61Entrance .55s ease-out both,s61CardGlow 7s ease-in-out .55s infinite!important;
}
html body #login .login-card::before {
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  top:-15%;left:-85%;width:145%;height:130%;
  background:linear-gradient(90deg,transparent 28%,rgba(205,229,242,.045) 46%,rgba(226,239,247,.08) 50%,rgba(205,229,242,.045) 54%,transparent 72%)!important;
  pointer-events:none!important;
  animation:s61CardLightSweep 12s linear infinite!important;
}
html body #login .login-card > * {position:relative;z-index:1}
/* Keep exact logo design; the existing v17.8.60 light pass is linear and continuous. */
html body #login .sath-logo-motion {filter:drop-shadow(0 0 0 rgba(235,201,136,0))}
html body #login .sath-logo-glint {
  animation:sathLogoSweep60 3.8s linear infinite!important;
  will-change:clip-path;
}
/* Inputs: softly light on pointer hover, teal focus, no displacement of layout. */
html body #login .login-card input {
  transition:border-color .22s linear,background-color .22s linear,box-shadow .22s linear!important;
}
html body #login .login-card input:hover {
  border-color:rgba(172,211,228,.56)!important;
  background-color:rgba(235,245,255,.13)!important;
}
html body #login .login-card input:focus {
  background-color:rgba(235,245,255,.15)!important;
  box-shadow:0 0 0 3px rgba(22,164,170,.19),0 0 14px rgba(21,155,158,.10)!important;
}
/* Button pulse and bright stripe with constant speed. */
html body #login .login-card button.primary {
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
  cursor:pointer;
  animation:s61ButtonSatin 5s ease-in-out infinite!important;
  transition:transform .18s ease,background-color .18s ease!important;
}
html body #login .login-card button.primary::before {
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0;top:-30%;width:32%;height:160%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent)!important;
  pointer-events:none!important;
  z-index:1;
  animation:s61ButtonSweep 5.2s linear infinite!important;
}
html body #login .login-card button.primary:hover:not(:disabled) {transform:translateY(-2px)!important;background:#16a8aa!important}
html body #login .login-card button.primary:active:not(:disabled) {transform:translateY(1px) scale(.99)!important}
/* A fine glow when keyboard focus moves between controls. */
html body #login .login-card :focus-visible {outline:2px solid rgba(223,188,112,.85);outline-offset:2px}
/* Prevent pseudo overlays from eating clicks. */
html body #login .login-card::before,html body #login .login-card button.primary::before {pointer-events:none!important}
@media(max-width:720px) {
  html body .login-screen {animation:none!important}
  html body #login .login-card::before {animation:none!important;opacity:0}
}
@media(prefers-reduced-motion:reduce) {
  html body .login-screen,html body #login .login-card,
  html body #login .login-card::before,html body #login .login-card button.primary,
  html body #login .login-card button.primary::before,html body #login .sath-logo-glint {animation:none!important}
  html body #login .sath-logo-glint,html body #login .login-card button.primary::before {opacity:0!important}
}
