/* GymSarthi — Custom Styles & Aesthetics */

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

:root {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --bg-dark: #090D16;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-cyan: #06B6D4;
  --accent-rose: #F43F5E;
  --accent-amber: #F59E0B;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: #F9FAFB;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 40px 0 rgba(16, 185, 129, 0.15);
}

/* Neon Glow Accents */
.emerald-glow {
  box-shadow: 0 0 20px var(--accent-emerald-glow);
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-amber {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Alert Pulse */
@keyframes alertPulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.pulse-alert {
  animation: alertPulse 2s infinite;
}

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

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(55, 65, 81, 0.8);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #10B981;
}

/* QR Code Scanner Overlay */
#qr-reader video {
  border-radius: 1rem !important;
  object-fit: cover !important;
  width: 100% !important;
}

#qr-reader {
  border: none !important;
}

/* Toast Animations */
.toast-enter {
  animation: toastIn 0.3s ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
