/* Container */
#todoContainer {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Floating + button */
#addTaskFab {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    font-size: 32px;
    background: #1e90ff;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

/* Task input panel */
#todoInputArea {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #1e1e1e;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

#taskTitle {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #2b2b2b;
    color: white;
    font-size: 16px;
}

#addTaskBtn {
    padding: 12px;
    background: #1e90ff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

/* Task list */
#taskList {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Task card */
.task-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1d24;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

/* Drag handle */
.dragHandle {
    font-size: 22px;
    cursor: grab;
    color: #777;
    padding-right: 6px;
}

/* Checkbox */
.taskCheckbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Text */
.taskTitle {
    font-size: 16px;
}

.taskTitle.completed {
    text-decoration: line-through;
    color: #777;
}

/* Actions */
.taskActions button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: #ddd;
}

.taskActions button:hover {
    color: #1e90ff;
}
.task-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e1e1e;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-card.dragging {
    opacity: 0.6;
}

.taskText {
    flex: 1;
    margin-left: 10px;
}

.taskTitle {
    font-size: 16px;
}

.taskActions button {
    background: none;
    border: none;
    color: #e0e0e0;
    margin-left: 6px;
    cursor: pointer;
    font-size: 16px;
}

.taskActions button:hover {
    color: #1e90ff;
}

.dragHandle {
    cursor: grab;
    font-size: 18px;
    margin-right: 8px;
}

.floatingPlus {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 28px;
    background: #1e90ff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 100;
}

.floatingPlus:hover {
    background: #0052cc;
}
#addFloatingBtn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1e90ff;
    color: white;
    font-size: 28px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 10;
}

#addFloatingBtn:hover {
    background: #0052cc;
    transform: scale(1.1);
}