.application-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(18, 45, 56, .58);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity .25s ease;
}
.application-success-overlay.is-visible { opacity: 1; }
.application-success-card {
  width: min(430px, calc(100vw - 2rem));
  padding: 2.25rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  color: #17333e;
  text-align: center;
  box-shadow: 0 24px 70px rgba(13, 39, 49, .28);
  animation: application-success-pop .55s cubic-bezier(.2, .8, .2, 1) both;
}
.application-success-card strong { display: block; margin: .85rem 0 .45rem; font-size: 1.55rem; }
.application-success-card p { margin: 0 0 .65rem; color: #526975; line-height: 1.5; }
.application-success-card small { color: #267057; font-weight: 700; }
.application-success-check {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e5f4ed;
  color: #267057;
  font-size: 2.65rem;
  font-weight: 700;
  animation: application-success-ring 1.25s ease-out .15s both;
}
.registration-success-dialog[open] { animation: registration-success-enter .42s cubic-bezier(.2, .8, .2, 1) both; }
.registration-success-icon { animation: registration-success-bounce .65s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes application-success-pop {
  0% { opacity: 0; transform: translateY(22px) scale(.88); }
  70% { transform: translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: none; }
}
@keyframes application-success-ring {
  0% { transform: scale(.55); box-shadow: 0 0 0 0 rgba(38, 112, 87, .28); }
  55% { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(38, 112, 87, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(38, 112, 87, 0); }
}
@keyframes registration-success-enter {
  from { opacity: 0; transform: translateY(22px) scale(.94); }
  to { opacity: 1; transform: none; }
}
@keyframes registration-success-bounce {
  0% { opacity: 0; transform: scale(.35) rotate(-18deg); }
  65% { transform: scale(1.14) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .application-success-overlay,
  .application-success-card,
  .application-success-check,
  .registration-success-dialog[open],
  .registration-success-icon { animation: none !important; transition: none !important; }
}
