.single-spa-layout-main {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  box-sizing: border-box;
}

.single-spa-layout-nav {
  background-color: var(--bgColor);
  height: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

/* Main content container */
.single-spa-layout-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
}

/* Only apply transition during drawer transitions */
.single-spa-layout-content.drawer-transitioning {
  transition-property: margin-left;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  will-change: margin-left;
}

/* Prevent transitions on header content */
.single-spa-layout-content-header,
.single-spa-layout-content-header *,
[id^="single-spa-application:@fs/portal-ui-headers"],
[id^="single-spa-application:@fs/portal-ui-headers"] * {
  transition: none !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
}

.single-spa-layout-content-header {
  background-color: var(--bgColor);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-spa-layout-content-body {
  flex: 1;
  width: 100%;
  display: flex;
  overflow-y: auto;
  background-color: var(--bgColor);
}

#single-spa-layout {
  height: 100%;
  width: 100%;
}

.single-spa-layout-content-body [id^="single-spa-application"] {
  height: 100%;
  width: 100%;
  max-width: 100%;
}

[id^="single-spa-application:@fs/portal-ui-headers"] {
  height: fit-content;
  width: 100%;
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.root-fixed {
  position: fixed;
}

.root-inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.root-flex {
  display: flex;
}

.root-items-center {
  align-items: center;
}

.root-justify-center {
  justify-content: center;
}

.root-space-x-2 > *:not(:last-child) {
  margin-right: 0.5rem;
  /* 8px */
}

.root-bg-black {
  background-color: black;
}

.root-bg-opacity-10 {
  background-color: rgba(0, 0, 0, 0.1);
}

.root-z-50 {
  z-index: 50;
}

/* Loader Ball Styles */
.root-w-16 {
  width: 4rem;
  /* 64px */
}

.root-w-4 {
  width: 1rem;
  /* 16px */
}

.root-h-4 {
  height: 1rem;
  /* 16px */
}

.root-bg-green-500 {
  background-color: rgb(34 197 94);
}

.root-rounded-full {
  border-radius: 9999px;
}

/* Bounce Animations */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.5rem);
    /* 8px */
  }
}

.root-bounce {
  animation: bounce 0.6s infinite;
}

.root-bounce-delay-1 {
  animation-delay: 0.1s;
}

.root-bounce-delay-2 {
  animation-delay: 0.2s;
}

/* Ensure the navigation container takes full height */
#single-spa-application\@fs\/portal-ui-nav {
  height: 100%;
  display: flex;
}

/* These utility classes help with hardware acceleration */
.backface-hidden {
  backface-visibility: hidden;
}

.will-change-transform {
  will-change: transform;
}
