
/* Custom Font Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Bebas+Neue&family=Space+Mono&display=swap');

:root {
  --safety-orange: #FF6700;
  --safety-yellow: #FFD700;
  --asphalt-dark: #0F172A;
  --asphalt-light: #1E293B;
}

/* Glassmorphism Refinement */
.glass {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Safety Stripe Pattern */
.safety-stripes {
  background: repeating-linear-gradient(
    45deg,
    var(--safety-orange),
    var(--safety-orange) 20px,
    #000 20px,
    #000 40px
  );
  opacity: 0.15;
}

.safety-stripes-yellow {
  background: repeating-linear-gradient(
    45deg,
    var(--safety-yellow),
    var(--safety-yellow) 10px,
    transparent 10px,
    transparent 20px
  );
}

/* Grainy Texture Overlay */
.grain-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

::-webkit-scrollbar-track {
  background: var(--asphalt-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--safety-orange);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ea580c;
}

/* Smooth Transitions */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dashboard Animations */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.scanline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 103, 0, 0.1);
  animation: scanline 4s linear infinite;
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
  background-color: #f8fafc;
}
