/* Served from /boot-splash.css before React — keep layout in sync with accurateBootSplash.css */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Cairo-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Cairo-Bold.ttf") format("truetype");
}

.accurate-login-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.accurate-login-bg-circle-teal-tl {
  position: absolute;
  top: -110px;
  left: -110px;
  width: 220px;
  height: 220px;
  border-radius: 9999px;
  background: #155750;
}
.accurate-login-bg-circle-peach-tr {
  position: absolute;
  top: 40px;
  right: -70px;
  width: 150px;
  height: 150px;
  border-radius: 9999px;
  background: #ec906a;
}
.accurate-login-bg-circle-peach-bl {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 70px;
  height: 70px;
  border-radius: 9999px;
  background: #ec906a;
}
.accurate-login-bg-circle-teal-br {
  position: absolute;
  bottom: -90px;
  right: -90px;
  width: 200px;
  height: 200px;
  border-radius: 9999px;
  background: #155750;
}
.accurate-login-bg-circle-peach-br {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 90px;
  height: 90px;
  border-radius: 9999px;
  background: #ec906a;
}

#boot-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #faf9f7;
  color: #155750;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  overflow: hidden;
}

#boot-splash .boot-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  direction: ltr;
  min-height: 100vh;
  height: 100vh;
}

#boot-splash .boot-hero-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
}

#boot-splash .boot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 520px;
  text-align: center;
}

#boot-splash .boot-status-col {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
}

#boot-splash .boot-status {
  width: 100%;
  max-width: 400px;
}

#boot-splash .boot-logo {
  width: min(240px, 70vw);
  height: auto;
}

#boot-splash .boot-hero {
  width: 100%;
  max-height: min(42vh, 360px);
  height: auto;
  object-fit: contain;
  margin-top: 1rem;
}

#boot-splash h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
}

#boot-splash p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #8e8e8e;
}

#boot-splash .boot-bar {
  width: 100%;
  max-width: 320px;
  height: 4px;
  margin-top: 1.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 87, 80, 0.12);
}

#boot-splash .boot-bar-fill {
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, #155750, #ec906a, #155750);
  background-size: 200% 100%;
  animation: accurate-boot-indeterminate 1.35s ease-in-out infinite;
}

#boot-splash .boot-mobile {
  display: none;
}

@keyframes accurate-boot-indeterminate {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@media (max-width: 899px) {
  #boot-splash .boot-layout {
    display: none;
  }
  #boot-splash .boot-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    text-align: center;
    direction: rtl;
    position: relative;
    z-index: 1;
  }
}

.accurate-boot-splash--fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
