/**
 * Todo-Listen-Styling für den Securo Planer
 * Enthält alle CSS-Stile für die Todo-Listen-Funktionalität
 */

/* Todo-Listen-Karten */
.todo-liste-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.todo-liste-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Todo-Einträge */
.todo-eintrag.erledigt td {
    text-decoration: line-through;
    color: #6c757d;
}

.todo-checkbox {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* Prioritäts-Badges */
.badge.bg-danger {
    font-weight: 600;
}

/* Überfällige Aufgaben */
.text-danger {
    font-weight: 600;
}

/* Filter und Sortierung */
#suchfeld, #statusFilter, #sortierung {
    border-radius: 0.25rem;
}

/* Todo-Widget im Dashboard */
.todo-widget {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.todo-widget::-webkit-scrollbar {
    width: 6px;
}

.todo-widget::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.todo-widget::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.todo-widget::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.todo-widget .todo-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.todo-widget .todo-item:last-child {
    border-bottom: none;
}

.todo-widget .todo-item:hover {
    background-color: #f8f9fa;
}

.todo-widget .todo-item .todo-text {
    flex: 1;
    margin-right: 10px;
}

.todo-widget .todo-item .todo-actions {
    display: flex;
    gap: 5px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .todo-liste-card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        border: none;
    }
}

/* Animation für erledigte Aufgaben */
.todo-eintrag {
    transition: background-color 0.3s ease;
}

/* Hover-Effekt für Tabellenzeilen */
.todo-eintrag:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Private Listen */
.border-warning {
    border-width: 2px !important;
}