/* =========================================================
   LOADING OVERLAY
========================================================= */

.loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 300px;
}

.loading-spinner-wrap {
  position: relative;
  width: 52px;
  height: 74px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.loading-spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
  animation: loading-bounce 0.9s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.loading-spinner-shadow {
  position: absolute;
  bottom: 0;
  width: 34px;
  height: 8px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.18);
  animation: loading-shadow 0.9s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes loading-bounce {
  0%,
  100% {
    transform: scale(1, 1) translateY(0);
  }
  20% {
    transform: scale(1.15, 0.8) translateY(0);
  }
  45% {
    transform: scale(0.85, 1.2) translateY(-22px);
  }
  65% {
    transform: scale(1.08, 0.92) translateY(0);
  }
  80% {
    transform: scale(0.96, 1.04) translateY(-6px);
  }
}

@keyframes loading-shadow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  45% {
    transform: scale(0.55);
    opacity: 0.35;
  }
  65% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

.loading-message {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
  min-height: 22px;
  animation: loading-fade 0.3s ease;
}

@keyframes loading-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

@media (max-width: 768px) {
  .loading-overlay {
    padding: 60px 16px;
    min-height: 220px;
  }
}
