/* Make body full height for proper swipe detection */
html, body {
    min-height: 100vh;
    position: relative;
  }
  
  /* Hide the demo container but keep it for swipe functionality */
  #container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: -1; /* Put it behind other content */
    opacity: 0; /* Make it invisible */
  }
  
  #container .content {
    display: none; /* Hide the demo content completely */
  }

  .swipe-refresh-indicator {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: transform 0.2s ease;
    text-align: center;
    z-index: 1000;
  }
  
  .swipe-refresh-indicator .spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
  }
  
  .swipe-refresh-indicator .spinner svg {
    width: 100%;
    height: 100%;
  }
  
  .swipe-refresh-indicator .spinner circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
  }
  
  .swipe-refresh-indicator.refreshing .pull-text {
    display: none;
  }
  
  .swipe-refresh-indicator.refreshing .spinner {
    display: block;
  }
  
  @keyframes spin {
    100% { transform: rotate(360deg); }
  }
  
  @keyframes dash {
    0% { stroke-dashoffset: 60; }
    50% { stroke-dashoffset: 15; }
    100% { stroke-dashoffset: 60; }
  }