.kanban-board {
    overflow-x: auto; /* Allow horizontal scrolling if columns exceed width */
    padding-bottom: 1rem; /* Space for scrollbar */
    text-align: center;
    white-space: nowrap;
}

.kanban-board-inner {
    display: inline-flex;
    gap: 1rem;
    padding: 0.5rem;
    text-align: left;
}

.kanban-column {
    flex: 1; /* Distribute space equally */
    min-width: 280px; /* Minimum width for a column */
    max-width: 350px; /* Maximum width */
    background-color: #f4f5f7; /* Light grey background for columns */
    border-radius: 5px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

.kanban-column h2 {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    text-align: center;
}

.kanban-column-content {
    min-height: 100px; /* Minimum height to allow dropping into empty columns */
    flex-grow: 1; /* Allow content area to grow */
    padding: 0 0.25rem; /* Padding inside the draggable area */
}

.kanban-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease-in-out;
}

.kanban-card:hover {
    box-shadow: 0 3px 20px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.card-title {
    font-weight: bold;
    color: #0056b3; /* Or your theme's link color */
    text-decoration: none;
    /* Allow title to wrap if long */
    word-break: break-word;
    margin-right: 5px; /* Space before potential action buttons */
}
 .card-title:hover {
    text-decoration: underline;
 }

.card-body p {
    font-size: 0.9em;
    margin-bottom: 0.3rem;
    color: #555;
}
.card-body p strong {
    color: #333;
}

.empty-column-message {
    text-align: center;
    color: #777;
    font-style: italic;
    padding: 1rem;
}


/* SortableJS Classes for visual feedback during drag */
.sortable-ghost {
    opacity: 0.4;
    background-color: #cce5ff; /* Light blue background for placeholder */
}

.sortable-drag {
    cursor: grabbing !important; /* Change cursor during drag */
    opacity: 0.9; /* Slightly transparent while dragging */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Larger shadow when dragging */
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.75rem;
}

.column-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.column-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-status-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.2s ease-in-out;
}

.delete-status-btn:hover {
    opacity: 1;
    background: none;
}
