/* Kanban Board Styles */

.kanban-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.kanban-controls input[type="text"] {
    flex: 1;
    min-width: 180px;
    background: var(--color-widget);
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: bold;
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.kanban-controls input[type="text"]:focus {
    border: 2.5px solid #fff;
    box-shadow: 0 0 16px var(--color-accent)cc;
    background: var(--color-widget);
}

.kanban-controls select,
.kanban-controls button {
    border: 1px solid var(--color-accent);
    background: var(--color-widget);
    color: var(--color-text);
    font-size: 1rem;
    margin-left: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.kanban-controls select {
    padding: 0.6rem 1rem;
    border-radius: 6px;
}

.kanban-controls button {
    background: var(--color-buttons);
    color: var(--color-background);
    border: none;
    font-weight: bold;
    box-shadow: 0 0 8px var(--color-buttons)99;
    font-size: 1rem;
}

.kanban-controls button:hover {
    background: var(--color-accent);
    color: var(--color-background);
}

.kanban-board {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.kanban-column {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    min-width: 260px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.kanban-column-title {
    color: var(--color-title);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kanban-tasks {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kanban-task-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s, border 0.2s, background 0.2s;
    min-height: 44px;
}

.kanban-task-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 8px var(--color-accent)22;
    border-color: var(--color-accent)44;
}

.kanban-task-card:active {
    cursor: grabbing;
}

.kanban-task-card.dragging {
    opacity: 0.6;
    transform: rotate(3deg);
    box-shadow: 0 8px 24px var(--color-accent)66;
    border-color: var(--color-accent);
}

.kanban-tasks.drag-over {
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed var(--color-accent)66;
    border-radius: 8px;
    min-height: 100px;
}

.kanban-column.drag-over {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--color-accent)66;
    border-radius: 8px;
}

.kanban-task-title {
    font-size: clamp(0.95rem, 2.6vw, 1.1rem);
    font-weight: bold;
}

.kanban-task-label {
    display: inline-block;
    background: #222;
    color: #ffeb3b;
    border-radius: 4px;
    padding: 0.2rem 0.7rem;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}