/* Custom styles that complement Tailwind */

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: #c985d9;
  color: #260c2f;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f7f0fb;
}
::-webkit-scrollbar-thumb {
  background: #c985d9;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9638a8;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 3px solid #ff8f00;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .float-card {
    display: none;
  }
}
