body {
  margin: 0;
  padding: 0;
}

.splash-screen {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Poppins, Helvetica, 'sans-serif';
  background:
    radial-gradient(circle at 50% 42%, rgba(175, 1, 42, 0.08), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, #f1f5f9 48%, #eef2f7 100%);
  color: #1d255a;
  line-height: 1;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
}

.splash-screen::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 70px rgba(29, 37, 90, 0.12);
  animation: splashPanel 2.2s ease-in-out infinite;
}

.splash-screen::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 3px;
  margin-top: 142px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, #af012a, #1d255a, transparent),
    rgba(29, 37, 90, 0.1);
  background-size: 58% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: splashProgress 1.45s ease-in-out infinite;
}

.splash-screen span {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #1d255a;
  letter-spacing: 0;
  transition: none !important;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  animation: splashText 2.2s ease-in-out infinite;
}

.splash-screen img {
  position: relative;
  z-index: 1;
  margin-left: 0;
  margin-bottom: 0;
  height: 76px !important;
  width: 76px;
  object-fit: contain;
  padding: 12px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 14px 32px rgba(29, 37, 90, 0.16),
    0 0 0 1px rgba(226, 232, 240, 0.9);
  animation: splashLogo 2.2s ease-in-out infinite;
}

[data-bs-theme="dark"] .splash-screen {
  background:
    radial-gradient(circle at 50% 42%, rgba(175, 1, 42, 0.18), transparent 32%),
    linear-gradient(135deg, #111529 0%, #151521 100%);
  color: #ffffff;
}

[data-bs-theme="dark"] .splash-screen::before {
  background: rgba(21, 21, 33, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .splash-screen span {
  color: #ffffff;
}

@keyframes splashPanel {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.92;
  }

  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes splashLogo {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.025);
  }
}

@keyframes splashText {
  0%, 100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

@keyframes splashProgress {
  0% {
    background-position: -70px 0, 0 0;
  }

  50% {
    background-position: 46px 0, 0 0;
  }

  100% {
    background-position: 170px 0, 0 0;
  }
}

#root {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
