body {
  font-family: Arial, sans-serif;
  background: url("Background.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  width: 90%;
  max-width: 400px;
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 0 100px rgba(0, 0, 0.2, 0.22);
}

h1 {
  text-align: center;
  color: #007bff;
}

ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

li {
  background: #fae1e1;
  margin: 5px 0;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

li.completed span {
  text-decoration: line-through;
  color: #888;
}

.priority-High { border-left: 5px solid red; }
.priority-Medium { border-left: 5px solid orange; }
.priority-Low { border-left: 5px solid green; }

.actions button {
  margin-left: 1px;
  font-size: 15px;
  padding: 3px 10px;
}

#addBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  background: #007bff;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.form-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 85%;
  max-width: 320px;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 8px;
}

input, select {
  width: 100%;
  height: 40px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  box-sizing: border-box;
}

button {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
}

.form-box button {
  background: #007bff;
  color: white;
}

.form-box .close {
  background: #ccc;
  color: black;
}
