/* Loading Screen Styles */
/* Displayed while Flutter app initializes */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.loading-content {
  text-align: center;
  color: #2e7d32;
}

.loading-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
}

.loading-text {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  opacity: 0.9;
}

.loading-subtitle {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 40px;
}

.loading-bar-container {
  width: 200px;
  height: 4px;
  background-color: rgba(46, 125, 50, 0.2);
  border-radius: 2px;
  margin: 30px auto 0;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  border-radius: 2px;
  width: 0%;
  animation: loadingProgress 2s ease-out forwards;
}

@keyframes loadingProgress {
  0% {
    width: 0%;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 100%;
  }
}

.footer-links {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: rgba(46, 125, 50, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: rgba(46, 125, 50, 0.8);
}

.loaded #loading-screen {
  opacity: 0;
  pointer-events: none;
}
