body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

h1, h2 {
  text-align: center;
}

form {
  max-width: 500px;
  margin: 0 auto 20px auto;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-group {
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 4px;
}

input[type="text"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
}

button {
  margin-right: 5px;
  padding: 6px 10px;
  cursor: pointer;
  background-color: #9fa5aa;
  border-radius: 10px;
}

#tasksTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#tasksTable th,
#tasksTable td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
 
}

#message {
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

#message.success {
  color: green;
}

#message.error {
  color: red;
}

.edit-btn {
  background-color: #2196f3;
  color: white;
  border: none;
}

.delete-btn {
  background-color: #f44336;
  color: white;
  border: none;
}

.error {
  color: red;
  font-size: 0.85rem;
}