html,
body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
}

body.app-ready #app-boot-splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#app-boot-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  direction: rtl;
  background: #ffffff;
  transition: opacity 240ms ease, visibility 240ms ease;
}

#app-boot-splash-card {
  width: min(92vw, 420px);
  padding: 36px 28px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-family: Vazirmatn FD, Tahoma, sans-serif;
}

#app-boot-splash img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.14));
}

#app-boot-splash h1 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

#app-boot-splash p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.9;
}

#app-boot-splash-spinner {
  width: 38px;
  height: 38px;
  margin: 26px auto 0;
  border-radius: 50%;
  border: 4px solid rgba(96, 165, 250, 0.22);
  border-top-color: #60a5fa;
  animation: app-boot-spin 0.95s linear infinite;
}

@keyframes app-boot-spin {
  to {
    transform: rotate(360deg);
  }
}
