/* Inline critical CSS */
/* Spinner */
/* .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00a8cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
  }
  
  .loading-text {
    color: #666;
    font-family: Arial, sans-serif;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .content-loaded .loading-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out;
  } */

  /* Skeleton */

  .skeleton-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    padding-top: 150px;
  }

  .skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 15px;
  }

  .skeleton-header { height: 80px; }
  .skeleton-nav { height: 50px; }
  .skeleton-main { height: 60vh; } /* Takes most of the viewport */
  .skeleton-footer { height: 100px; color: transparent}

  @keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  .content-loaded .skeleton-overlay {
    display: none;
  }