/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Heading Styling */
h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #0044cc;
  margin-bottom: 30px;
}

/* Form Styling */
form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

input[type="text"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 200px;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #0044cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

th {
  background-color: #f4f4f9;
  color: #0044cc;
  font-size: 1.2rem;
}

td {
  font-size: 1rem;
}

td a {
  text-decoration: none;
  color: #0044cc;
  font-weight: bold;
  transition: color 0.3s ease;
}

td a:hover {
  color: #0056b3;
}

tbody tr:hover {
  background-color: #f9f9f9;
}

/* Responsive Styling */
@media (max-width: 768px) {
  table, th, td {
    font-size: 0.9rem;
  }

  form {
    flex-direction: column;
    align-items: center;
  }

  input[type="text"] {
    width: 100%;
    max-width: 300px;
  }

  button {
    width: 100%;
    max-width: 150px;
  }
}


.add-member-button {
    background-color: #28a745; /* Green color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

/* Change button color on hover */
.add-member-button:hover {
    background-color: #218838; /* Darker green on hover */
}