#flutter-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: #000;
}

#flutter_host {
  width: 100%;
  height: 100%;
}

.loading-layout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loading-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    visibility: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.overlay {
    position: absolute;
    inset: 0;
}

.color-overlay {
    mix-blend-mode: overlay;
}

/* Default light mode overlay */
.overlay-bottom {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
}

.overlay-top {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

/* Dark mode overlay */
.dark-overlay-bottom {
    mix-blend-mode: overlay;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 1) 100%);
}

/* Dark mode overlay */
.dark-overlay-top {
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%); */
}

.loading-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}