/**
 * Botho Testnet Faucet - Custom Styles
 *
 * Most styling is handled by Tailwind CSS via CDN.
 * This file contains minimal custom styles for specific needs.
 */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0b0f;
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

/* Textarea placeholder color */
textarea::placeholder {
  color: #4b5563;
}

/* Focus ring styles */
textarea:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.3);
}

/* Button gradient animation on hover */
button:not(:disabled):hover {
  background-size: 150% 150%;
  animation: gradient-shift 2s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Code block styling */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .max-w-2xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
