/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(120deg, #2b1055, #7597de);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(./img/desk-1284085_1280.jpg);
}

/* Card Container */
#app {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  width: 350px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* Title */
#app h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #7a2d1b;
  font-weight:900;
}

/* Progress Area */
.progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.progress-container span {
  font-weight: 600;
}

.progress-bar {
  height: 6px;
  background-color: #c54c32;
  border-radius: 10px;
  margin-top: 6px;
  width: 100%;
  transition: width 0.3s ease;
}

.progress-circle {
  background-color: #c54c32;
  border-radius: 50%;
  padding: 15px;
  font-weight: bold;
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  box-shadow: 0 0 10px #c54c32;
}

/* Input Section */
input[type="text"] {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin-bottom: 20px;
}

#saveBtn {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  background: #c54c32;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#saveBtn:hover {
  background: #c54c32;
}

/* Task List */
#displayArea .data-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 15px;
  margin-bottom: 10px;
  justify-content: space-between;
  position: relative;
  color: #fff;
  text-align: left;
}

.data-item input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.data-item input[type="checkbox"]:checked {
  background-color: #c54c32;
  border-color: #c54c32;
}

.data-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 6px;
  color: white;
  font-size: 14px;
}

.data-item span {
  flex: 1;
  margin-left: 10px;
  text-decoration: none;
}

.data-item.checked span {
  text-decoration: line-through;
  opacity: 0.7;
}

/* Buttons */
.data-item button {
  background-color: #ffc107;
  border: none;
  border-radius: 50%;
  padding: 8px;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.data-item button:hover {
  transform: scale(1.1);
}

.data-item button.delete-btn {
  background-color: #ff4d6d;
  color: white;
}

.data-item button.edit-btn {
  background-color: #ffd369;
  color: black;
}
