/* Loader overlay container */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
  font-weight: bold;
  font-family: 'Noto Sans', sans-serif;
}

/* Progress bar container */
#progressBarContainer {
  width: 70%;
  max-width: 500px;
  height: 20px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-top: 15px;
}

/* Progress bar fill */
#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C121C8, #0266FC);
  border-radius: 10px;
  transition: width 0.2s ease-in-out;
}

/* Loading label */
#loading {
  font-size: 16px;
  color: #0266FC;
  margin-top: 10px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  font-family: 'Noto Sans', sans-serif;
  font-weight: bold;
}

/* Centered logo container */
#logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* Logo styling */
#logo {
  width: 100px;
  height: auto;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

#logo {
  animation: bounce 1.5s ease-in-out infinite;
}

/* Fade-out class for loader */
.fade-out {
  opacity: 0 !important;
}

/* Flutter view initially hidden */
flutter-view {
  display: block;
  width: 100%;
  height: 100%;
}