body {
      margin: 0;
      padding: 0;
      height: 100vh;
      background-color: #121212;
      color: #ffffff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: Arial, sans-serif;
    }
    .spoiler-container {
      display: flex;
      flex-direction: column;
      margin: 0.5em 0;
    }
    .p-dark {
      color: var(--text-dark, #444);
    }
    .spoiler-toggle {
      background: var(--pill-bg, #eee);
      color: var(--pill-text, #333);
      border: none;
      padding: 0.5em 1em;
      border-radius: 1em;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5em;
    }
    
    .spoiler-toggle:hover {
      background: var(--pill-hover-bg, #ddd);
    }
    
    .spoiler-content {
      padding: 0.5em 1em;
      margin-top: 0.5em;
      background: var(--content-bg, #f9f9f9);
      border-radius: 0.5em;
      animation: fadeIn 0.3s ease-in-out;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; max-height: 0; }
      to { opacity: 1; max-height: 100vh; }
    }
    .container {
      text-align: center;
      max-width: 900px;
      width: 90%;
    }

    h1 {
      font-size: 2.5rem;
      margin-bottom: 2rem;
      

    }

    .content {
      display: flex;
      margin-top: 20px;
      justify-content: center;
      gap: 0.35rem;
    }

    .box {
      flex: 1;
      background-color: #1e1e1e;
      padding: 2rem;
      color: #f0f0f0;
    }

    .left-box {
      border-top-left-radius: 1rem;
      border-bottom-left-radius: 1rem;
    }

    .right-box {
      border-top-right-radius: 1rem;
      border-bottom-right-radius: 1rem;
    }

    .left-box h2, .left-box p {
      text-align: left;
      margin: 0 0 1rem 0;
    }

    .right-box h2 {
      font-weight: bold;
      margin-bottom: 1rem;
    }

    .download-link {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      background-color: #333;
      color: #fff;
      border-radius: 0.5rem;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }
    .download-link-sm {
      display: inline-block;
      padding: 0.35rem 0.75rem;
      background-color: #333;
      color: #fff;
      font-size: 0.85rem;
      border-radius: 0.4rem;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }
    .download-link-sm.disabled {
      background-color: #444;
      color: #888;
      cursor: not-allowed;
      pointer-events: none;
      opacity: 0.6;
      text-decoration: none;
    }

    .download-link-sm:hover {
      background-color: #444;
    }
    a {
        color: #00a1c0;
        text-decoration: none;
    }

    .download-link:hover {
      background-color: #444;
    }
    .notification {
        width: 50%;
        padding: 10px; 
        background-color: lightgray;
        border-radius: 10px; 
        text-align: center;
        font-size: 16px;
        font-family: Arial, sans-serif;
        color: black;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
     
    .switch {
      position: relative;
      width: 60px; height: 34px;
      display: inline-block;
      vertical-align: middle;
      margin-top: 0; /* override if previously set */
    }
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
      margin-bottom: 20px;
    }
    .inline-row {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      align-items: center; /* keep all items vertically aligned */
    }
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #444;
      transition: 0.4s;
      border-radius: 34px;
      
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
    }
    input:checked + .slider {
      background-color: #00a1c0;
    }
    input:checked + .slider:before {
      transform: translateX(26px);
    }
    
    .modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.8);
    }
    .modal-content {
      background-color: #1e1e1e;
      margin: 10% auto;
      padding: 20px;
      border-radius: 1rem;
      width: 80%;
      max-width: 400px;
      color: #fff;
    }
    .close {
      float: right;
      font-size: 28px;
      cursor: pointer;
    }
    .list-grid-container {
      background-color: #1e1e1e;
      padding: 1rem;
      border-radius: 1rem;
      color: #fff;
      max-width: 900px;
      width: 100%;
    }
    
    .search-box {
      width: 50%;
      padding: 0.75rem;
      margin-bottom: 1rem;
      border-radius: 0.5rem;
      border: none;
      background-color: #2b2b2b;
      color: #fff;
      font-size: 1rem;
    }
    
    /* Header remains fixed */
    .grid-header {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 1rem;
      padding: 0.75rem;
      background-color: #333;
      border-radius: 0.5rem;
      font-weight: bold;
    }
    
    /* Scrollable content below */
    .list-body-scroll {
      max-height: 60vh;
      overflow-y: auto;
      scroll-behavior: smooth;
      margin-top: 1rem;
      padding-right: 0.5rem;
      pointer-events: auto;
    }
    
    /* Scrollbar styling */
    .list-body-scroll::-webkit-scrollbar {
      width: 10px;
    }
    .list-body-scroll::-webkit-scrollbar-track {
      background: #1e1e1e;
      border-radius: 10px;
    }
    .list-body-scroll::-webkit-scrollbar-thumb {
      background: #00a1c0;
      border-radius: 10px;
      border: 2px solid #1e1e1e;
    }
    
    /* Rows inside scroll container */
    .grid-row {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 1rem;
      padding: 0.75rem;
      background-color: #2a2a2a;
      border-radius: 0.5rem;
      margin-bottom: 0.5rem;
    }
    
    .grid-row a {
      color: #00a1c0;
      text-decoration: none;
    }
    .grid-row a:hover {
      text-decoration: underline;
    }
    
    /* Progress Bar */
    .progress-container {
      width: 100%;
      height: 10px;
      background-color: #2a2a2a;
      border-radius: 5px;
      overflow: hidden;
      margin-bottom: 1rem;
    }
    .progress-bar {
      width: 0%;
      height: 100%;
      background: linear-gradient(90deg, #00a1c0, #007ba7);
      transition: width 0.3s ease;
    }
    .loader {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      height: 3rem;
      margin-top: 1rem;
    }
    
    .loader .ball {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #00a1c0;
      animation: bounce 0.8s infinite;
    }
    
    .loader .ball:nth-child(2) {
      animation-delay: 0.2s;
    }
    
    .loader .ball:nth-child(3) {
      animation-delay: 0.4s;
    }
    
    @keyframes bounce {
      0%, 80%, 100% {
        transform: translateY(0);
      }
      40% {
        transform: translateY(-15px);
      }
    }