/* Navy Log In Without Credentials button.
   This file exists because Site.css is cached for 7 days and Azure Front Door can ignore
   the ?v= query string. A new stylesheet has no cached copy, so the button fill ships
   with the page even while the old Site.css is still being served.
   White on #182246 is about 15.5:1. Hover inverts to navy text on white, also about 15.5:1.
   The keyboard ring is #182246 on the white card. */
#loginWithoutCredentials.btn {
  background-color: #182246;
  background-image: none;
  color: #fff;
  border-color: #182246;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(24, 34, 70, 0.2), 0 1px 2px rgba(24, 34, 70, 0.1);
}

#loginWithoutCredentials.btn:hover,
#loginWithoutCredentials.btn:focus {
  background-color: #fff;
  background-image: none;
  color: #182246;
  border-color: #182246;
  box-shadow: 0 4px 8px rgba(24, 34, 70, 0.3), 0 2px 4px rgba(24, 34, 70, 0.2);
  transform: translateY(-1px);
}

#loginWithoutCredentials.btn:focus-visible {
  background-color: #fff;
  background-image: none;
  color: #182246;
  border-color: #182246;
  outline: 0;
  box-shadow: 0 0 0 0.25rem #182246, 0 4px 8px rgba(24, 34, 70, 0.3);
  transform: translateY(-1px);
}

#loginWithoutCredentials.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
  opacity: 0;
  pointer-events: none;
}

#loginWithoutCredentials.btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
  transition: width 0.3s ease-out, height 0.3s ease-out, opacity 0.3s ease-out;
}

#loginWithoutCredentials.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(24, 34, 70, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

#loginWithoutCredentials.btn:hover::before,
#loginWithoutCredentials.btn:focus::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  animation: ripple-hover 0.6s ease-out;
  pointer-events: none;
}

@media (max-width: 768px) {
  #loginWithoutCredentials.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #loginWithoutCredentials.btn:active {
    transform: scale(0.98);
  }

  #loginWithoutCredentials.btn:active::after {
    width: 400px;
    height: 400px;
  }
}

@media screen and (prefers-reduced-motion: reduce) {
  #loginWithoutCredentials.btn,
  #loginWithoutCredentials.btn::after,
  #loginWithoutCredentials.btn:active::after {
    transition: none;
  }

  #loginWithoutCredentials.btn:hover::before,
  #loginWithoutCredentials.btn:focus::before {
    animation: none;
  }
}
