.global-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: all;
}

.global-loading-overlay.is-active {
  display: flex;
}

body.global-loading-lock {
  overflow: hidden;
  touch-action: none;
}

.global-loading-card {
  width: min(92vw, 360px);
  padding: 1.8rem 1.5rem 1.55rem;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
  color: #0f172a;
  text-align: center;
}

.global-loading-moe-logo {
  display: block;
  width: auto;
  height: clamp(46px, 11vw, 64px);
  max-width: min(240px, 82%);
  margin: 0 auto 1.2rem;
  object-fit: contain;
}

.global-loading-talent-loader {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(108px, 27vw, 138px);
  aspect-ratio: 1;
  margin: 0 auto 1.05rem;
}

.global-loading-talent-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid rgba(93, 187, 150, 0.2);
  border-block-start-color: #46a982;
  border-inline-end-color: rgba(70, 169, 130, 0.78);
  border-radius: 999px;
  animation: global-loading-rotate 0.95s linear infinite;
}

.global-loading-talent-loader::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
}

.global-loading-talent-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.global-loading-title {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-height: 1.65rem;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.4;
  color: #1f2937;
}

.global-loading-dots {
  display: inline-flex;
  min-width: 1.2em;
  margin-inline-start: 0.1rem;
}

.global-loading-dots span {
  animation: global-loading-dot 1.15s ease-in-out infinite;
}

.global-loading-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.global-loading-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.global-loading-message {
  margin: 0.45rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.8;
}

@keyframes global-loading-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes global-loading-dot {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 575.98px) {
  .global-loading-card {
    width: min(94vw, 320px);
    padding: 1.55rem 1.15rem 1.35rem;
    border-radius: 16px;
  }

  .global-loading-message {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-loading-talent-loader::before,
  .global-loading-dots span {
    animation-duration: 1.8s;
  }
}

@media print {
  .global-loading-overlay {
    display: none !important;
  }

  body.global-loading-lock {
    overflow: visible;
    touch-action: auto;
  }
}
