/* status-board.css - Styling for Board */

.board {
  display: grid;
  grid-template-columns: repeat(var(--columns, 4), 1fr);
  gap: 5px;
  border: 1px solid var(--background3); /* Subtle border for structure */
  border-radius: 10px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Softer shadow */
}

.column {
  background: var(--background1); /* Light grey to match theme */
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.column-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--text1);
}

.items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.item {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--background2); /* Soft border */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
}

.item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.item-id {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  padding-right: 5px;
  color: var(--text1);
}

.item-title {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--text1);
}

.item-description {
  margin: 5px 0;
  font-size: 14px;
  color: var(--text1);
  opacity: 0.75; /* Subtle muted effect */
}

.status-parent-summary {
  display: inline-block;
  background: var(--accent1); /* Muted cyan for a technical look */
  color: white; /* Ensuring contrast */
  font-size: 12px;
  padding-top: 2px; 
  padding-bottom: 1px;
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 5px;
  margin-bottom: 5px;
  border: 1px solid var(--accent2); /* Defines the element */
}

.drag-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
}

.dragging {
  opacity: 0.5;
}

.drag-target {
  position: fixed;
  width: max(20%, 150px);
  height: max(10%, 100px);
  background-color: rgba(0, 150, 255, 0.2);
  color: #003366;
  border: 2px dashed #0096ff;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  pointer-events: auto;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.drag-target-left {
  left: 20px;
}

.drag-target-right {
  right: 20px;
}
