/* NESTLINK_GLOBAL_LOADING_OVERLAY_V1 */
.global-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.global-loading-overlay[hidden] {
  display: none !important;
}

.global-loading-card {
  width: min(280px, calc(100vw - 40px));
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 24px 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
  box-sizing: border-box;
  text-align: center;
}

.global-loading-spinner {
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border: 4px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: nestlink-global-loading-spin 0.8s linear infinite;
}

.global-loading-card strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
}

.global-loading-guide {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

body.global-loading-active {
  cursor: progress;
}

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

@media (prefers-reduced-motion: reduce) {
  .global-loading-spinner {
    animation-duration: 1.6s;
  }
}
