body {
      font-family: Arial, sans-serif;
      padding: 20px;
      background: #f5f5f5;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    h1, h2 {
      text-align: center;
    }

    #links, #filters {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
      width: 100%;
    }

    input {
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
      flex: 1 1 100px;
      min-width: 80px;
    }

    button {
      margin: 4px;
      padding: 8px 12px;
      border: none;
      background: #007BFF;
      color: white;
      border-radius: 4px;
      cursor: pointer;
      flex: 1 1 auto;
    }

    .page-button {
      width: 40px;
    }

    table {
      border-collapse: collapse;
      width: 100%;
      min-width: 350px; /* Adjust depending on your content */
      background: white;
      font-size: 14px;
    }

    th, td {
      border: 1px solid #ddd;
      padding: 6px;
      text-align: left;
    }

    th {
      background: #f0f0f0;
    }

    tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    .table-container {
      width: 100%;
      overflow-x: auto;
    }

    #pagination {
      margin-top: 10px; 
      display: flex; 
      gap: 4px; 
      flex-wrap: wrap; 
      justify-content: center;
    }

    @media (max-width: 350px) {
      table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
        min-width: 100%;
      }

      th, td {
        box-sizing: border-box;
        width: 100%;
      }
    }