* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  justify-content: center;
  align-items: center;
}

#confirmBoxCont{
  position: absolute;
}

.hiddenBox{
  display: none;
}

#confirmDelete{
  background-color: #00000083;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.confirmBox{
  background-color: rgb(236, 236, 236);
  width: 350px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.confirmBox button{
  margin-top: 10px;
  background-color: rgb(61, 61, 232);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.todo-container {
  background: #ffffff;
  width: 380px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.todo-container h1 {
  text-align: center;
  margin-bottom: 5px;
}

.subtitle {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Input Section */
.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.input-group input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.input-group input:focus {
  outline: none;
  border-color: #667eea;
}

.input-group button {
  width: 45px;
  border: none;
  border-radius: 8px;
  background: #667eea;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.input-group button:hover {
  background: #5a6fdc;
}

/* Filters */
.filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.filter-btn {
  flex: 1;
  margin: 0 3px;
  padding: 8px;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  background: #f0f0f0;
  cursor: pointer;
}

.filter-btn.active {
  background: #667eea;
  color: white;
}

/* Task List */
#taskList {
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
}

.hidden {
  display: none;
}

.task-item {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-text {
  font-size: 14px;
}

/* Completed state (you can toggle this class in JS) */
.task-item.completed .task-text {
  text-decoration: line-through;
  color: #999;
}

/* Action buttons */
.task-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-left: 5px;
}

.task-actions .edit-btn:hover {
  color: #667eea;
}

.task-actions .delete-btn:hover {
  color: #e74c3c;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  color: #888;
}
