body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #fff;
}

header {
  padding: 16px;
  font-size: 24px;
  font-weight: bold;
  background: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.right {
  display: flex;
  align-items: center;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 1.2em;
  pointer-events: none; /* icon won't block clicks */
  height: 1.5em;
  margin-right: 0em;
}

.search-input{
  padding-left: 50px;
}

input,
select,
textarea {
  padding: 8px;
  font-size: 16px;
  margin-right: 8px;
  border-radius: 6px;
  border: none;
}

textarea {
  resize: vertical;
  height: 40px;
}

.btn-add{
  background: #22c55e; /* magnetic green */
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-add:hover {
  background: #4ade80;
  transform: scale(1.05);
}
.board {
  display: flex;
  height: calc(100vh - 110px);
  gap: 12px;
  padding: 12px;
}

.column {
  flex: 1;
  background: #1e293b;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.column h2 {
  margin: 0 0 8px;
  text-align: center;
}

.list {
  flex: 1;
  overflow-y: auto;
  min-height: 50px;
}

.card {
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: grab;
  font-size: 18px;
  position: relative;
}

.low {
  background: #334155;
}

.medium {
  background: #2563eb;
}

.high {
  background: #dc2626;
}

.meta {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.8;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.priority {
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0.9;
}

.desc {
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.9;
}

.delete,
.edit,
.save {
  cursor: pointer;
  color: #fff;
  margin-left: 8px;
}

.actions {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 6px;
}

.controls {
  display: flex;
  padding: 10px;
  background: #020617;
  flex-wrap: wrap;
}

.wip {
  font-size: 14px;
  text-align: center;
  margin-bottom: 5px;
}

.edit-input {
  width: 100%;
  margin-top: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.editing {
  padding-top: 28px;
}