/* Body with professional background */
body {
  font-family: Arial, sans-serif;
  background-color: orangered; /* agar image use karni ho to background: url('...') */
  margin: 0;
  padding: 0;
}

/* Input section styling */
.input-section {
  text-align: center;
  margin: 20px;
}

input {
  padding: 10px;
  width: 200px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 15px;
  margin-left: 5px;
  border: none;
  border-radius: 5px;
  background: #0079bf;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #026aa7;
}

/* Board & columns */
.board {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap; /* columns neeche aa jayengi chhoti screen par */
}

/* Columns with semi-transparent background */
.column {
  background: rgba(255, 255, 255, 0.85);
  padding: 15px;
  border-radius: 8px;
  width: 30%;
  min-height: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

h2 {
  text-align: center;
  color: #0079bf;
  font-weight: bold;
}

/* Task cards */
.task {
  background: white;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: grab;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Buttons inside tasks */
.task button {
  margin-left: 5px;
  padding: 3px 7px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.edit-btn {
  background: orange;
  color: white;
}

.delete-btn {
  background: red;
  color: white;
}

/* Drag over effect */
.column.drag-over {
  background: rgba(0, 121, 191, 0.1);
  border: 2px dashed #0079bf;
}

/* ✅ Responsive design */
@media (max-width: 992px) {
  .column {
    width: 45%; /* Tablet screen par 2 columns side by side */
  }
}

@media (max-width: 600px) {
  .board {
    flex-direction: column; /* mobile par ek ke neeche ek */
    align-items: center;
  }

  .column {
    width: 90%; /* Mobile screen par full width */
  }

  input {
    width: 150px;
  }
}
