body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 700px;
  margin: auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  margin-top: 40px;
}

form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

input, button {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background: #28a745;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #218838;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
}

.item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.item button {
  margin-left: 10px;
}

.item button.edit-btn {
  background: #ffc107;
  color: #212529;
}

.item button.edit-btn:hover {
  background: #e0a800;
}

.item button.delete-btn {
  background: #dc3545;
}

.item button.delete-btn:hover {
  background: #c82333;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

#editForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#editForm input,
#editForm button {
  padding: 10px;
  font-size: 16px;
}

#currentImage {
  text-align: center;
  margin: 10px 0;
}

#currentImage img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ddd;
}
