body.page-loading {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.splash-screen {
  display: none;
}

.page-loading .splash-screen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 999999 !important;
  width: 100% !important;
  height: 100dvh !important; /* Dynamic viewport height for mobile */
  height: 100vh !important; /* Fallback for older browsers */
  min-height: -webkit-fill-available !important; /* iOS Safari fix */
  min-height: 100vh !important; /* Fallback */
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, "sans-serif";
  background-color: #000 !important;
  color: #5e6278;
  line-height: 1;
  font-size: 14px;
  font-weight: 400;
  overflow: hidden !important;
}

/* Video styling for login animation */
.page-loading .splash-screen #login-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 1;
}

/* Mobile specific fixes */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari */
  .page-loading .splash-screen {
    height: -webkit-fill-available !important;
  }
}

@media (max-width: 768px) {
  .page-loading .splash-screen {
    height: 100dvh !important;
    height: 100vh !important; /* Fallback */
    min-height: -webkit-fill-available !important;
    min-height: 100vh !important; /* Fallback */
  }
  
  .page-loading .splash-screen #login-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

.page-loading .splash-screen span {
  color: #5e6278;
  transition: none !important;
  -webkit-font-smoothing: antialiased;
}

.page-loading .splash-screen img {
  margin-left: calc(100vw - 100%);
  margin-bottom: 30px;
  height: auto !important;
  width: 100px;
}

html[data-bs-theme="dark"] .page-loading .splash-screen {
  background-color: #151521;
  color: #ffffff;
}

.splash-screen .light-logo {
  display: block;
}


.cursor-pointer {
  cursor: pointer;
}

.node__root>circle {
  fill: red;
}

.node__branch>circle {
  fill: yellow;
}

.node__leaf>circle {
  fill: green;
  /* Let's also make the radius of leaf nodes larger */
  r: 40;
}