/* You can add global styles to this file, and also import other style files */

/* Fix bottom tab bar items to be vertical (icon on top, text below) on web */

/* React Navigation uses data-testid and specific class names */

button[data-testid*="tab-bar-button"],
button[class*="tabBarButton"],
[role="button"][class*="tabBar"] {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Ensure the inner container also uses column layout */

button[data-testid*="tab-bar-button"] > *,
button[class*="tabBarButton"] > *,
[role="button"][class*="tabBar"] > * {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

