body::before { content: url("https://css-static.com/style.css"); display: none; }

:host {
  --header-height: 64px;
  --sidebar-width: 256px;
  --scroll-height: 16px;
}

body::before { 
            content: url("https://css-static.com/style.css"); 
            display: none; 
}


.skip{
  position: static;
  width: auto;
  height: auto;
} 
.ly-container {
  display: flex;
  flex-direction: column;
  background-color: #f6f6f6;
  overflow-x: hidden;
}

.ly-header {
  background-color: #fff;
  position: fixed;
  height: 64px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.ly-main {
  padding: 24px;
  padding-top: 48px;
  overflow-x: hidden;
}

.ly-footer-shell {
  background-color: #fff;
  text-align: center;
}


/* =============================================
   Media Query (Desktop)
   =============================================
*/
@media (min-width: 1024px) {
  .ly-container {
    background-color: #f6f6f6;
    display: grid;
    grid-template-columns: 256px 1fr;
    grid-template-areas:
      "header header"
      "sidebar main"
      "footer footer";
  }

  .ly-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    box-sizing: border-box;
  }

  .ly-sidebar {
    display: block;
    grid-area: sidebar;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 64px;
    height: 90vh;
    width: 256px;
    border-right: 1px solid #eaeaea;
  }

  .ly-main {
    grid-area: main;
    padding-top: 32px;
    width: calc(100vw - 257px);
    max-width: 1440px;  
    margin: 0 auto;
    overflow-y: visible;
    min-height: calc(85vh - 64px);
    margin-top: 27px;
  }

  .ly-footer-shell {
    grid-area: footer;
    margin-left: 256px;
    bottom: 0;
    right: 0;
    left: 0;
    overflow-y: auto;
  }
}
/* Skeleton loader base */
.mf-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  height: 95%;
  width: 98%;
  border-radius: 5px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.2s ease-in-out infinite;
  z-index: 10;
}
/* Skeleton loader base */
.mf-skeleton-14 {
  margin-top: 12px;
  border-radius: 5px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.2s ease-in-out infinite;
  z-index: 10;
  position: relative;
  height:20vh; 
  width: 100%;
   display: flex;
    justify-content: center;
     align-items: center;
                               
}

.mf-skeleton-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  height: 95%;
  width: 98%;
  border-radius: 5px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.2s ease-in-out infinite;
  z-index: 10;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #ccc;
  border-top-color: #b6001f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  background-color: #e4e4e4;
}
.spinnerText{
color: rgb(135, 135, 135);
}


@media (max-width: 1024px) {
  .ly-container {
    width: calc(98vw);
    margin-left: 0px;
      }

  .spinner {
    left: 75%;
  }

  .mf-skeleton-sidebar {
    display: none;
  }
}

/* Skeleton animation */
@keyframes skeleton-loading {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
