/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Smooth page transitions */
.page { animation: fadeIn 0.4s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav link active state */
.nav-link.active { color: #22c55e !important; }
.nav-link { color: #9ca3af; }

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(10, 10, 10, 0.9) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Class card hover */
.class-card:hover .class-card-overlay {
  opacity: 1;
}

.class-card:hover .class-card-img {
  transform: scale(1.05);
}

/* Category badge colors */
.badge-strength { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.badge-cardio { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.badge-yoga { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.badge-hiit { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.badge-boxing { background: rgba(234, 179, 8, 0.1); color: #eab308; }

/* Admin table hover */
.admin-row:hover { background: rgba(255, 255, 255, 0.02); }

/* Modal animations */
.modal-enter { animation: modalIn 0.25s ease-out; }
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Pulse animation for stats */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 20px 5px rgba(34, 197, 94, 0.1); }
}

/* Toast animation */
.toast-enter { animation: toastIn 0.3s ease-out; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile menu animation */
#mobile-menu { 
  transition: all 0.3s ease; 
}

/* Button focus states */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: rgba(34, 197, 94, 0.3);
  color: white;
}

/* Star fill override for Lucide */
.fill-primary { fill: #22c55e; }