.futuristic-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  padding: 24px;
  position: relative;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.futuristic-loader .fl-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #60a5fa;
  border-right-color: #2563eb;
  border-bottom-color: #1d4ed8;
  animation: fl-spin 0.8s linear infinite;
  position: relative;
  box-shadow:
    0 0 15px rgba(37, 99, 235, 0.3),
    0 0 30px rgba(37, 99, 235, 0.1);
  z-index: 2;
}

.futuristic-loader .fl-ring::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #38bdf8;
  border-left-color: #93c5fd;
  animation: fl-spin 1.2s linear infinite reverse;
}

.futuristic-loader .fl-ring::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: #2563eb;
  border-right-color: #60a5fa;
  animation: fl-spin 0.6s linear infinite;
}

.futuristic-loader .fl-core {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow:
    0 0 20px rgba(37, 99, 235, 0.5),
    0 0 60px rgba(37, 99, 235, 0.2);
  animation: fl-pulse 1.5s ease-in-out infinite;
  z-index: 2;
}

.futuristic-loader.small {
  min-height: 40px;
  padding: 10px;
  border-radius: 10px;
}

.futuristic-loader.small .fl-ring {
  width: 24px;
  height: 24px;
  border-width: 2px;
  box-shadow:
    0 0 8px rgba(37, 99, 235, 0.3),
    0 0 16px rgba(37, 99, 235, 0.1);
}

.futuristic-loader.small .fl-ring::before {
  inset: 2px;
  border-width: 1.5px;
}

.futuristic-loader.small .fl-ring::after {
  inset: 6px;
  border-width: 1.5px;
}

.futuristic-loader.small .fl-core {
  width: 6px;
  height: 6px;
  box-shadow:
    0 0 10px rgba(37, 99, 235, 0.5),
    0 0 30px rgba(37, 99, 235, 0.2);
}

@keyframes fl-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fl-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}
