/* Styles specific to Turbo Native apps */

body.hotwired-native {
  /* Remove any fixed web elements that might not be needed in native */
  padding-top: 0 !important;
}

/* Fix form inputs in native context */
.hotwired-native input:focus,
.hotwired-native textarea:focus,
.hotwired-native select:focus {
  /* Prevent iOS zooming on input focus */
  font-size: 16px;
}

/* Native-specific spacing */
.hotwired-native .native-content {
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-top: env(safe-area-inset-top, 0);
}

/* Hide web-specific elements */
.hotwired-native .web-only {
  display: none !important;
}

/* Show native-specific elements */
.native-only {
  display: none;
}

.hotwired-native .native-only {
  display: block;
}

.hotwired-native inline.native-only {
  display: inline;
}
