html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 45%, #f8fafc 100%);
  color: #566a7f;
}

.app-boot-screen {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-boot-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(67, 89, 113, 0.12);
  padding: 40px 32px;
  text-align: center;
}

.app-boot-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: #696cff;
  font-size: 1.5rem;
  font-weight: 700;
}

.app-boot-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 3px solid rgba(105, 108, 255, 0.15);
  border-top-color: #696cff;
  border-radius: 50%;
  animation: app-boot-spin 0.8s linear infinite;
}

@keyframes app-boot-spin {
  to {
    transform: rotate(360deg);
  }
}

.app-boot-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #384551;
  margin-bottom: 8px;
}

.app-boot-message {
  font-size: 0.9375rem;
  margin: 0;
}

.app-boot-error {
  display: none;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff5f5;
  color: #ff3e1d;
  font-size: 0.875rem;
  text-align: left;
}

.app-boot-error.is-visible {
  display: block;
}

.app-boot-actions {
  display: none;
  margin-top: 20px;
}

.app-boot-actions.is-visible {
  display: block;
}

.app-boot-actions .btn {
  min-width: 140px;
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.app-boot-actions .btn-primary {
  background: #696cff;
  color: #fff;
}

.app-boot-actions .btn-primary:hover {
  background: #5f61e6;
}
