@import "tailwindcss";

@layer base {
  :root {
    --color-primary: #0284c7;
    --color-primary-dark: #0369a1;
    --color-primary-light: #e0f2fe;
    --color-accent: #38bdf8;
    --bg-main: #f8fafc;
  }

  body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Dynamic Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 245, 249, 1);
}

.blue-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #1d4ed8 100%);
}

.blue-gradient-subtle {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

/* Animation Utilities */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s infinite ease-in-out;
}

/* PWA Bottom Navigation Safe Area */
.pb-safe-bottom {
  padding-bottom: env(safe-area-inset-bottom, 16px);
}
