/* Açılış ekranı stilleri. index.html'den engelleyici ve harici olarak yüklenir (satır içi stil yok):
   uygulamanın ana stil dosyası gelmeden ÖNCE de ekran ortalı ve temalı görünür. Aynı sınıfları
   src/auth/boot.tsx içindeki açılış ekranı da kullanır; ikisi birlikte değişir.
   Renkler bilerek sabittir (ana stil henüz yüklenmemiş olabilir): marka rengi #424874. */
.app-splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #ffffff;
  color: #71717a;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  animation: app-splash-in 0.25s ease-out both;
}
.dark .app-splash {
  background: #09090b;
  color: #a1a1aa;
}
.app-splash__logo {
  display: block;
  height: 44px;
  width: auto;
}
.app-splash__logo--dark,
.dark .app-splash__logo--light {
  display: none;
}
.dark .app-splash__logo--dark {
  display: block;
}
.app-splash__bar {
  position: relative;
  width: 168px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e4e7;
}
.dark .app-splash__bar {
  background: #27272a;
}
.app-splash__bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  border-radius: inherit;
  background: #424874;
  animation: app-splash-slide 1.1s ease-in-out infinite;
}
.dark .app-splash__bar::after {
  background: #6f79bd;
}
.app-splash__text {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.01em;
}
@keyframes app-splash-slide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}
@keyframes app-splash-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-splash,
  .app-splash__bar::after {
    animation: none;
  }
  .app-splash__bar::after {
    width: 100%;
    opacity: 0.5;
  }
}
