/* NVX startup splash — plain HTML overlay until the Qooxdoo app dismisses it */

.nvx-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 0%, #1a2f4d 0%, #0b1220 55%, #060a12 100%);
  color: #e8eef7;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.nvx-splash--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nvx-splash__panel {
  width: min(420px, calc(100vw - 2.5rem));
  padding: 2rem 2rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.nvx-splash__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.nvx-splash__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.nvx-splash__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nvx-splash__status {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: #a8b8d0;
  min-height: 1.35em;
}

.nvx-splash__plugins {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  max-height: 11rem;
  overflow: auto;
}

.nvx-splash__plugin {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: 0.86rem;
  color: #c5d2e6;
}

.nvx-splash__plugin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #4b5c74;
}

.nvx-splash__plugin--pending .nvx-splash__plugin-dot {
  background: #4b5c74;
}

.nvx-splash__plugin--loading .nvx-splash__plugin-dot {
  background: #4da3ff;
  box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.55);
  animation: nvx-splash-pulse 1.2s ease infinite;
}

.nvx-splash__plugin--done .nvx-splash__plugin-dot {
  background: #3ecf8e;
}

.nvx-splash__plugin--error .nvx-splash__plugin-dot {
  background: #ff6b6b;
}

.nvx-splash__plugin-label {
  flex: 1;
}

.nvx-splash__plugin-state {
  font-size: 0.75rem;
  color: #7f93b0;
  text-transform: capitalize;
}

.nvx-splash__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.nvx-splash__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transition: width 240ms ease;
}

.nvx-splash__hint {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: #6f839f;
  text-align: center;
}

@keyframes nvx-splash-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(77, 163, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 163, 255, 0);
  }
}
