/* Keep app centered on screen */
body {
  font-family: sans-serif;
  margin: 0;
  background-color: #e5e5e5;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Style the main app container */
.app {
  background-color: #fff;
  width: 300px;
  height: 500px;
  border: 5px solid #abcea1;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Style the add new task button */
#addNew {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(171, 206, 161, 0.35);
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 10px;
}

#addNew span {
  font-weight: bold;
}

/* Plus icon styles */
.fa-plus {
  background-color: #abcea1;
  padding: 3px;
  border-radius: 3px;
  color: #fff;
}

/* Validation message style */
#msg {
  color: red;
}

/* Style tasks list */
#tasks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Place the options container inside each task card, below the task content */
#tasks div {
  border: 3px solid #abcea1;
  background-color: #e2eede;
  border-radius: 6px;
  padding: 10px; /* Increase padding to accommodate options below */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#tasks div .options {
  justify-content: flex-end; /* Align icons to the right */
  display: flex;
  gap: 20px;
  margin-top: 10px; /* Spacing between task content and options */
}

/* Style the icons inside options - cursor pointer, size, and color */
#tasks div .options i {
  cursor: pointer;
  font-size: 1.2em;
  color: #333;
}