/* BlockTag Design System */
:root {
  --bt-red-primary: #D32F2F;
  --bt-red-dark: #B71C1C;
  --bt-red-light: #EF5350;
  --bt-red-glow: rgba(211, 47, 47, 0.3);
  --bt-glass-light: rgba(255, 255, 255, 0.7);
  --bt-glass-dark: rgba(18, 18, 24, 0.8);
  --bt-glass-border-light: rgba(0, 0, 0, 0.06);
  --bt-glass-border-dark: rgba(255, 255, 255, 0.06);
  --bt-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0d0d14;
  }
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Global smooth transitions for interactive elements */
a, button, input, select, textarea,
[role="button"], [tabindex] {
  transition: all var(--bt-transition);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--bt-red-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(211, 47, 47, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(211, 47, 47, 0.5);
}

/* Selection color */
::selection {
  background: rgba(211, 47, 47, 0.2);
  color: inherit;
}
