/* Loading container */
.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: #0a0a0a;
  color: #fff;
}

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

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-content p {
  font-size: 18px;
  font-weight: 500;
  color: #a0a0a0;
  margin: 0;
}

/* Error container */
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: #0a0a0a;
  color: #fff;
}

.error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 500px;
  padding: 40px;
  text-align: center;
}

.error-icon {
  font-size: 64px;
  margin-bottom: 8px;
}

.error-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.error-content p {
  font-size: 16px;
  color: #a0a0a0;
  margin: 0;
  line-height: 1.5;
}

.retry-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms ease, transform 100ms ease;
  margin-top: 8px;
}

.retry-button:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.retry-button:active {
  transform: translateY(0);
}

/* Responsive: Mobile */
@media (max-width: 480px) {
  .loading-content p {
    font-size: 16px;
  }

  .loading-spinner {
    width: 40px;
    height: 40px;
  }

  .error-content {
    padding: 24px;
  }

  .error-icon {
    font-size: 48px;
  }

  .error-content h2 {
    font-size: 20px;
  }

  .error-content p {
    font-size: 14px;
  }

  .retry-button {
    padding: 10px 24px;
    font-size: 15px;
  }
}
