/* (C) Copyright 2026 Hewlett Packard Enterprise Development LP */

#gl-startup {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #ffffff;
  color: #000000;
  font-family: Arial, sans-serif;
}

html[data-mode='dark'] #gl-startup {
  background: #1c1c24;
  color: #ffffff;
}

#gl-startup header {
  height: 68px;
  box-sizing: border-box;
  padding: 16px 40px;
  border-bottom: 1px solid #80808040;
}

.gl-startup-logo {
  width: auto;
  height: 36px;
}

.gl-startup-logo-dark {
  display: none;
}

html[data-mode='dark'] .gl-startup-logo-light {
  display: none;
}

html[data-mode='dark'] .gl-startup-logo-dark {
  display: inline;
}

#gl-startup-status {
  position: absolute;
  inset: 68px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#gl-startup-spinner {
  animation: gl-startup-spin 0.8s linear infinite;
}

#gl-startup[data-failed] #gl-startup-spinner {
  display: none;
}

@keyframes gl-startup-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #gl-startup-spinner {
    animation: none;
  }
}
