/* 직원 요약·5단계 맥락 배치도 — 모듈 다량 시 불러오는 중 안내 */

.staff-layout-map-busy {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.28) 0%,
    rgba(15, 23, 42, 0.42) 100%
  );
}

.staff-layout-map-busy[hidden] {
  display: none !important;
}

.staff-layout-map-busy__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: min(360px, 92%);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.35);
  color: #f8fafc;
}

.staff-layout-map-busy__spinner {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2.5px solid rgba(148, 163, 184, 0.45);
  border-top-color: #38bdf8;
  animation: staff-layout-map-busy-spin 0.7s linear infinite;
}

@keyframes staff-layout-map-busy-spin {
  to {
    transform: rotate(360deg);
  }
}

.staff-layout-map-busy__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.staff-layout-map-busy__title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.staff-layout-map-busy__detail {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.staff-rdash-map__stage,
.staff-page5-layout-map-wrap,
.staff-layout-map-wrap {
  position: relative;
}

.staff-rdash-map__stage.is-busy .staff-rdash-map__frame,
.staff-page5-layout-map-wrap.is-busy .staff-page5-layout-map-inner,
.staff-layout-map-wrap.is-busy .staff-layout-map-inner {
  /* 로딩 중에도 지도 밑그림은 보이게 */
  filter: saturate(0.92);
}
