/* Custom styles */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Cairo', 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #6b46c1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #805ad5;
}

/* Loading animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Slide in animation for toasts */
@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slide-in 0.3s ease-out;
  transition: all 0.3s ease-out;
}

/* Card hover effect */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(to right, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulse animation for whale activity */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

/* Timeframe button active state */
.tf-btn.active {
  background: linear-gradient(to right, #9333ea, #6b46c1);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
}

.tf-btn:hover {
  transform: scale(1.05);
}

/* Toast notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  min-width: 300px;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Badge animations */
@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.badge-pulse {
  animation: badge-pulse 2s infinite;
}

/* Glow effect for strong signals */
.signal-strong {
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.3);
}

.signal-whale {
  box-shadow: 0 0 30px rgba(255, 217, 0, 0.3);
}

/* RTL Support */
[dir="rtl"] .space-x-2 > * + * {
  margin-left: 0;
  margin-right: 0.5rem;
}

[dir="rtl"] .space-x-3 > * + * {
  margin-left: 0;
  margin-right: 0.75rem;
}

[dir="rtl"] .space-x-4 > * + * {
  margin-left: 0;
  margin-right: 1rem;
}

/* Smooth transitions */
.transition-all {
  transition: all 0.3s ease;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .tf-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}

