.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  display: none; /* Hidden by default */
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  width: 400px;
  animation: slideIn 0.3s ease-out;
}

/* Show classes */
#popup.show {
  display: flex;
}

.modal-content.show {
  display: block;
}

.btnpop {
  padding: 10px 20px;
  background: #444444;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btnpop:hover {
  background: #02f051;
  color: rgb(255, 255, 255);
}
.btnpopclose:hover {
  background: #ff0000;
  color: rgb(255, 255, 255);
}
.people-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.people-button:hover {
  background-color: #b71c1c;
}
.people-table {
  width: 40%;
  margin: 20px auto;
  border-collapse: collapse;
  display: none;
  background-color: #424242;
  border: 2px solid #d32f2f;
  border-radius: 10px;
  overflow: hidden;
}
.people-table th,
.people-table td {
  border: 1px solid #d32f2f;
  padding: 10px;
  text-align: center;
}
.people-table th {
  background-color: #d32f2f;
  color: white;
}
.people-img {
  width: 70px;
  height: 40px;
  border-radius: 50%;
}
.people-name {
  font-weight: bold;
  font-size: 18px;
  font-family: "Arial", sans-serif;
  color: #b9b9b9;
}
.people-action-btn {
  padding: 5px 10px;
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.people-action-btn:hover {
  background-color: #b71c1c;
}
