body {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .membership-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
  }
  
  .membership-container {
    width: 80%; 
    margin: 40px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  .membership-heading {
    text-align: center;
    margin-bottom: 20px;
    color: #fc632b;
    font-size: 30px;
  }

  #membershipSearch{
    padding: 10px;
    border-radius: 20px;
    width: 20vw;
    border: 1px solid #8f8d8d;
  }

  #membershipSearch:focus{
    outline: none;
    border: 1px solid #fc632b;
  }
  
  .table-responsive {
    overflow-x: auto;
    width: 100%;
    transform: scaleX(1);
    transform-origin: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 1;
  }
  
  .table-responsive.animate-open {
    transform: scaleX(0);
    opacity: 0;
  }
  
  .membership-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
  }

  #membershipHeader{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  .membership-table th {
    background-color: #084594;
    color: #ffffff;
  }
  .membership-table tr:hover {
    background-color: #d4d8dd !important;
  }
  
  .membership-table th,
  .membership-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
  }
  
  .member-photo {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
  }
  
  .pagination-container {
    text-align: center;
    margin-top: 20px;
  }
  
  .page-button {
    margin: 5px;
    padding: 8px 14px;
    border: none;
    background-color: #eee;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .page-button:hover {
    background-color: #007bff;
    color: white;
  }
  
  .page-button.active {
    background-color: #007bff;
    color: white;
  }
  
  /* Slide animations */
  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideOut {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(-100%);
      opacity: 0;
    }
  }
  
  .slide-in {
    animation: slideIn 0.5s ease forwards;
  }
  
  .slide-out {
    animation: slideOut 0.3s ease forwards;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .membership-container {
      padding: 15px;
    }
  
    .member-photo {
      width: 50px;
      height: 70px;
    }
  
    .page-button {
      padding: 6px 10px;
      font-size: 14px;
    }
  
    .membership-heading {
      font-size: 22px;
    }
  }
  
  @media (max-width: 480px) {
    .membership-heading {
      font-size: 20px;
    }
  
    .page-button {
      padding: 5px 8px;
      font-size: 12px;
    }
  
    .member-photo {
      width: 40px;
      height: 60px;
    }
  }
  