/* Loading Component Styles */

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.loading-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 999;
  min-height: 100vh;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-message {
  margin: 0;
  color: #666;
  font-size: 1rem;
}

/* Spinner Variant */
.spinner {
  position: relative;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-small .spinner-ring {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

.loading-large .spinner-ring {
  width: 56px;
  height: 56px;
  border-width: 6px;
}

/* Dots Variant */
.dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
  animation: dot-bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) {
  animation-delay: -0.32s;
}

.dot:nth-child(2) {
  animation-delay: -0.16s;
}

.loading-small .dot {
  width: 6px;
  height: 6px;
}

.loading-large .dot {
  width: 12px;
  height: 12px;
}

/* Pulse Variant */
.pulse {
  position: relative;
}

.pulse-circle {
  width: 40px;
  height: 40px;
  background: #667eea;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-small .pulse-circle {
  width: 24px;
  height: 24px;
}

.loading-large .pulse-circle {
  width: 56px;
  height: 56px;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dot-bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Size variants */
.loading-small .loading-message {
  font-size: 0.875rem;
}

.loading-large .loading-message {
  font-size: 1.125rem;
}

/* Responsive */
