/* Premium Tech Theme Utilities */
:root {
  --primary-glow: #3b82f6;
  --purple-glow: #8b5cf6;
  --dark-bg: #020617;
  --card-bg: rgba(15, 23, 42, 0.6);
  --border-glass: rgba(255, 255, 255, 0.05);
}

body {
  background-color: var(--dark-bg);
  color: #94a3b8;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Global Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}

/* Reveal on Scroll classes used in HomeView */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  will-change: transform, opacity;
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Inputs for dark theme */
.form-control {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--primary-glow) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

/* Buttons with Glow */
.btn-primary-glow {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  border: none;
  transition: all 0.3s;
}

.btn-primary-glow:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
  color: white;
}

/* Background Animated Gradient Mesh */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.mesh-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: meshFlow 20s infinite alternate;
}

.c1 {
  width: 500px;
  height: 500px;
  background: #3b82f6;
  top: -10%;
  left: -10%;
}
.c2 {
  width: 400px;
  height: 400px;
  background: #8b5cf6;
  bottom: -5%;
  right: -5%;
  animation-delay: -5s;
}
.c3 {
  width: 300px;
  height: 300px;
  background: #14b8a6;
  top: 40%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes meshFlow {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(100px, 50px) scale(1.2);
  }
}

/* Admin Dashboard Specific Enhancements */
.sidebar {
  background: rgba(15, 23, 42, 0.98) !important;
}

.modern-table td {
  padding: 1.25rem 1rem;
  background: transparent !important;
}

.modern-table tr:hover td {
  background: rgba(255, 255, 255, 0.02) !important;
}
