/* Drawing Paper Grid Background */
body {
  background-color: #0B0F19;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  color: #F3F4F6;
}

.bg-dark-bg,
.bg-\[\#0B0F19\],
.bg-\[\#0F1422\] {
  background-color: transparent !important;
}

.mobile-menu-solid {
  background-color: #0B0F19 !important;
}

@keyframes menuDropItem {
  0% {
    opacity: 0;
    transform: translateY(-14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-menu-drop {
  animation: menuDropItem 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

select option {
  background-color: #111827 !important;
  color: #F3F4F6 !important;
}

/* WCAG 2.4.7 Focus Visible & Focus Not Obscured (WCAG 2.4.11) */
*:focus-visible {
  outline: 2px solid #38bdf8 !important;
  outline-offset: 3px !important;
}

/* WCAG 2.4.11 Focus Not Obscured & Anchor Target Margin for Fixed Header */
[id] {
  scroll-margin-top: 6rem; /* 96px ensures targets and focus never land underneath fixed nav */
}

/* Screen-reader utility for skip link and accessibility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

.focus\:not-sr-only:focus {
  position: fixed !important;
  top: 1rem !important;
  left: 1rem !important;
  width: auto !important;
  height: auto !important;
  padding: 0.75rem 1.25rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  z-index: 99999 !important;
  background-color: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5) !important;
}

