/* Responsive Utilities for React Native Web */

/* Base reset */
* {
  box-sizing: border-box;
}

html, body, #root {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #000c24 0%, #00194c 50%, #002673 100%);
  background-attachment: fixed;
}

/* Mobile-first responsive breakpoints */
@media (max-width: 480px) {
  /* Mobile styles */
  body {
    font-size: 14px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  /* Tablet styles */
  body {
    font-size: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Laptop styles */
  body {
    font-size: 16px;
  }
}

@media (min-width: 1025px) {
  /* Desktop styles */
  body {
    font-size: 16px;
  }
}

/* Modern Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
  background-clip: padding-box;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Prevent text selection on buttons */
button, [role="button"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Smooth transitions - only for non-transform properties */
button, a, [role="button"], .card {
  transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 768px) {
  button, a, [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/* Ensure responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}
