.dashboard {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.kategorie {
    background: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 8px;
    min-height: 180px;
    padding: 15px 20px;
    position: relative;
    z-index: 11;
}

.kategorie h2 {
    text-align: center;
    margin-top: 0;
}

.aufgabe {
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 10px 14px;
    cursor: move;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "text delete"
        "time delete";
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    z-index: 12;
    pointer-events: auto;
}

.task-text {
    display: block;
    grid-area: text;
}

.task-timestamp {
    display: block;
    grid-area: time;
    margin-left: 0;
    font-size: 0.72em;
    line-height: 1;
    color: #666;
}

#erledigt .aufgabe {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

#erledigt .aufgabe .task-text,
#erledigt .aufgabe .task-timestamp {
    color: #8a8a8a;
}

.platzhalter {
    color: #aaaaaa;
    background: #fff;
    border: 2px dashed #ccc;
    padding: 10px 14px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 6px;
    pointer-events: none;
}

.eingabecontainer {
    max-width: 600px;
    margin: 0 0 25px 0;
    padding: 100px 10px 5px 10px;
    padding-left: 0;
    display: flex;
    gap: 10px;
}

.shadow-highlight-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 2px 0 0 #0078d4;
}

.button-delete {
    background: #e74c3c;
    border: none;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    grid-area: delete;
    justify-self: end;
    align-self: center;
    font-size: 0.85em;
    margin-left: 0;
}

.button-delete:hover {
    background: #c0392b;
}

.aufgabe.dragging {
    opacity: 0.5;
    z-index: 15;
}

.kategorie.drag-over {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.kategorie.drag-forbidden {
    background-color: #ffebee;
    border-color: #f44336;
}

.drag-tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    max-width: 200px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.drag-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}