/* Custom scrollbar */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Focus states */
input:focus,
button:focus,
select:focus {
  outline: none;
}

/* Prevent FOUC */
html {
  visibility: visible;
  opacity: 1;
}

/* Custom checkbox styling */
input[type="checkbox"] {
  accent-color: #0D7C66;
}

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

/* Animation for hover effects */
@keyframes pulse-gentle {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.hover-pulse:hover {
  animation: pulse-gentle 0.5s ease-in-out;
}

/* Card hover lift effect */
.card-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Dark mode transitions */
.dark * {
  transition-property: background-color, border-color, color;
  transition-duration: 200ms;
}

/* Mobile touch feedback */
@media (hover: none) {
  button:active {
    transform: scale(0.98);
  }
}