* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #fcfcfc;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  padding-top: 100px;
  min-height: 100vh;
}

.app-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 20px;
  margin: 100px auto;
}

header h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

header p {
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
}


.input-container {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  padding: 8px 15px;
  border-radius: 12px;
  margin-bottom: 40px;
  transition: all 0.2s;
}

.input-container:focus-within {
  background: #e8e8e8;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.icon-plus {
  color: #888;
  margin-right: 10px;
}

#task {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 400;
}

#addBtn {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 10px;
}


.list {
  list-style: none;
}

.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
}

.task-left {
  display: flex;
  align-items: center;
  gap: 15px;
}


.complete {
  background: none;
  border: none;
  font-size: 20px;
  color: #d1d1d1;
  cursor: pointer;
  transition: color 0.2s;
}

.complete:hover {
  color: #10b981;
}

.text {
  font-size: 16px;
  color: #333;
  font-weight: 400;
}


.actions {
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.2s;
}

.task:hover .actions {
  opacity: 1;
}

.actions button {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 16px;
}

.actions .delete:hover {
  color: #ff4d4d;
}

.actions .edit:hover {
  color: #3b82f6;
}


.task.completed .text {
  text-decoration: line-through;
  color: #b5b5b5;
}

.task.completed .complete {
  color: #10b981;
}

.task.completed .complete i::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

#date {
  color: #888;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
}