/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateX(-10px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

.animate-fade-in {
  animation: fade-in 0.2s ease-out;
}

/* Native App Styles */
/* Hide elements not needed in native app */
.turbo-native-app .desktop-only,
.turbo-native-app .web-footer,
.turbo-native-app .app-download-banner {
  display: none !important;
}

/* Safe area adjustments for notched devices */
.turbo-native-app {
  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);
}

/* Android-specific adjustments */
.turbo-native-android {
  /* Android status bar area */
  padding-top: 0;
}

/* iOS-specific adjustments */
.turbo-native-ios {
  /* iOS safe areas are handled by env() */
}
