/**
 * Flutter Page Transitions
 * Provides smooth transitions between Flutter app pages
 */

/* Initial state for pages - applied by JavaScript when route changes occur */
.page-transition-start {
  opacity: 0;
  transform: translateY(10px);
}

/* Transition to this state for smooth appearance */
.page-transition-end {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Transition for Flutter's main content container */
flt-glass-pane {
  transition: opacity 0.3s ease-out;
}

/* Styles applied to the first page after splash screen */
.first-page-transition {
  animation: fadeInScale 0.5s ease-out forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Styles for page navigation - these will be applied by the JS helper */
.page-enter {
  animation: slideInRight 0.3s forwards;
}

.page-exit {
  animation: fadeOut 0.2s forwards;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
} 