/* ---- Existing CSS ---- */
.todo-wrapper {
  max-width: 500px;
  margin: 20px auto;
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.todo-header h2 {
  font-weight: 600;
  font-size: 20px;
  color: #0c046b;
  margin-bottom: 15px;
  gap: 6px;
}

.add-todo-box {
  background: #f9fafe;
  border: 1px dashed #d0d7e6;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 18px;
  display: flex;
  justify-content: flex-end;
}

.add-todo-box button {
  background: #0c046b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 13px;
}

.todolist {
  max-height: 400px;
  overflow-y: auto;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #eee;
}

.todo-card.modern-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #0c046b;
}

.todo-card .todo-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.todo-card .todo-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0c046b;
}

.todo-actions button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 6px;
  border-radius: 6px;
}

.todo-actions .edit-btn {
  color: #02bd0a;
  background: rgba(2, 189, 10, 0.08);
}

.todo-actions .delete-btn {
  color: #d9534f;
  background: rgba(217, 83, 79, 0.08);
}

.todo-desc {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.3;
}

.todo-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-status,
.priority {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 500;
  gap: 4px;
}

/* Status Styles */
.status-pending {
  background: #fff7e6;
  color: #ff9800;
  border: 1px solid #ffecb3;
}

.status-completed {
  background: #b0f5b4;
  color: #02bd0a;
  border: 1px solid #02bd0a;
}

/* Priority Styles */
.priority-high {
  background: #ffe6e6;
  color: #e53935;
  border: 1px solid #ffcccc;
}

.priority-medium {
  background: #fff4e6;
  color: #ff9800;
  border: 1px solid #ffe0b2;
}

.priority-low {
  background: #e6f7ff;
  color: #0288d1;
  border: 1px solid #b3e5fc;
}/*# sourceMappingURL=todolistDesign4.css.map */