/* Native app-specific styles (loaded only when hotwire_native_app?) */

/* Safe area insets for notched devices */
body {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Utility classes for native visibility */
.d-hotwire-native-none {
  display: none !important;
}

.d-hotwire-native-block {
  display: block !important;
}

/* Hide bridge button elements rendered by Hotwire Native */
[data-bridge-component~="button"]
[data-bridge-controller~="button-controller"] {
  display: none !important;
}

/* Extra bottom padding for tab bar clearance */
main#main-content {
  padding-bottom: calc(env(safe-area-inset-bottom) + 5rem);
}
