body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.add-task-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#task-input {
    padding: 12px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

#add-btn {
    padding: 12px 20px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

#add-btn:hover {
    background-color: #1d4ed8;
}

.kanban-board {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 1100px;
}

.column {
    background-color: #e2e8f0;
    border-radius: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    min-height: 500px;
}

.column h2 {
    text-align: center;
    font-size: 18px;
    margin-top: 0;
    color: #475569;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.task-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Giver drop-zonen fylde, selvom den er tom */
    min-height: 100px;
}

.task {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: grab;
    transition: transform 0.1s, box-shadow 0.1s;
    word-wrap: break-word;
    border-left: 4px solid #2563eb;
}

.task:active {
    cursor: grabbing;
    transform: scale(0.97);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
