.task-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.task-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.toggle:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.toggle:disabled:hover {
    cursor: not-allowed;
    transform: scale(1);
}

.toggle.checked {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
    font-weight: bold;
}

.task-desc {
    font-size: 1rem;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    margin-left: 0.5rem;
    padding-right: 0.5rem;
}

.task-desc-checked {
    text-decoration: line-through;
    color: rgb(200, 200, 200);
}

.task-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.edit-btn {
    background-color: #3b82f6;
}

.edit-btn:hover {
    background-color: #2c62b8;
}

.delete-btn {
    background-color: #ef4444;
}

.delete-btn:hover {
    background-color: #b53333;
}
