html,
body {
  margin: 0;
  min-height: 100%;
}

#app {
  min-height: 100vh;
}

.wonik-boot-screen {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  background-color: #f9f9f9;
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wonik-boot-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(100%, 30rem);
  margin-bottom: 2rem;
  text-align: center;
}

.wonik-boot-logo {
  width: min(400px, 80vw);
  height: auto;
}

.wonik-boot-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-style: italic;
  font-weight: 700;
  color: #2e5595;
}

.wonik-boot-loader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
}

.wonik-boot-progress {
  display: block;
  width: 100%;
  height: 100%;
}

.wonik-boot-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

.wonik-boot-progress circle:last-child {
  stroke: #1b6ec2;
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.wonik-boot-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
}

.wonik-boot-progress-text::after {
  content: var(--blazor-load-percentage-text, "Loading");
}

@media (max-width: 480px) {
  .wonik-boot-screen {
    padding: 1.5rem 1rem;
  }

  .wonik-boot-title {
    font-size: 1.5rem;
  }

  .wonik-boot-loader {
    width: 84px;
    height: 84px;
  }
}
