/* Custom styles for Berry Connection Hub */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rounded-font {
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Smooth transitions for all interactive elements */
button, .hover\:shadow-md, .hover\:shadow-lg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom gradient backgrounds */
.bg-gradient-to-br {
  background: linear-gradient(135deg, #fed7aa 0%, #fce7f3 100%);
}

.bg-gradient-to-r {
  background: linear-gradient(90deg, #fb923c 0%, #f472b6 100%);
}

/* Smooth scroll for horizontal carousels */
.overflow-x-auto {
  scrollbar-width: thin;
  scrollbar-color: #fb923c transparent;
}

.overflow-x-auto::-webkit-scrollbar {
  height: 4px;
}

.overflow-x-auto::-webkit-scrollbar-track {
  background: transparent;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
  background-color: #fb923c;
  border-radius: 2px;
}

/* Custom hover effects */
.hover\:from-orange-500:hover {
  background-image: linear-gradient(90deg, #ea580c, #ec4899);
}

/* Animate pulse for status indicator */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Focus states for accessibility */
input:focus, select:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.5);
}

/* Card hover effects */
.hover\:shadow-md:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* Responsive typography */
@media (max-width: 768px) {
  .text-4xl {
    font-size: 2rem;
  }
  
  .text-3xl {
    font-size: 1.5rem;
  }
  
  .text-2xl {
    font-size: 1.25rem;
  }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

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

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