body {
  font-family: Arial;
  background: #f4f6f8;
  display: flex;
  justify-content: center;
}

.container {
  width: 400px;
  margin-top: 40px;
  text-align: center;
}

input {
  width: 90%;
  padding: 10px;
  margin: 8px;
}

button {
  padding: 10px 15px;
  margin: 10px;
  cursor: pointer;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 5px;
}

#cardContainer {
  margin-top: 20px;
}

/* Card */
.card {
  background: white;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  animation: fadeIn 0.3s ease;
}

.card button {
  margin: 5px;
  background: #28a745;
}

.card button.delete {
  background: red;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  animation: scaleIn 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}