/* Container */
body {
    padding: 20px;
}
/*.kanban-board {*/
/*    display: flex;*/
/*    gap: 1.5rem;*/
/*    padding: 2rem;*/
/*    overflow-x: auto;*/
/*    background-color: #f7f9fc;*/
/*}*/

.kanban-board {
    display: flex;
    flex-wrap: wrap; /* allow wrapping */
    gap: 1.5rem;
    justify-content: space-between;
    padding: 2rem;
    background-color: #f7f9fc;
}

/* Column */
.column {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    flex: 1 1 22%;
    min-width: 220px;
    max-width: 25%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.column:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Column header bar */
.column-header {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    color: #334155;
}

.column-header .actions {
    cursor: pointer;
    opacity: 0.5;
    font-size: 1.2rem;
    transition: opacity 0.2s ease;
}

.column-header .actions:hover {
    opacity: 0.9;
}

/* Task list area */
.task-list {
    list-style: none;
    margin: 0;
    padding: 1rem;
    flex: 1;
    min-height: 180px;
}

/* Cards */
.task-card {
    background: #ffffff;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    cursor: grab;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    border: 1px solid #e0e0e0;
}

.task-card:active {
    cursor: grabbing;
    transform: scale(0.98);
}

.task-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* Card Title */
.card-title {
    background: #4B0082;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title button {
    background: #ffffff;
    border: none;
    color: #4B0082;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.card-title button:hover {
    background: #f1f1f1;
}

/* Card Body */
.card-body {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
}

.task-card.new .card-title {
    background-color: #dc3545 !important;
}

.notes-display {
    max-height: 50px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.85rem;
    background-color: #f8f9fa;
    padding: 4px;
    border-radius: 4px;
}
.card-title {
    color: white;
}

.notes-box {
    background: #f9f9f9;
    margin-top: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    max-height: 60px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

