/* Lunexa - Custom Styles */

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

:root {
  --brand: #4F46E5;
  --brand-hover: #4338CA;
  --accent: #10B981;
  --accent-hover: #059669;
  --rating: #F59E0B;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F8FAFC;
  color: #1E293B;
  overflow-x: hidden;
}

.dark body {
  background-color: #0B0F19;
  color: #F1F5F9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.6);
}

/* Whiteboard Canvas */
#whiteboard-canvas {
  touch-action: none;
  cursor: crosshair;
}

/* Fade Up Keyframe Animation */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Global Ultra-Smooth Button & Interactive Elements Hover Animations */
button, 
a.btn, 
.button-hover-effect {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.2s ease, 
              border-color 0.2s ease, 
              color 0.2s ease !important;
  will-change: transform, box-shadow;
}

button:hover, 
a.btn:hover {
  transform: translateY(-2px);
}

button:active, 
a.btn:active {
  transform: translateY(0px) scale(0.97);
}