:root {
    --bg-color: #f4f5f7;
    --col-bg: #ebecf0;
    --card-bg: #fff;
    --text-color: #172b4d;
    --primary: #0079bf;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
    margin-right: 15px;
}

#board-select {
    padding: 5px;
    border-radius: 3px;
    border: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
}

.header-title button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 2px 5px;
    transition: transform 0.2s;
}

.header-title button:hover {
    transform: scale(1.1);
}

.actions button, .import-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
    transition: background 0.2s;
    font-size: 14px;
    display: inline-block;
}

.actions button:hover, .import-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.board {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 20px;
    overflow-x: auto;
    align-items: flex-start;
}

.column {
    background-color: var(--col-bg);
    border-radius: 5px;
    width: 300px;
    min-width: 300px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

.column h2 {
    margin: 0;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.task-list {
    padding: 0 15px 15px 15px;
    flex: 1;
    overflow-y: auto;
    min-height: 50px;
}

.task {
    background-color: var(--card-bg);
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(9, 30, 66, 0.25);
    cursor: grab;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

.task:active {
    cursor: grabbing;
}

.task.dragging {
    opacity: 0.5;
}

.task-list.drag-over {
    background-color: rgba(0,0,0,0.05);
    border-radius: 3px;
}
