.name-filter-table {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    border-radius: 6px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .table-header {
    display: flex;
    background-color: #1a9aa0;
    color: white;
    font-weight: bold;
    padding: 12px 16px;
  }
  
  .column-title {
    flex: 1;
  }
  
  .column-gender {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    min-width: 180px;
  }
  
  .table-row {
    display: flex;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    padding: 12px 16px;
    transition: background 0.3s;
  }
  
  .table-row:hover {
    background-color: #f9f9f9;
  }
  

  .count {
    background-color: #bbb;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: bold;
  }
  .column-gender {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 150px;
  }
  
  .gender-icon {
    font-size: 18px;
    padding: 4px 6px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
  }
  .table-row a:hover{
    text-decoration: underline;
    color: lightblue;
  }
  .column-gender a:hover{
    color: white;
  }
  .table-row .column-gender button:first-child:hover {
    background-color: #1E7E34; /* Green for boy */
    color: white;
  }
  
  .table-row .column-gender button:nth-child(2):hover {
    background-color: #117A8B; /* Pink for girl */
    color: white;
  }
  
  