/* Minimal CSS for GlobalLoader only - Optimized for performance */

/* Minimal base reset */

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html, body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Essential color variables */

:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
}

.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
}

/* Core layout utilities */

.fixed {
  position: fixed;
}

.inset-0 {
  inset: 0px;
}

.z-\[9999\] {
  z-index: 9999;
}

.overflow-hidden {
  overflow: hidden;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.h-screen {
  height: 100vh;
}

.w-full {
  width: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* Spacing utilities */

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.p-4 {
  padding: 1rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.75rem;
}

/* Responsive spacing */

@media (min-width: 640px) {
  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .lg\:p-8 {
    padding: 2rem;
  }

  .lg\:space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.5rem;
  }
}

/* Typography */

.font-heebo {
  font-family: 'Heebo', sans-serif;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Responsive typography */

@media (min-width: 640px) {
  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .lg\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .lg\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* Border radius */

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Responsive border radius */

@media (min-width: 640px) {
  .sm\:rounded-2xl {
    border-radius: 1rem;
  }
}

@media (min-width: 1024px) {
  .lg\:rounded-3xl {
    border-radius: 1.5rem;
  }
}

/* Shadow and blur effects */

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.backdrop-blur-lg {
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.border {
  border-width: 1px;
}

/* Sizing utilities */

.max-w-sm {
  max-width: 24rem;
}

.max-w-xs {
  max-width: 20rem;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.w-4 {
  width: 1rem;
}

.h-4 {
  height: 1rem;
}

.w-2 {
  width: 0.5rem;
}

.h-2 {
  height: 0.5rem;
}

.h-0\.5 {
  height: 0.125rem;
}

/* Responsive sizing */

@media (min-width: 640px) {
  .sm\:max-w-md {
    max-width: 28rem;
  }

  .sm\:max-w-sm {
    max-width: 24rem;
  }

  .sm\:w-12 {
    width: 3rem;
  }

  .sm\:w-10 {
    width: 2.5rem;
  }

  .sm\:h-10 {
    height: 2.5rem;
  }

  .sm\:w-8 {
    width: 2rem;
  }

  .sm\:h-8 {
    height: 2rem;
  }

  .sm\:w-4 {
    width: 1rem;
  }

  .sm\:h-4 {
    height: 1rem;
  }

  .sm\:h-1 {
    height: 0.25rem;
  }
}

@media (min-width: 1024px) {
  .lg\:max-w-lg {
    max-width: 32rem;
  }

  .lg\:max-w-md {
    max-width: 28rem;
  }

  .lg\:w-16 {
    width: 4rem;
  }

  .lg\:w-14 {
    width: 3.5rem;
  }

  .lg\:h-14 {
    height: 3.5rem;
  }

  .lg\:w-10 {
    width: 2.5rem;
  }

  .lg\:h-10 {
    height: 2.5rem;
  }

  .lg\:w-4 {
    width: 1rem;
  }

  .lg\:h-4 {
    height: 1rem;
  }

  .lg\:h-1\.5 {
    height: 0.375rem;
  }
}

/* Transform utilities */

.transform {
  transform: translate3d(var(--tw-translate-x, 0), var(--tw-translate-y, 0), 0) 
             rotate(var(--tw-rotate, 0)) 
             skewX(var(--tw-skew-x, 0)) 
             skewY(var(--tw-skew-y, 0)) 
             scaleX(var(--tw-scale-x, 1)) 
             scaleY(var(--tw-scale-y, 1));
}

/* Transitions */

.transition-all {
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
  transition-property: transform;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Scale utilities */

.scale-100 {
  --tw-scale-x: 1;
  --tw-scale-y: 1;
}

.scale-95 {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
}

/* Animations with hardware acceleration */

.animate-spin {
  animation: spin 1s linear infinite;
  will-change: transform;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: opacity;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

/* Border utilities */

.border-2 {
  border-width: 2px;
}

.border-t-transparent {
  border-top-color: transparent;
}

.border-b-transparent {
  border-bottom-color: transparent;
}

/* Responsive borders */

@media (min-width: 640px) {
  .sm\:border-3 {
    border-width: 3px;
  }
}

@media (min-width: 1024px) {
  .lg\:border-4 {
    border-width: 4px;
  }
}

/* Inset utilities */

.inset-0\.5 {
  inset: 0.125rem;
}

.inset-2 {
  inset: 0.5rem;
}

@media (min-width: 640px) {
  .sm\:inset-1 {
    inset: 0.25rem;
  }

  .sm\:inset-3 {
    inset: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .lg\:inset-2 {
    inset: 0.5rem;
  }

  .lg\:inset-5 {
    inset: 1.25rem;
  }
}

/* Color utilities */

.bg-navy-dark {
  background-color: #0F172A;
}

.bg-\[#E6F0FB\] {
  background-color: #E6F0FB;
}

.text-white {
  color: rgb(255 255 255);
}

.text-navy-dark {
  color: #0F172A;
}

.text-gray-200 {
  color: rgb(229 231 235);
}

.text-gray-700 {
  color: rgb(55 65 81);
}

.drop-shadow-lg {
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

.drop-shadow-md {
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

/* Gradient utilities */

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Opacity and pointer events */

.opacity-100 {
  opacity: 1;
}

.opacity-0 {
  opacity: 0;
}

.pointer-events-auto {
  pointer-events: auto;
}

.pointer-events-none {
  pointer-events: none;
}

/* 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;
}