body{
  background: linear-gradient(135deg, #e0e7ff, #fef3c7);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  text-align: center;
  margin-top: 50px;
  color: #1f2937;
}

/* Main Container */
.todo-container{
  background: #ffffff;
  width: 400px;
  margin: auto;
  padding: 24px;
  border-radius: 16px;
  border: 2px solid #c7d2fe;
  box-shadow: 0 10px 25px rgba(99,102,241,0.15);
}

/* Header */
h1{
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 600;
  color: #4338ca;
}

/* Input Area */
#input-box{
  width: 220px;
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1.5px solid #a5b4fc;
  outline: none;
}

#input-box:focus{
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
}

/* Add Button */
#input-button{
  font-size: 16px;
  padding: 10px 14px;
  margin-left: 6px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#input-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(99,102,241,0.3);
}

/* Divider */
hr{
  border: none;
  border-top: 1px solid #c7d2fe;
  margin: 18px 0;
}

/* Task List */
ul{
  list-style: none;
  padding: 0;
  margin-top: 10px;
  text-align: left;
}

li{
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  border: 1.5px solid #c7d2fe;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Buttons inside task */
.edit-btn,
.delete-btn,
.complete-btn{
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  margin-left: 6px;
}

.edit-btn{ color: #4f46e5; }
.complete-btn{ color: #059669; }
.delete-btn{ color: #dc2626; }

/* Completed Task */
.completed{
  text-decoration: line-through;
  color: #6b7280;
  background: linear-gradient(135deg, #e5e7eb, #f9fafb);
  border-color: #d1d5db;
}
